The Nitrous.IO Web IDE is a powerful, one stop shop for (almost) all of your development needs.
Like most IDEs, the file browser sits at the left-hand side of the window. You’ll see the box-name at the top of the file browser, followed by a directory tree of your application.
Directories will have a small > arrow icon and can be clicked to be expanded.
Right-clicking any directory will allow you to “refresh” the directory to get any new files you might have added as well as make that directory the “root” directory to help clean up viewing of your files.
At the bottom of the file browser, you can also toggle to show or hide hidden files (e.g. .gitignore, .rvm, .nvm … )
To open a file, simply click the file name in the file-browser, or click the “+” icon at the top of the file editor.
Once you have a file open and would like to save it, simply hit:
^S # CNTRL + S
Or you can click the “Save” button at the top of the file editor if you prefer.
Change Syntax Highlighting
Our file editor should automatically detect the file extension sand highlight the syntax accordingly. However, if you need to set the syntax highlighting manually, simply select from the dropdown at the top of the file browser.
We recommend using “soft tabs” for tab-indentation, which is 2 spaces. However if you’d like to change this number, simply select a different indentation setting from the dropdown menu at the top of the file browser. If you want to know why, you can read about why tabs are evil.
To upload a file, simply click the “Upload Files” button at the bottom of the file browser or right-click the folder where you’d like to upload files:
The Nitrous.IO Web IDE also provides a full shell at the bottom of the screen. This allows you to handle your command line tasks with your code editing all in one place.
New Console Window
To open new console windows, simply click the “+” icon. You can open pretty much an infinite amount of console windows…if you need that many. To close the window, just click the “X” in the console’s tab.
Full Screen the Console
If you want to just code in your browser using the web console (good for iPad coding), just click the “expand” icon at the right of the console header.
We supply some sensible default ports to enable you to preview your work in the browser. Simply click the “Preview” menu at the top of the IDE and select the port where your web server is running. For ruby on rails, this is usually Port 3000.