Atom Snippets Improvement


#1

Hi,

I’m fairly new to atom, but I’m really enjoying using it so far. There is one thing that I am missing from atom itself though, when you create a snippet I can’t seem to find a way to incorporate a popup window so that it prompts you for input, for example:

'.source.php':
  'Connect to DB':
    'prefix': 'ConnectDB'
    'body': '$hostname = ${1:prompt("Enter a DB Name")};'

Just for added lazyness so you can just enter the name of variable just like that without having to actually manually go through and change each variable to what you want.

Is there already a way to do this that I don’t know about? If not then it’s a feature I really would like to see added into atom.

Thanks in advance,

ParadAUX