Live data from Hacker News

Kod is a new Node.js scriptable code editor for OSX

kodapp.com

31–40 of 72 posts

Re: Kod is a new Node.js scriptable code editor for OSX

#31
post #19

Will it do C++? I still haven't found a good C++ editor (with class member autocomplete popups and such) - at least, nothing that compares to Visual Studio over in the Windows world.

I've heard good things about this plugin, which uses clang to do autocompletion inside vim:

http://www.vim.org/scripts/script.php?script_id=3302

Re: Kod is a new Node.js scriptable code editor for OSX

#32

This is a separate idea, but... The "Chromium-like user interface where tabs can be torn off and moved between windows" would be awesome if it were implemented directly in Mac OSX. Then applications could drop all of that code and just let the OS deal with it. Also, you'd be able to group distinct applications. I'd love to have a [Browser, Text Editor, Terminal] tab group. EDIT: Another thought... Chrome tabs don't l…

Chrome tabs are some of the best-behaving and best-looking tabs on any OS, though. See TotalFinder for a Finder mod that applies Chrome tabbing to all Finder windows. Makes D&D a snap.

http://totalfinder.binaryage.com/

Re: Kod is a new Node.js scriptable code editor for OSX

#33
post #15
post #6

Earlier quoted context omitted.

My observations: Most people in word have 1-2 documents open at once. Most people in text editors like gedit, kate, eclipse, VS have maybe 10 or 20 tabs But most emacs users have at least 80 or 90 buffers open! It's an interesting phenomena that I haven't seen elsewhere. Why is this? Are tabs too much overhead or does emacs have really good buffer management? Not a criticism, I'm slowly picking up some emacs after 2…

It's because Emacs is one of the few editors where you can actually manage 90 and more buffers -- thanks to the fact that you can refer to them by name.

Exactly. To switch to a different buffer I don't pick it from a list, I just enter its name. Actually, thanks to iswitch, I only start typing a few characters that are unique to the buffer name. It's an incredably fast way of flicking between different buffers and it scales very well to a large number of files.

Also, hippie-expand will expand to stuff contained in open buffers.

Re: Kod is a new Node.js scriptable code editor for OSX

#34
I don't quite get how node.js comes into play here. I've seen lots of blog posts about it, but never used it. It seems to be about network programming. Indeed, the node website says "Node's goal is to provide an easy way to build scalable network programs."

Would someone enlighten me what the motivation is to use it as an editor's scripting environment?

Re: Kod is a new Node.js scriptable code editor for OSX

#35
post #2

Here's what I don't get about tabs and the phrase "programmer's text editor" -- what programmer only has 8 files open at once? Looking at ibuffer, I have 92 buffers open in Emacs right now. What would that look like with tabs?

It just seems that a) you're not doing a very good job at staying focused b) your editor doesn't help you much managing all this chaos

Re: Kod is a new Node.js scriptable code editor for OSX

#36
post #26

Earlier quoted context omitted.

Why not Xcode?

The popup with the list of class members (I think XCode calls it "Code Sense") tends not to work if your code is too complicated. I know that sounds like a silly reason not to use an IDE, but I surprise myself with how much I miss it.

This appears to have been fixed in XCode 4.

Re: Kod is a new Node.js scriptable code editor for OSX

#37

I don't quite get how node.js comes into play here. I've seen lots of blog posts about it, but never used it. It seems to be about network programming. Indeed, the node website says "Node's goal is to provide an easy way to build scalable network programs." Would someone enlighten me what the motivation is to use it as an editor's scripting environment?

Node.js is a universal environment much like Python or Ruby, but runs the highly performant V8 JavaScript virtual machine. The choice of JavaScript is simple — many people know it and it's the future of scripting. Also, I'm active in the core dev of Node.js which makes it extra fun to use.

Re: Kod is a new Node.js scriptable code editor for OSX

#38

This is a separate idea, but... The "Chromium-like user interface where tabs can be torn off and moved between windows" would be awesome if it were implemented directly in Mac OSX. Then applications could drop all of that code and just let the OS deal with it. Also, you'd be able to group distinct applications. I'd love to have a [Browser, Text Editor, Terminal] tab group. EDIT: Another thought... Chrome tabs don't l…

Stack and Tile for Haiku is nice: http://www.youtube.com/watch?v=ccniJHjo_Uw KWin in KDE can also stack and tile application windows. Sadly, nothing like that exists for OS X.

Have you tried Zooom/2? http://coderage-software.com/zooom/

Re: Kod is a new Node.js scriptable code editor for OSX

#40
post #4

Looks good. But I don't really care if I can style the editor with CSS3. Concretely, why should I scrap my current code editor and start using Kod? Is it somehow targeted to Node.js devs; how is that better than Cloud9?

I don't think it's a client-side in-browser editor: "Written from scratch with modern OS X 10.6 APIs providing maximum OS integration while avoiding reinvention of the wheel." Though CSS styling and Node scripting leads me to believe it's using some v8/browser stuff.

No browser stuff and Node.js is running in an isolated process. CSS is simply the "language" in which you define the looks of the editor and has nothing to do with web browsers or html.
Post reply on HN