Skip to content

Commit 6e5f574

Browse files
authored
Added fix for wrong formatting
1 parent 7f52c5b commit 6e5f574

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

documentation/guide_dev_troubleshooting.asciidoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,14 @@ But on the local system the build and test process works fine.
9595
9696
==== Solution
9797
If you add an Eclipse test project, make sure that you git force add the .project file too. Otherwise the `importExistingGeneralProject` method will fail.
98+
99+
== I get ongoingly wrong intendation (4 whitespaces instead of 2) by the eclipse formatter on editor save
100+
101+
The issue might be, that due to eclipse upgrades or accidential changes on the formatter configuration, you might have project specific formatter settings enabled without your knowledge or even just have an old version of eclipse nobody is compliant anymore with.
102+
To clean up your installation as well as making sure, that you don't have any project specific jdt configuration, please follow the following steps:
103+
104+
1. Close all devonfw applications
105+
2. Open a git bash in the devonfw workspace of your cobigen projects
106+
3. Run `devon ide update all` to get in sync with the latest settings and setup. This may take some time. Please read the messages carefully. You might need to run this command again in case the scripts get updated.
107+
4. Navigate to your workspace root, e.g. `workspaces/main` and run `rm */.settings/org.eclipse.jdt.core.prefs` to get rid of all project specific settings.
108+
5. Open eclipse and validate the fix.

0 commit comments

Comments
 (0)