Skip to content

Support IntelliJ-Specific (ij_) properties #433

@LuisTovar0

Description

@LuisTovar0

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions