This is a fork of Better TypeScript but adopted to work with N4JS. Most credit goes to lvarton and the developers of sublime-better-coffeescript.
If you have Sublime Package Control, you know what to do. If not, you can read about it here. An installation guide can be found here.
- Open the Command Pallete (
ctrl+shift+P
orcmd+shift+P
). - Type "Add" and select "Add Repository".
- Paste the repository URL https://github.com/bsmith-n4/N4JS-Sublime-3 into the form at the bottom of the window.
- Open the Command Palette, type "Install" and select "Package Control: Install Package".
- Type "n4js" and select "n4js-sublime-3" from list.
- Use
TAB
to run a snippet after typing the trigger. - Use
TAB
andshift+TAB
to cycle forward/backward through fields. - Use
ESC
to exit snippet mode.
Go to Preferences > Package Settings > Better N4JS > Settings - User
to change settings.
See Preferences > Package Settings > Better N4JS > Settings - Default
to see all available settings.