The Java code completion I’m working on has hit a new milestone. Code completion for fields and local variables is starting to work:
Archive for December, 2009
It’s been a very long time coming, but RText 1.0 has finally been released! Since it’s been production quality for awhile now (I’ve used it at work, across multiple OS’s, for years now), I decided to give it the credit it deserves.
Cool stuff in the 1.0 release include:
- Cleaned up the main window – removed some unnecessary borders around components (Swing is bad at that sort of thing), and modernized the appearance of “dockable windows” (the windows the plugins live in).
- Updated to the latest RSyntaxTextArea release. This brings highlighting support for Scala, Delphi and BBCode, auto-insertion of closing curly braces in C-style languages, auto-completion of closing tags in XML, and a default color scheme that’s easier on the eyes for markup languages.
- A spell checker was added. It uses Jazzy and supports American and British English out-of-the-box. Spelling errors are squiggle-underlined, and a focusable tool tip allows the user to correct the spelling error, add the word to a user dictionary, or ignore the word (just like in Eclipse). I’m particularly proud of this new feature.
- An optional “Tasks” window displays all instances of “TODO” and “FIXME” in your code comments for all opened files, like in Eclipse.
- The file chooser now lets you open files in the system default viewer or editor via RMB -> Open In… -> System Viewer/Editor. This feature requires Java 6.
- Improved the “Split Window” view. While the default is the Tabbed View, “Split Window” is probably the second-most popular view in RText. The file list is now a real “dockable window” so it integrates into the rest of the UI like it’s supposed to now. It also now has a context menu for the files in it (save, close, file properties, etc.).
- Big code reorganization that doesn’t really show in the application itself, but hopefully makes the source a little better organized.
There’s plenty to do for 1.1, not the least of which is to bring some of the localizations back up to date (they really fell behind with this release). I also plan to add “External Tool” support – assign a keyboard shortcut to your favorite application!
Give it a try and see what you think! Feedback, criticism, and everything else is welcome in the forums.
Both RSyntaxTextArea and SpellChecker 1.4.0 were just released on SourceForge! Go grab them and try them out! A lot of new features and bug fixes have gone into the library with this release. Spell checking alone has been an oft-requested feature, but there’s lots more than that:
- “FocusableTips” were added, which are tool tips that become focusable when the
user clicks on them or presses F2, like the tool tips in Eclipse. These
are the default tool tips for RSyntaxTextArea, and can be used by parsers
(such as the spell checker) for user-friendly assistance.
- Added an “Error Strip” component, designed to sit on the right-hand side of an RSyntaxTextArea. Also seen in Eclipse and NetBeans, this component is capable of displaying colored markers for various stuff in the editor – parser errors, marked occurrences of the currently selected identifier, etc.
- Delphi, Scala and BBCode syntax highlighting were added.
- RSTA will now automatically insert a closing curly brace when appropriate for C, C++, C#, Java and Perl. This behavior is toggle-able in the API if you don’t like or want it.
- RSTA will also now automatically complete closing XML tags when “</” is typed (again, you can turn this off if you don’t want it, but it’s really nice!).
- Various bug fixes and improvements.
- The spell checker library is now officially released. It’s version is “1.4.0″ to indicate that it should only be used with RSyntaxTextArea 1.4.0, not earlier releases. It comes with a simple demo app showing how easy it is to use it with RSTA.
- RSTA comes with a “Task Parser” as well. It scans source code for the tokens “TODO” and “FIXME” in comments. Applications can use this parser to provide the user with a list of “tasks” they’ve reminded themselves of in code.
Now that the release is done, I plan on updating the RSyntaxTextArea site with documentation on how to use these cool new features.
Also coming up shortly, a new RText version should be released that will take full advantage of all of these new features!