5 ms·
Anyone who thinks this is cool should check out Sublime Text 2. It has all these features and much more (json config files? oh yes). Also, it's cross-platform;
by simplify 15y ago
Anyone who thinks this is cool should check out Sublime Text 2. It has all these features and much more (json config files? oh yes).
Also, it's cross-platform; learn once, use everywhere.
- desireco42 15y agoAgreed
- lovskogen 15y agoDo you often switch from linux to windows for your coding environment?
- simplify 15y agoI personally don't, but I know some programmers who often do.
- michaelcampbell 15y agoI do. Our official deploy environment is RedHat, but our official development environment is Windows. I use a linux distro in a VM to do most of my dev, but since a lot of guys use Windows I have to make sure that scripts and such work in both. The actual coding I don't switch as often, but there is some. I use emacs for most of it.
- jasonlotito 15y agoMore often than you realize. I switched from Windows to Mac at home last year, and being able to take my editor with me was critical. I also had Windows/Linux machines prior to that (and now, of course, OSX and Linux).
- bentlegen 15y ago> json config files? oh yes I find JSON makes for awful config files. For the sole reason that they can't be commented.
- Klonoar 15y agoThis, a thousand times this.
- sparky 15y agoSublime Text 2's config files have JSON-like syntax, but allow C (/* */) and C++ (//) style comments.
- deleted 15y ago[deleted]
- alanh 15y agoUnless the program forbids you from adding extra keys, which I do not expect to be the case, you could add dummy keys like { actual_config_item: "Some value", comment_on_above: "Explanation / pseudo-comment" }
- alextgordon 15y agoI actually made a language, especially for Chocolat's configuration files. It's a stripped down form of s-exprs, with string literals designed to avoid escape characters. https://github.com/fileability/self-ml https://github.com/fileability/self-ml
- subsection1h 15y agolearn once, use everywhere. ...until the company stops providing sufficient support. Though, this may not be a big problem for some users. Maybe people who use closed source text editors don't extend their editors to the extent that Emacs users do, and thus, the time they spending using their text editor is not viewed as an investment.
- Derbasti 15y agoThe cross platform thing is huge for me. If I am investing a lot of time in some text editor, I want to be able to migrate that skill set to wherever I go. In that regard, nothing beats Vim. There are Vim keybindings for every major IDE. I mean, hell, there are Vim keybindings for Emacs, right? But still, even if I can't integrate my favorite keybindings into some IDE or other, I at least want to be able to use the text editor of my choice on the platform of my employers choice. Sublime does that. JEdit does that. Emacs and Vim do that, too (they even support non-graphical modes). One could argue that E/Textmate sorta does (No Linux though). BBedit, Notepad++, Chocolat, WinEdt, SubEthaEdit and Kod do not. For me, this is probably the first major decision point for text editors. Sorry, Chocolat, I'm sure many people will love you, but chances are, I might get stranded on some strange OS and then I will only be lovesick.
- drivingmenuts 15y agoPersonally, I'd prefer a Preferences GUI, rather than JSON files. If you're going to release on a platform, follow that platform's conventions. I suspect laziness on the part of the developer in regards to a Preferences GUI, rather than any attempt at a new paradigm.
- simplify 15y agoActually I really like the fact that they're JSON files. It makes it very easy to copy/paste preferences between different machines.
- drivingmenuts 15y agoOK, that's a valid point - however, copying and pasting from the Library/Application Support folder is just as easy (except maybe finding it). Where I have a problem is that it violates the expectations of the platform. It's a Mac application - it has a Preferences GUI. This is not a problem with things like Apache, which, as a service, doesn't even have a front-end; I don't expect it there.