Jed

Results 153 comments of Jed

@hakre in that case, it seems to me if it's not going to actually change your code then it's not a text width, but a column guide? In which case,...

@hakre because of the name, `line_width`. It's ambiguous. It sounds like it could be enforcing your line width; whereas, if it's a guide, `column_guides=80,120` would leave no confusion.

@hakre And the reason I ask if it belongs in EditorConfig is because I see EditorConfig as more of an enforcer of project and file settings than a guide. I'm...

@treyhunner This is where I _really_ start seeing the need for a .user.editorconfig file that overrides the .editorconfig file or something that can somehow override it. I just think it's...

Yep. I think this comes down to the name `insert_final_newline`, which is an action of inserting a line, not removing 1 or more lines from the end of a document....

@xuhdev, I like that suggestion the best; though, a new rule value like this will most definitely take a while for all the plugins to implement. Just sayin'.

@xuhdev do we need a vote for `insert_final_newline = single`? I'm a bit concerned about it not being backwards compatible. If people start using `single` before it's implemented then it...

I agree. This would be most backwards compatible; however, I'm not 100% on the name. I'm with @fritx on naming it `trim_final_newlines`. This would be better, as `trim_extra_final_lines` doesn't say...

EditorConfig doesn't deal with language-specific settings. You might want to look for a Java-specific tool to achieve your goal.

@b-long , the @editorconfig group [did weigh in](https://github.com/editorconfig/editorconfig/issues/231#issuecomment-139810471).