Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looking for some advice.

I want to build a text editor where git history is displayed as first class files directly in the file tree. Like a page named landing.html would have landing.html.v0, landing.html.v1, landing.html.v2, etc. directly as regular files. With maybe the git commit message also in the file name for more context.

What would be the best way to make this happen? Build an app from scratch with something like Electron? Build an extension for an existing text editor like Sublime, VSCode, or Atom?



Get Emacs and Neotree[1] and start hacking. You'll learn a Lisp, and you'll have a working demo in under a week.

[1] https://github.com/jaypei/emacs-neotree


Eclipse's abstract/generic VCS interface is pretty nice to use and there's a nice virtual file system layer that makes reifying the history of a file as distinct entries pretty straight forward, but Eclipse is a taboo in the modern ecosystem of half-assedness. (Plus I admit that there's somewhat of a learning curve to the PDE.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: