I’m trying to get some success with this: https://github.com/rokudev/atomio-package It is described here : https://devtools.web.roku.com/roku-advanced-layout-editor/
It’s the official atom package - it promises to be really good. However ,there’s a few things stopping me from using it, or hacking it to improve it:
- It doesn’t navigate - I mean, it’s totally dumb if I have a method definition in the same file, even, it simply won’t let me jump to it. I’ve tried installing ctags, and everything - no joy.
- despite what the description shows on https://devtools.web.roku.com/roku-advanced-layout-editor/ - it doesn’t seem to have deploy/edit behaviour
I presume some of you are using this. What am I doing wrong?
I don’t use this plugin, although from looking at the source code, the deploy functionality seems rather primitive (only supports one device, does not auto-discover Rokus on the local network). If you want deploy functionality with Atom you can use the roku-develop package.
Thanks for the info buty point was specifically around navigation. I can type a word in 1.5 seconds but finding the line of a file where a function is implemented is way more tedious. Navigation for me is of utmost importance.
I’ll try additional onto the atom plugin if I get time. But I’ve pretty much got all I need with my eclipse plugin enhancements for now so it’s not much of a draw for me.
Is this different than a global search of a folder that most editors provide? (sublime with ctrl+ shift + f)
Absolutely - I want to be able to be on a keyword, and press a button and go straight to the implementation
For example, with the hacks I made to the eclipse plugin I can with one hotkey/mouseclick
Go to function definitio
go to field definition
go straight to onclick handler
go to tag that declares id=“mytag”
go to the source file of an xml tag
go to the source file of a node
some others I don’t remember now. It makes it trivial to constantly peer inside code. I’ve been coding for 34 years or, so, and for me, at least, I know 100% the difference in productivity one get’s from instant code-navigaiton vs having to constantly play keyboard/mouse tennis to jump around the place. Horses for courses, etc; but without these features, it’s simply not worth it - I can remember the APIS and type the words very quickly - there’s no competition between one key code navigation and default IDE lookup functions, and the latter has a set minimum speed/mental cost, which can never be reduced.