A full set of Release Notes about the latest features is available here. Here are some of the highlights:
Scripted can now be installed simply using the Node Package Manager (npm) on either Windows, Linux or Mac:
npm install -g scripted
(might need a 'sudo' prefix on mac/linux). Once installed the 'scr' command can immediately be used to launch Scripted. As part of getting things into shape for npm installation the launch scripts have had a bit of an overhaul, particularly on Windows. Installing with npm is a very easy way to try out scripted.
Scripted is all about speed and getting around your code quickly. To this end Scripted is heavily using keyboard shortcuts, but obviously not everyone will agree on what those shortcuts should be! In this version the Scripted key bindings are now fully configurable. In the help panel (Open with F1) click the key binding for any action to change it. Customized key bindings are kept in a file in the users home directory.
Navigation and content assist
With an even better understanding of the code structure, navigation is even smoother and content assist is improved. It is now possible to navigate via pressing either Cmd (on a mac) or Ctrl (on Windows/Linux) and clicking an identifier or module reference. This will take you to the declaration of that element or module definition.
To complete the navigation story, the history support in Scripted has been made smarter and now includes information about the current selection, scroll positions and any file open in the side panel – this ensures that when moving through history using the browser back/forward the state/layout of the editor is better preserved.
Previously JSLint was the linter of choice but Scripted has now switched to JSHint due to popular demand. The configuration options are similar and it also understands JSLint style code comments, so there is no need to immediately update any existing JSLint config comments in JS code. For more information on configuration and options see the Scripted release notes and JSHint documentation. Scripted will also notice any provided .jshintrc file and pickup linter configuration from there.
That is just a few of the highlights. For more detailed information on these features, and to read about many more enhancements, see the release notes.
In the next version the some of the feature areas being looked at are:
- extensibility. Plugin your own linter (or some other metric) computation tool.
- exploiting the side panel. It isn't just for hosting that second editor…
- editor theming. Just like keybindings are a personal thing, so are colors. When Scripted moves to a more recent version of the Orion editor, it'll pickup some support for a more configurable editor.
- debugger integration.
Join the scripted-dev google group to discuss Scripted.
- Scripted 0.4 released
- Simple templates for the Scripted Editor
- Dependency analysis in Scripted
- dm Server 2.0.0.M6