mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-03-02 00:16:47 +01:00
# Description of Changes Please provide a summary of the changes, including: - What was changed Migrate generic VS Code settings to [EditorConfig](https://editorconfig.org/) so that other editors/IDEs that support EditorConfig can benefit from it. Removed opinionated VS Code settings regarding IDE configuration (e.g., auto-save) to allow developers to use the interface they prefer. --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [x] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [x] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --------- Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
84 lines
2.7 KiB
JSON
84 lines
2.7 KiB
JSON
{
|
|
"editor.wordSegmenterLocales": "",
|
|
"editor.guides.bracketPairs": "active",
|
|
"editor.guides.bracketPairsHorizontal": "active",
|
|
"cSpell.enabled": false,
|
|
"[java]": {
|
|
"editor.defaultFormatter": "josevseb.google-java-format-for-vs-code"
|
|
},
|
|
"java.compile.nullAnalysis.mode": "automatic",
|
|
"java.configuration.updateBuildConfiguration": "interactive",
|
|
"java.format.enabled": true,
|
|
"java.format.settings.profile": "GoogleStyle",
|
|
"java.format.settings.google.version": "1.25.2",
|
|
"java.format.settings.google.mode": "jar-file",
|
|
"java.format.settings.google.extra": "--aosp --skip-sorting-imports --skip-javadoc-formatting",
|
|
// (DE) Aktiviert Kommentare im Java-Format.
|
|
// (EN) Enables comments in Java formatting.
|
|
// "java.format.comments.enabled": true,
|
|
// (DE) Generiert automatisch Kommentare im Code.
|
|
// (EN) Automatically generates comments in code.
|
|
// "java.codeGeneration.generateComments": true,
|
|
// https://github.com/redhat-developer/vscode-java/blob/master/document/_java.learnMoreAboutCleanUps.md#java-clean-ups
|
|
"java.saveActions.cleanup": true,
|
|
"java.cleanup.actions": [
|
|
"invertEquals", // Inverts calls to Object.equals(Object) and String.equalsIgnoreCase(String) to avoid useless null pointer exception.
|
|
"instanceofPatternMatch" // Replaces instanceof checks with pattern matching.
|
|
],
|
|
// (DE) Aktiviert die Code-Vervollständigung für Java.
|
|
// (EN) Enables code completion for Java.
|
|
"java.completion.engine": "dom",
|
|
"java.completion.enabled": true,
|
|
"java.completion.importOrder": [
|
|
"java",
|
|
"javax",
|
|
"org",
|
|
"com",
|
|
"net",
|
|
"io",
|
|
"jakarta",
|
|
"lombok",
|
|
"me",
|
|
"stirling",
|
|
],
|
|
"java.project.resourceFilters": [
|
|
".devcontainer/",
|
|
".git/",
|
|
".github/",
|
|
".gradle/",
|
|
".venv/",
|
|
".venv*/",
|
|
".vscode/",
|
|
"bin/",
|
|
"build/",
|
|
"configs/",
|
|
"customFiles/",
|
|
"docs/",
|
|
"exampleYmlFiles",
|
|
"gradle/",
|
|
"images/",
|
|
"logs/",
|
|
"pipeline/",
|
|
"scripts/",
|
|
"testings/",
|
|
".git-blame-ignore-revs",
|
|
".gitattributes",
|
|
".gitignore",
|
|
".pre-commit-config.yaml",
|
|
],
|
|
// Enables signature help in Java.
|
|
"java.signatureHelp.enabled": true,
|
|
// Enables detailed signature help descriptions.
|
|
"java.signatureHelp.description.enabled": true,
|
|
// Downloads sources for Maven dependencies.
|
|
"java.maven.downloadSources": true,
|
|
// Enables Gradle project import.
|
|
"java.import.gradle.enabled": true,
|
|
// Downloads sources for Eclipse projects.
|
|
"java.eclipse.downloadSources": true,
|
|
// Enables import of the Gradle wrapper.
|
|
"java.import.gradle.wrapper.enabled": true,
|
|
"spring.initializr.defaultLanguage": "Java",
|
|
"spring.initializr.defaultGroupId": "stirling.software.SPDF",
|
|
"spring.initializr.defaultArtifactId": "SPDF",
|
|
} |