palantir / palantir/palantir-java-format
[IntelliJ] Add note on Imports
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 907
- Forks
- 101
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 19
Description
What happened?
I have activated palantir java format:
This does not change the code style configured in the IDE:
When executing "optimize imports", the configured style is followed.
- I think, the plugin needs to change the code style to "Default" or - even better - to "palantir" in the IDE settings, to be really transparent, about the
importstatements
What did you want to happen?
When executing "optimize imports", the palantir-style is followed
General wishes:
- Write down in README.md about the style rules for imports. Maybe a link to the Google Java Style (https://google.github.io/styleguide/javaguide.html#s3.3-import-statements) would be enough?
- Advanced: Supply checkstyle rules to check for palantir's import rules (so that one can use the rules in the CI to check)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing README.md and the IntelliJ integration responsible for import optimization and IDE code-style settings. Clarify whether the intended scope is the plugin behavior, documentation of import rules, or checkstyle support. Done means the selected scope is implemented and verified against the stated Palantir import style; the issue has no named tests or entry points.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100