Live data from Hacker News

EditorConfig

editorconfig.org

1–10 of 40 posts

Re: EditorConfig

#2
EditorConfig is excellent. Straightforward to write a configuration file and pretty great editor support. I've only ever used the Vim plugin, but it works seamlessly such that I don't even notice.

Re: EditorConfig

#3
I've been using this for at least a couple of years and was expecting it to develop further (offer more common settings for editors) and to gain native support as, for example, the Sublime Text plugin loads the file using default tab size, then EditorConfig plugin kicks in and changes tab size to 4, let's say, which causes a full redraw and that always annoys me.

Re: EditorConfig

#4
If the IDE would just let me plug in whatever editor I like the most, that would be great.

I guess there could be conflicts with things like hotkeys, but some tweaking should get rid of such incompatibilities.

Re: EditorConfig

#6
The idea seems very cool, but I wonder if there is anything like this that could have more language specific stuff like "in JS (or Ruby, or ...) format your hashes/object literals/arrays/constants/... like so."

I like this, but the list of supported properties seems pretty short. I can see there might be some difficulties making it language-aware since the file formats are simple globs, but maybe you could say something like:

  [*.js]
  language_style = javascript
and somewhere describe that language_style in more detail.

Re: EditorConfig

#9
post #6

The idea seems very cool, but I wonder if there is anything like this that could have more language specific stuff like "in JS (or Ruby, or ...) format your hashes/object literals/arrays/constants/... like so." I like this, but the list of supported properties seems pretty short. I can see there might be some difficulties making it language-aware since the file formats are simple globs, but maybe you could say someth…

What are you looking to do with "language styles" that you can't do based on file extension?

Re: EditorConfig

#10
post #6

The idea seems very cool, but I wonder if there is anything like this that could have more language specific stuff like "in JS (or Ruby, or ...) format your hashes/object literals/arrays/constants/... like so." I like this, but the list of supported properties seems pretty short. I can see there might be some difficulties making it language-aware since the file formats are simple globs, but maybe you could say someth…

There is JSCS for Javascript: https://github.com/jscs-dev/node-jscs#options
Post reply on HN