yogamerge
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2014
10:09 PM
Saving BRS Files on PC
Hey guys,
Just jumping into the dev stuff, all was working fine until I started to make changes to the brs files and saving them down with my text editor, when I save them down it appears that they're text documents and not brs files any longer, what should I use on the pc to open, edit and save them down as brs files?
Just jumping into the dev stuff, all was working fine until I started to make changes to the brs files and saving them down with my text editor, when I save them down it appears that they're text documents and not brs files any longer, what should I use on the pc to open, edit and save them down as brs files?
4 REPLIES 4

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2014
07:20 AM
Re: Saving BRS Files on PC
"yogamerge" wrote:
Hey guys,
Just jumping into the dev stuff, all was working fine until I started to make changes to the brs files and saving them down with my text editor, when I save them down it appears that they're text documents and not brs files any longer, what should I use on the pc to open, edit and save them down as brs files?
If you're just using notepad, it automatically adds .txt file extensions by default. You can fix the files you've already worked on by turning on file extensions in Windows Explorer:
https://www.google.com/search?q=explore ... 9&ie=UTF-8 (replace windows 8 with your version of windows).
And to create new files, I recommend a programmer's text editor like EverEdit, Notepad++, Scite, or any of a large number of others:
http://en.wikipedia.org/wiki/Comparison ... g_features
You can also develop using an IDE (Integrated Development Environment). The most popular one for BrightScript is Eclipse, for which Roku provides a plugin that manages a number of developer tasks for you, as well as adds syntax highlighting and other BrightScript/Roku-specific features. Setting up and using Eclipse takes more effort at first, in order to acclimate yourself to the environment, but can really help speed things up and improve your workflow once you learn its ins-and-outs. I regularly use both Eclipse and plain text editors, and if you prefer to just work with the editor, there's nothing wrong with that :).
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2014
05:39 PM
Re: Saving BRS Files on PC
I recommend going with a lightweight editor, unless you already use Eclipse on day-to-day basis. A few tips to make life more pleasant:
- Tell the editor to use VBScript (or VB, BASIC...) highlighting for .BRS file, here is how for Notepad++ http://superuser.com/questions/151597
- Tell windows to associate the file extension with the editor, so that double-clicking opens it in it.
- Whip yourself a batch file to do a zip&deploy in one-shot (you can use makefile for that too)
greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2014
08:43 AM
Re: Saving BRS Files on PC
I use DEV C++ -> http://www.bloodshed.net/dev/devcpp.html
It's a great c/c++ project manager BUT it also works great as an editor for BRS and is free !
It's a great c/c++ project manager BUT it also works great as an editor for BRS and is free !
yogamerge
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2014
08:50 PM
Re: Saving BRS Files on PC
Thanks guys, got it all figured out!!