mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-03 05:10:16 +03:00
Expand and reorganize java.project.resourceFilters in .vscode/settings.json. Adds cache/build/bin/logs/storage exclusions (app/core, app/common, app/proprietary, app/saas), frontend/engine, docker and other generated/temp paths; removes duplicates and reorders entries to reduce Java indexing of generated files and improve IDE performance. --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] 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/devGuide/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### Translations (if applicable) - [ ] I ran [`scripts/counter_translation.py`](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/docs/counter_translation.md) ### 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) - [ ] I have run `task check` to verify linters, typechecks, and tests pass - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#7-testing) for more details.
204 lines
6.4 KiB
JSON
204 lines
6.4 KiB
JSON
{
|
|
"editor.wordSegmenterLocales": "",
|
|
"editor.guides.bracketPairs": "active",
|
|
"editor.guides.bracketPairsHorizontal": "active",
|
|
"editor.defaultFormatter": "EditorConfig.EditorConfig",
|
|
"cSpell.enabled": false,
|
|
"[feature]": {
|
|
"editor.defaultFormatter": "alexkrechik.cucumberautocomplete"
|
|
},
|
|
"[java]": {
|
|
"editor.defaultFormatter": "josevseb.google-java-format-for-vs-code"
|
|
},
|
|
"[jsonc]": {
|
|
"editor.defaultFormatter": "vscode.json-language-features"
|
|
},
|
|
"[css]": {
|
|
"editor.defaultFormatter": "stylelint.vscode-stylelint"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "vscode.json-language-features"
|
|
},
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
|
},
|
|
"ruff.configuration": "${workspaceFolder}/engine/pyproject.toml",
|
|
"[gradle-kotlin-dsl]": {
|
|
"editor.defaultFormatter": "vscjava.vscode-gradle"
|
|
},
|
|
"[markdown]": {
|
|
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
|
|
},
|
|
"[gradle-build]": {
|
|
"editor.defaultFormatter": "vscjava.vscode-gradle"
|
|
},
|
|
"[gradle]": {
|
|
"editor.defaultFormatter": "vscjava.vscode-gradle"
|
|
},
|
|
"[yaml]": {
|
|
"editor.defaultFormatter": "redhat.vscode-yaml"
|
|
},
|
|
"java.compile.nullAnalysis.mode": "automatic",
|
|
"java.configuration.updateBuildConfiguration": "interactive",
|
|
"java.format.enabled": true,
|
|
"java.format.settings.profile": "GoogleStyle",
|
|
"java.format.settings.google.version": "1.28.0",
|
|
"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": [
|
|
".cache/",
|
|
".claude/",
|
|
".devcontainer/",
|
|
".git/",
|
|
".git-blame-ignore-revs",
|
|
".gitattributes",
|
|
".github/",
|
|
".gitignore",
|
|
".gradle/",
|
|
".pre-commit-config.yaml",
|
|
".task/",
|
|
".taskfiles/",
|
|
".venv/",
|
|
".venv*/",
|
|
".vscode/",
|
|
"app/.gitignore",
|
|
"app/build/",
|
|
"app/common/.gitignore",
|
|
"app/common/bin/",
|
|
"app/common/build/",
|
|
"app/core/.gitignore",
|
|
"app/core/bin/",
|
|
"app/core/configs/",
|
|
"app/core/customFiles/",
|
|
"app/core/LOCAL_APPDATA_FONTCONFIG_CACHE/",
|
|
"app/core/logs/",
|
|
"app/core/pipeline/",
|
|
"app/core/storage/",
|
|
"app/proprietary/.gitignore",
|
|
"app/proprietary/bin/",
|
|
"app/proprietary/storage/",
|
|
"app/saas/.gitignore",
|
|
"app/saas/bin/",
|
|
"app/saas/build/",
|
|
"bin/",
|
|
"build/",
|
|
"devGuide/",
|
|
"devTools/",
|
|
"docker/",
|
|
"docs/",
|
|
"engine/",
|
|
"frontend/",
|
|
"gradle/",
|
|
"images/",
|
|
"scripts/",
|
|
"testings/",
|
|
],
|
|
// 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",
|
|
"java.jdt.ls.lombokSupport.enabled": true,
|
|
"html.format.wrapLineLength": 127,
|
|
"html.format.enable": true,
|
|
"html.format.indentInnerHtml": true,
|
|
"html.format.unformatted": "script,style,textarea",
|
|
"html.format.contentUnformatted": "pre,code",
|
|
"html.format.extraLiners": "head,body,/html",
|
|
"html.format.wrapAttributes": "force",
|
|
"html.format.wrapAttributesIndentSize": 2,
|
|
"html.format.indentHandlebars": true,
|
|
"html.format.preserveNewLines": true,
|
|
"html.format.maxPreserveNewLines": 2,
|
|
"stylelint.configFile": "${workspaceFolder}/devTools/.stylelintrc.json",
|
|
"css.lint.unknownAtRules": "ignore",
|
|
"scss.lint.unknownAtRules": "ignore",
|
|
"less.lint.unknownAtRules": "ignore",
|
|
"java.project.sourcePaths": [
|
|
"app/core/src/main/java",
|
|
"app/common/src/main/java",
|
|
"app/proprietary/src/main/java"
|
|
],
|
|
"[javascript]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.oxc": "explicit"
|
|
}
|
|
},
|
|
"[javascriptreact]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.oxc": "explicit"
|
|
}
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "vscode.typescript-language-features",
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.oxc": "explicit"
|
|
}
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.oxc": "explicit"
|
|
}
|
|
},
|
|
"oxc.enable.oxlint": true,
|
|
"oxc.enable.oxfmt": false,
|
|
"oxc.configPath": "frontend/oxlint.config.ts",
|
|
"oxc.requireConfig": true,
|
|
"oxc.lint.run": "onType",
|
|
"oxc.fixKind": "safe_fix",
|
|
"[toml]": {
|
|
"editor.defaultFormatter": "tamasfe.even-better-toml",
|
|
// Keep TOML formatting compatible with .editorconfig and the pre-commit
|
|
// locale sorter. Key ordering itself is handled by task pre-commit:toml-sort.
|
|
"editor.insertSpaces": true,
|
|
"editor.tabSize": 4,
|
|
"editor.rulers": [127],
|
|
"evenBetterToml.formatter.alignEntries": false,
|
|
"evenBetterToml.formatter.alignComments": false,
|
|
"evenBetterToml.formatter.indentString": " ",
|
|
"evenBetterToml.formatter.columnWidth": 127,
|
|
"evenBetterToml.formatter.reorderKeys": false,
|
|
"evenBetterToml.formatter.reorderArrays": false,
|
|
"evenBetterToml.formatter.reorderInlineTables": false,
|
|
"evenBetterToml.formatter.trailingNewline": true,
|
|
"evenBetterToml.formatter.crlf": false
|
|
}
|
|
}
|