An extensible text editor for the 21st Century.
- desktop application based on web technologies, same as Atom.
- simple and clean source code. (LOC < 1000).
- based on experience. The author of NewEditor is also the author of [slim text] (http://slimtext.org/).
- built with extensibility in mind. In the long run, users will be able to extend the editor via DSL.
- cross-platform: Windows, Linux/X11, Mac OS X.
Currently there is no binary distribution package available.
You'd have to compile the source code yourself. Here are the steps:
- Download and Install Qt + Qt Creator
- sudo apt-get install libxslt1-dev libgstreamer-plugins-base0.10-dev libx11-dev libglu1-mesa-dev
- Open Qt Creator
- Open this project
- Ctrl + R to run
edit /etc/environment
, add:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
Relogin or reboot.
- create installer for Ubuntu
- just create deb file. allow users to apt-get install neo-editor
- show minimap
- QWebView take screenshot of the whole web page.
- remove scroll bar because it's not needed
- change app title text -- necessary, user don't need to check tooltip for whole file path
- if file opened, show file path
- if folder opened, show folder path
- show "an extensible editor for the 21st Century"
- fork ACE and write code there
- ensure_newline_at_eof
- Or I can create a repo and write extension for ACE
- a faster way to add new features to ACE
- there are examples about how to write ACE extensions
- maybe this is the key that how can I make the editor extensible
- yes, write ext in org NeoEditor on Github
- this is about the extensibility, a very big topic. think about it carefully
- detect file change and reload file 2. check file exists or not, check file content modified or not. 3. this is important. my work got overwrited which sucks
- integrate terminal
- this is great while it's very hard
- https://github.com/skavanagh/KeyBox
- switch tabs, change file highlight in left file tree.
- auto select newly created file / folder
- drag & drop 2. to move file 3. to move folder
- add "vim mode", a toolbar button on the left with states
- show invisible files, otherwise cannot edit .gitignore .bashrc...etc
- bug: presessing ESC inserts new character
- handle binary files
- hide all binary files ? the editor cannot handle binary files anyway.
- hexadecimal editor?
- auto complete, according to text in the same file. better than none.
- tab key to trigger? not a good idea, because there are conflicts
- use context menu to show candidates
- toolbar icon for word wrap
- add "open with NeoEditor" context menu to os 1. first need to be able to open a file 2. and create installer for OS
- refactor code about how to choose language icon. select icon according to editor language mode. and configure icons in js file. 1. js code call cplusplus code to set language icon
- refactoring: make
parent
as small as possible - refresh treeView after adding new folder or file 1. because not sorted
- use Atom's theme and icons 1. don't forget the OpenAtom idea
- close folder tab, auto focus remaining tab, disable this behavior 1. confirmed this issue. very annoying.
- remember current line of active editor before exit
- tabbar::tab:first{padding: {gutter_width}px;} 1. gutter width is dynamic, so this needs to be dynamtic too
- left browser tree is too dim and dark 1. try some bright colors instead
- when dragging, there is a white line 1. default QTabBar doesn't have this issue
- improve ctrl + p feature
- tbc