diff --git a/.travis.yml b/.travis.yml index 8d133f76b..89d2959b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,17 @@ jdk: cache: directories: - $HOME/.m2 -before_install: -- echo $signing_secret_key | base64 --decode | gpg --import -- echo $signing_ownertrust | base64 --decode | gpg --import-ownertrust -install: echo "Skipping pre-fetch of maven dependencies" -script: cp .ci.settings.xml $HOME/.m2/settings.xml && mvn --no-transfer-progress -Prelease-commons,sonatype-oss-release clean deploy site site:stage scm-publish:publish-scm -after_success: mvn -Ptravis coveralls:report && mvn --no-transfer-progress -Prelease-commons,github deploy +jobs: + include: + - name: setup + script: + - echo $signing_secret_key | base64 --decode | gpg --import + - echo $signing_ownertrust | base64 --decode | gpg --import-ownertrust + - cp .ci.settings.xml $HOME/.m2/settings.xml + - name: build + script: mvn --no-transfer-progress -Prelease-commons,sonatype-oss-release clean package site + - name: deploy + if: branch = master + script: + - mvn --no-transfer-progress -Prelease-commons,sonatype-oss-release deploy site site:stage scm-publish:publish-scm + - mvn -Ptravis coveralls:report && mvn --no-transfer-progress -Prelease-commons,github deploy diff --git a/src/main/resources/de/funfried/netbeans/plugins/external/formatter/Bundle.properties b/src/main/resources/de/funfried/netbeans/plugins/external/formatter/Bundle.properties index d613fcdd6..f7abe3fa0 100644 --- a/src/main/resources/de/funfried/netbeans/plugins/external/formatter/Bundle.properties +++ b/src/main/resources/de/funfried/netbeans/plugins/external/formatter/Bundle.properties @@ -18,8 +18,8 @@ OpenIDE-Module-Long-Description=\
Just open the preferences dialog in NetBeans after the installation and go to Options -> - Java -> External Formatter and setup the formatter as you like. + Editor -> External Formatter, select the programming language you want to change + the formatter for and setup the formatter as you like.
- You can also setup the formatter individually per project, just right click on the project and click - on Properties, navigate to Project properties -> Formatting -> - External Formatting. Make it a tick in Override global settings + You can also setup the formatters per programming language individually per project, just right + click on the project and click on Properties, navigate to Project properties -> + Formatting -> External Formatting. Make it a tick in Override global settings.
If you want to automatically format on saving your files, go to Options -> - Editor -> On Save and either select All Languages or Java and choose - either All Lines or Modified Lines Only. + Editor -> On Save and either select All Languages or the programming + language you want to enable the formatting when saving a file and choose either All Lines + or Modified Lines Only.
- If you select Java in the Languages dropdown, make sure to untick the - Use All Languages Settings. + If you select a specfic programming language in the Languages dropdown, make sure to untick + the Use All Languages Settings for that programming language.