Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
georgejecook
Streaming Star

official atom plugin from roku

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:

1. 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.
2. 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?
George Cook
https://georgejecook.github.io/
https://linkedin.com/in/georgejecook/
Roku developers slack group (https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA) : georgejecook

Contact me on roku developer slack group, or via pm to discuss consultancy/work opportunities/rooibos unit testing framework
0 Kudos
5 REPLIES 5
belltown
Roku Guru

Re: official atom plugin from roku

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.
0 Kudos
norcaljohnny
Roku Guru

Re: official atom plugin from roku

"georgejecook" wrote:
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:

1. 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.
2. 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 use Atom IO and out of curiosity I just tried to run that RALE app and it doesn't even load, it just crashes, at least on High Sierra. 
Now as to your question... if you open Atom and under the Atom contextual menu, select preferences which opens the settings. You will see packages in the new window, select it and do a search for ROKU. You will see a Roku Deploy and also a Roku Develop as results, install both. Once installed under Atom Packages contextual menu you will see both apps and if you look under the Tree View and select Focus and/or Toggle you will see all the predefined codes show up as you type. You need to also make sure under the settings, after installing the Roku deploy, that you enter your developers login info for the Roku you are side loading the app to. To deploy it, simply right click on any of your non image files in your app and under Roku-deploy you will see the option to deploy it to selected device or devices.
0 Kudos
georgejecook
Streaming Star

Re: official atom plugin from roku

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.
George Cook
https://georgejecook.github.io/
https://linkedin.com/in/georgejecook/
Roku developers slack group (https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA) : georgejecook

Contact me on roku developer slack group, or via pm to discuss consultancy/work opportunities/rooibos unit testing framework
0 Kudos
joetesta
Roku Guru

Re: official atom plugin from roku

Is this different than a global search of a folder that most editors provide? (sublime with ctrl+ shift + f)
aspiring
0 Kudos
georgejecook
Streaming Star

Re: official atom plugin from roku

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.
George Cook
https://georgejecook.github.io/
https://linkedin.com/in/georgejecook/
Roku developers slack group (https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA) : georgejecook

Contact me on roku developer slack group, or via pm to discuss consultancy/work opportunities/rooibos unit testing framework
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.