editorconfig-vscode icon indicating copy to clipboard operation
editorconfig-vscode copied to clipboard

Support IntelliJ-Specific (ij_) properties

Open LuisTovar0 opened this issue 10 months ago • 1 comments

When exporting code-style configurations from JetBrains IDEs to an .editorconfig file, the resulting file will include IntelliJ-specific properties prefixed with ij_. These properties extend the standard EditorConfig specification to support IntelliJ’s advanced formatting features. However, the current EditorConfig extension for VS Code ignores these properties, as they are not part of the core EditorConfig spec.

For users working in mixed environments (e.g., WebStorm and VS Code), this lack of support creates inconsistencies in code formatting and behavior. Supporting these ij_ properties would improve compatibility with IntelliJ-generated .editorconfig files and enhance the experience for teams using different tools.

Here’s an excerpt from an IntelliJ-exported .editorconfig file:

[*]
indent_size = 4
indent_style = space
ij_continuation_indent_size = 8
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
ij_formatter_tags_enabled = true

In VS Code with the EditorConfig extension, the standard properties (indent_size, indent_style) are applied, but the ij_ properties are ignored.

I understand this may require mapping IntelliJ concepts to VS Code’s formatting engine, and not all ij_ properties may be feasible. Even partial support for commonly used options would be a valuable improvement.

Thanks for considering this enhancement!

LuisTovar0 avatar Mar 28 '25 17:03 LuisTovar0

This is a must-have! If the spec itself doesn't get updates to include more fine-tuned formatting rules, I hope the plugins will help accommodate to fill gaps.

jlt-jacksondawson avatar Aug 25 '25 15:08 jlt-jacksondawson