I stumbled across this package: https://atom.io/packages/atom-smart-template
What it does: Generate files from templates.
So far I forked the repo and changed some stuff like creating multiple files at once. Now the last perk to upgrade it would be to “tabstop” through the inputs like on any other form.
'tab': 'atom-smart-template:next-tabindex' to the
@on 'atom-smart-template:next-tabindex', => console.log(@panel)
The trigger on the tab-key works but I just don’t get how to set the next input active on tabstop hit. I tried to add tabindexes to the
TextEditorView() / the parent of the
TextEditorView() but with no luck.
So far I did not found something like
setFocusedView() in the docs.
Thanks in advance!