What are "mixed line endings"?
"belltown" wrote:[/spoiler:2osuxz7a]"EnTerr" wrote:
@belltown, i have a question - of all things, why Atom?
Considering there is a better, smaller, faster IDE and its name is VSC (Visual Studio Code).
Why? Mostly for historical reasons. I'd been using Visual Studio for most of my development, as well as Notepad++ for some BrightScript coding. I was looking for a cross-platform editor when I was thinking about playing around with Linux. About that time, I discovered VS Code, and tried out one of their first preview releases. I wasn't very impressed. Some functionality I was looking for just wasn't there yet, and it didn't offer much in the way of extensibility -- although it does now. Shortly after, I gave up on VS Code, and my Linux forays.
More recently, after upgrading to Windows 10, and encountering numerous hassles with it that impeded my ability to get work done, I decided to give up on Windows development entirely in favor of Linux, except when absolutely necessary. So I needed another editor. I'd never revisited VS Code after my initial experiences; however, I'd been hearing a lot about Atom. Atom seemed to offer what I needed in an editor and was highly customizable. There were already other Roku developers using it who seemed happy with it. The issues that others have complained about (executable size, memory consumption, load times, etc) have not been a factor at all for me.
It seems that VS Code has come a long way since the early preview release I tried out. If I were looking at starting with VS Code or Atom today, I could easily see myself seriously considering VS Code. I may even go back to trying it when i get some free time and see if it offers anything I need that I can't get from Atom.
<component name = "PanelExample" extends = "Panel" initialFocus="exampleVideo">
<field id = "description" type = "string" onChange = "showdescription" />
<script type = "text/brightscript" >
m.top.panelSize = "full"
m.top.focusable = true
m.top.hasNextPanel = true
m.top.isFullScreen = false
videocontent = createObject("RoSGNode", "ContentNode")
videocontent.title = "Example Video"
videocontent.streamformat = "mp4"
'videocontent.url = "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/f8de8daf2ba34aeb90edc55b2d380c3f/b228eeaba0f248c48e01e158f99cd96e/rr_123_segment_1_072715.mp4"
videocontent.url = m.top.description
m.video = m.top.findNode("exampleVideo")
m.video.content = videocontent
m.video.control = "play"
m.video.loop = true
id = "infoRectangle"
translation = "[ 0, 10 ]"
height = "460"
width = "1020"
color = "0x101010C0">
<Video id = "exampleVideo" height = "560"
width = "1020"/>