How to modify an existing snippet?


How to modify some of the built-in snippets on ATOM. Like html “form” snippet, i like to remove form_id property from it.


okay, i found it! it goes under this path ‘/opt/atom/resources/app/node_modules/language-html/snippets’.


Modifying that file will likely get overwritten when the language-html package gets updated. If you want to set a snippet for yourself, just modify your snippets.cson file. Find “Open your Snippets” in the Command Palette to open the file or open ~/.atom/snippets.cson.

Use a custom snippet over a builtin one?

Thank you, this was helpful.


Closing this topic in favor of this more detailed one:

closed #6