Skip to content

Adjusting Intellij settings in ide-settings #52

@CREITZ25

Description

@CREITZ25

As an Intellij user, I want to use Intellij with defaults that make sense to us. To do this, the required settings should be stored in the ide-settings repository.

  • Settings - Editor - Code Style - Java - Tab "Imports":
  • Class count to use import with '*' : 999
  • Names count to use static import with '*': 999
  • Set line length to at least 160 characters (I cannot imagine that as of today any developer does not get this number of characters on his screen without the need to scroll - the restrictions limiting to 80 or later 120 characters per line come from an ancient time and the reformatting line wraps added by intellij contribute to our diff-war)
  • Ensure we get a Warning if JavaDoc is missing or incomplete for public and protected elements (Types, Fields, Constructors, Methods including parameters).
  • Activate "save actions" in Intellij (like in Eclipse to ensure the code-style is always applied and cannot be forgot on commit)
  • Eclipse reformat plugin should not be used anymore - we want to configure IntelliJ natively (otherwise you get errors if you never installed and configured Eclipse and our team is not using eclipse) See here
    https://github.com/devonfw/ide-settings/blob/d1a7dd1f1ae817b3fb659f92a8fb54eb567b3b74/intellij/plugins/EclipseCodeFormatter.properties#L2
  • Optional: FolderCompact plugin could be pre-installed too (I initially liked this plugin but it has some severe downsides - if it is installed, you do not see folders like src anymore and if you have src/main/assembly or anything not common you get unable to see this in IntelliJ. This renders the plugin useless even though it would otherwise be great. See my rating comment here)
  • Maven Builder settings need to be pre-configured
  • Encoding for resource bundle properties to UTF-8
  • more?

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions