Hacker News new | ask | show | jobs
by alextgordon 4228 days ago
Off-topic response: w.r.t. code completion plugins in Chocolat, the hard part is already done. With v3, the plugin API is now process-separated, and communication is over mach ports. Now that there's a stable, non-blocking and low-latency foundation for plugins, all I need to do is figure out a good API for it.

My advice to aspiring text editor authors would be: do development on the slowest most outdated computer you can find. I use a 2007 iMac: 2GHz, 3GB of RAM and a 128MB ATI Radeon 2400. If the app works OK for me, it should work awesomely for everybody else!

2 comments

That is great to hear! I bought Chocolat (a purchase mainly instigated by the hilarious "the demo expired so it still works, but only with Comic Sans font" gimmick). And I even sent friends screenshots[1] raving about its completion UI.

But... Chocolat didn't really stick for me, with the plethora of editors I already use. Even though it's good.

I would definitely revisit it, if it got extensible completion.

[1]: https://www.dropbox.com/s/r2da0rc7spgpxqq/Screenshot%202014-...

Is there an app that does have that autocomplete in the screen shot?
Yes! That is indeed a real screenshot of an editor for OS X, called Chocolat[1].

The alextgordon fellow that replied to me upthread is one of the principal people behind it.

[1]: http://chocolatapp.com

The auto complete in Chocolat is just mind-blowing.

Unfortunately I really miss all the keyboard friendly features in Sublime (CMD+P then write the name of a file; CMD+SHIFT+P and write a command). I think if you had those implemented many Sublime users may consider switching to Chocolat. (then there are also features that may be harder to implement, like Sublime's search and multi-cursor selection)

CMD-P is CMD-D

CMD-SHIFT-P is CMD-SHIFT-D

Multicursor find is CTRL-F, CTRL-SHIFT-F and CTRL-ALT-F

I guess what it really needs are a set of sublime keybindings.

Great! Seems like I missed on a lot :)

Maybe another suggestion would be executing (Python) programs in the main interface instead of executing them in the terminal.