0
votes

I am coding and there is a long string that i cant be asked to type out every time i need to. How could I set a shortcut?

example_coding.bla(bla.bla) *starts typing long string* 

Then it recognises the start of my long string so gives me the option to press tab and auto insert the rest of it?

This is using LaTeX in Atom, but would be great if it could be for any coding language.

1

1 Answers

0
votes

I know you're asking for how to create a command, but it sounds like what you really want is a snippet. Since you haven't provided any information about your use case, I can't tell you what to put in your snippets.cson, but the Flight Manual has all the necessary information.