redhat-developer / redhat-developer/lsp4ij

In intellij, commit format can't be filtered by file type

Open
#1,647 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
344
Forks
113
Avg merge
5h 22m
Merged PRs (30d)
15

Description

I reported this problem to Intellij team a few weeks ago.
Basically, when I commit and the IDE format the files, it format .properties files even if they are excluded.
Investigating the case, I realized that the problem is only when Quarkus Tools/LSP4IJ plugins are active. The reason looks like is caused because these plugins change the file type or similar.
https://intellij-support.jetbrains.com/hc/en-us/requests/9071054#request_comment_38385256204178
They suggested that I report the incident here.
Please, let me know if you need any additional information about the problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the commit-formatting case with an excluded .properties file while Quarkus Tools and LSP4IJ are active, using the linked IntelliJ support report for context. Trace how the plugins affect file-type handling during commit formatting. Done means excluded files are not formatted when those plugins are enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.