Skip to main content

All Questions

1 vote
2 answers
907 views

Atom snippets: Multiple line snippets in atom editor

I recently switched to Atom text editor for programming from Geany text editor. I have lots of python snippets in geany. In geany writing snippets is super easy. For example: # for geany text ...
BhishanPoudel's user avatar
2 votes
0 answers
186 views

Variables for Javascript in snippets.cson does not work

I am trying to add dynamic snippet on Snippet conf file of Atom : "snippets.cson" . I relied on this thread And i make the following attempts : 1 . body:'var nowSec=${sec}'; variables: sec:'...
Abdennour TOUMI's user avatar
0 votes
1 answer
595 views

How to include more JavaScript inside Atom editor by Github?

I've been playing with snippets for Atom editor, and see that I've learned I can include JavaScript inside of a snippet, as my example shows. (It inserts a TODO Comment with date) TODO: (RAM) Fix ...
mrmccormack's user avatar
4 votes
2 answers
4k views

Atom editor: snippet for inserting a timestamp

Below is an Atom snippet I was playing with. What I want to do is insert a timestamp with a developer's name at the end. This is useful when multiple folks are working on the same codebase and you ...
Dan L's user avatar
  • 4,449