Giter VIP home page Giter VIP logo

neoeditor's Introduction

NeoEditor

An extensible text editor for the 21st Century.

NeoEditor

Screenshot

NeoEditor

Features

  • 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.

Installation

Currently there is no binary distribution package available.

You'd have to compile the source code yourself. Here are the steps:

  1. Download and Install Qt + Qt Creator
  2. sudo apt-get install libxslt1-dev libgstreamer-plugins-base0.10-dev libx11-dev libglu1-mesa-dev
  3. Open Qt Creator
  4. Open this project
  5. Ctrl + R to run

Built with

Linux IBus IME issue (中文输入问题)

edit /etc/environment, add:

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

Relogin or reboot.

Software license

GPL

Todo list

  1. create installer for Ubuntu
    1. just create deb file. allow users to apt-get install neo-editor
  2. show minimap
    1. QWebView take screenshot of the whole web page.
    2. remove scroll bar because it's not needed
  3. change app title text -- necessary, user don't need to check tooltip for whole file path
    1. if file opened, show file path
    2. if folder opened, show folder path
    3. show "an extensible editor for the 21st Century"
  4. fork ACE and write code there
    1. ensure_newline_at_eof
    2. Or I can create a repo and write extension for ACE
      1. a faster way to add new features to ACE
      2. there are examples about how to write ACE extensions
      3. maybe this is the key that how can I make the editor extensible
      4. yes, write ext in org NeoEditor on Github
    3. this is about the extensibility, a very big topic. think about it carefully
  5. 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
  6. integrate terminal
    1. this is great while it's very hard
    2. https://github.com/skavanagh/KeyBox
  7. switch tabs, change file highlight in left file tree.
    1. auto select newly created file / folder
  8. drag & drop 2. to move file 3. to move folder
  9. add "vim mode", a toolbar button on the left with states
  10. show invisible files, otherwise cannot edit .gitignore .bashrc...etc
  11. bug: presessing ESC inserts new character
  12. handle binary files
    1. hide all binary files ? the editor cannot handle binary files anyway.
    2. hexadecimal editor?
  13. auto complete, according to text in the same file. better than none.
    1. tab key to trigger? not a good idea, because there are conflicts
    2. use context menu to show candidates
  14. toolbar icon for word wrap
  15. add "open with NeoEditor" context menu to os 1. first need to be able to open a file 2. and create installer for OS
  16. 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
  17. refactoring: make parent as small as possible
  18. refresh treeView after adding new folder or file 1. because not sorted
  19. use Atom's theme and icons 1. don't forget the OpenAtom idea
  20. close folder tab, auto focus remaining tab, disable this behavior 1. confirmed this issue. very annoying.
  21. remember current line of active editor before exit
  22. tabbar::tab:first{padding: {gutter_width}px;} 1. gutter width is dynamic, so this needs to be dynamtic too
  23. left browser tree is too dim and dark 1. try some bright colors instead
  24. when dragging, there is a white line 1. default QTabBar doesn't have this issue
  25. improve ctrl + p feature
  26. tbc

neoeditor's People

Contributors

tylerlong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

wladitavar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.