-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjusting Intellij settings in ide-settings #52
Comments
I've added a new branch to ide-settings now: https://github.com/devonfw/ide-settings/tree/dev-ide-settings |
Just had a long confusion with @moritzLanger because assertions are failing in his JUnit test. |
I've realized that "Save Actions Tool" is deprecated. It won't work in the latest version of intellij anymore. |
It looks like some more steps are required so that our settings work properly. We also need to make sure that our IDEasy project gets cloned and imported into intellij properly. Current workflow looks like the following:
All of these steps should be run automatically. |
Another issue I've found is the initial clone of the settings when providing the dev-ide-settings git repository URL. |
I would propose to change margin/line-length to 160 as we have in Eclipse: Another example: |
Also I want to get |
The problem: may be fixed by: devonfw/ide-settings#37 |
All open tasks (except FolderCompact, since I understood the downside is quite limiting) should be solved by devonfw/ide-settings#38 |
Confirmed that line wrapping to 160 worked. Thanks @mvomiero |
@mvomiero Also Java used for maven seems correct: |
For the record: However, the JDK is still not pre-selected automatically: @ndemirca could you create a PR adding the |
@mvomiero I still do not get warnings for missing JavaDoc: |
Created a new pull request:
With these solved, the issue should be finally solved and could be closed 🚀 |
I do not understand what is going on but I have the impression that we are still far away from our goal. So it seems that our efforts in taming IntelliJ are somehow not paying off. This is really annoying.
|
Seems I am forced to temporary go back to Eclipse since I am blocked and do not want to waste my time with this crappy IntelliJ that always gets into my way. |
@hohwille I think the problem is that you are on branch |
* #52: initial dev project settings added SaveActions plugin and settings added FolderCompact (disabled) added Maven localRepository settings * added JavaDoc warning for Intellij * delete SaveActions plugin from IntelliJ as this is not supported anymore * fix/standardize versions for dev team * added save actions macro and keymap added save actions macro (adds CTRL+SHIFT+S for code reformat and optimize of imports) * #52: added missing files added codeStyleConfig (includes default project) * import options fix (#37) * #52: Intellij import options (#38) * fixes Warning JavaDoc * disables eclipse as code formatter * adds encoding utf-8 boundle properties * sets jre name for mvn builder * sets line length to 160 * Update workspace.xml (#43) This PR changes the slashes for maven settings so that it works with Linux and Mac as well. * #52: intellij import options - missing javadoc (#41) * devonfw/IDEasy#52: added JDK into intellij settings (#42) * latest is greatest for stable tools * clean-code --------- Co-authored-by: jan-vcapgemini <[email protected]> Co-authored-by: Marco Vomiero <[email protected]> Co-authored-by: aBega2000 <[email protected]> Co-authored-by: ndemirca <[email protected]>
I created and merged devonfw/ide-settings#50 to avoid such problems and confusions. |
It seems to be already configured this way: However, what we configure sometimes does not apply. We have already discussed a very long time ago that it would be much smart to do all this with a simple |
Can https://github.com/devonfw/ide-settings/blob/main/intellij/workspace/setup/.idea/saveactions_settings.xml be deleted? Seems not relevant anymore. |
Please create issue for XML merger usage of intellij XML configs and move them from |
All open points of this issue were addressed and for the current bugs new issues were created. This issue can be closed now. |
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.
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 likesrc
anymore and if you havesrc/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)The text was updated successfully, but these errors were encountered: