Snippets that use env variables or local variables


#1

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?

Thanks


#2

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.


#3

Ok. I will do that. Thanks


#4

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