I seriously like text editors, and sometimes I do some development for open-source ones.
When I’m under Windows, I frequently use a light-weight text editor AkelPad that looks similar to the standard Notepad in its basic and non-configured form, while it becomes pretty much like Notepad++ when configured and enhanced with plugins.
Some time ago I created a script for AkelPad, named “GoToAnything” and inspired by Sublime Text actually. In this February, I was able to update that script with the following new features:
- while filtering, the matching parts of file names are highlighted
- Shift+F4 and Ctrl+Shift+Q toggle the auto-preview (on/off)
- F4 and Ctrl+Q preview the selected file (when the auto-preview is off)
- the file list includes [D] items which are read from a given directory
- Alt+D allows to specify a directory for the [D] items
All of that took me two weeks. And please consider the fact that I was doing it in JavaScript which is not so well-known to me as C++. Here is the proof of the development process:
Now, returning back to Sublime Text.
I realize that it’s not easy to find time to implement such a complicated feature as toggling the file preview in GoTo Anything in Sublime Text.
I hope that my example of doing the similar thing during two weeks will inspire you to not put it aside for another 7 years…