Snippets that use env variables or local variables


It would be nice if snippets could use defined environment or local variables and commonly used definitions like $filename, $filetype, $date, $path, etc…

I’m new to Atom and not sure if this capability exists. Maybe there is an add-on package that would provide this kind of functionality?



This is a duplicate of a previous topic here:

Additionally, there are a couple pull requests for implementing this kind of capability:

You may want to follow them.

We like to unify similar discussions under one topic so that people don’t have to read a bunch of different threads to get the whole story. Please continue the discussion there. I’ll be closing this topic as duplicate.


Ok. I will do that. Thanks

closed #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.