-
Notifications
You must be signed in to change notification settings - Fork 133
Description
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 = trueIn 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!