Add snippet manager for replit

Describe your feature request
Adding a snippet manager to replit will help developers improve their coding experience on replit. The snippet manager can be a global or for each repl.

What problem(s) would this feature solve?
This saves time for the user to write fast code.

Explain what you were trying to do when you came across the problem leading to this feature request
I was learning ReactJS. While creating components. They are following the same format as the below :point_down:

// Example.js
const Example = () => {
  return <h1>Example</h1>;
};

export default Example;

So, I need to copy and paste the above code to each component file. If the repl had a snippet rfc that adds the above code and places the cursor on Example to change the component name.

7 Likes

Thanks for the feature request! Totally agree. We’ll see where that fits in our roadmap.

2 Likes

It’s my pleasure. Thanks!

Do you mean custom snippets for autocomplete?

If so, I totally agree that this should be an option, and not per Repl, but for all of an account.

2 Likes

@vikasganiga05, I agree!

2 Likes

Yes, it would be great if we have both options for each repl and global snippet. Because, If I was working on a JavaScript project I need to get only snippets related to JavaScript.

@hugoondev , Thank You!

+1 user snippets based on each language would be useful

2 Likes

@Raadsel made a Replit extention for this

https://replit.com/extension/@Raadsel/33a91a8f-b3df-4337-a084-d5efdb39049d

6 Likes