I want to create custom snippets in Atom, but I want to be able to supply custom variables and it automatically uses those. For example, I want to be able to type something like nm methodName param1 param2
and it generates the code:
methodName(param1, param2) {
}
However, when reading over the documentation, I see it explain how to create a premade code snippet, but I don't see it explain how to do a snippet that would change based on what was submitted. Do any of you have any idea how to do this?