Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

6.9 KB
Raw Blame
{
  "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": [
    ".agents/",
    ".cache/",
    ".claude/",
    ".codex/",
    ".devcontainer/",
    ".git/",
    ".git-blame-ignore-revs",
    ".gitattributes",
    ".github/",
    ".gitignore",
    ".gradle/",
    ".pre-commit-config.yaml",
    ".ruff_cache/",
    ".task/",
    ".taskfiles/",
    ".venv/",
    ".venv*/",
    ".vscode/",
    ".dockerignore",
    ".editorconfig",
    ".gitleaksignore",
    ".imgbotconfig",
    "AGENTS.md",
    "app/.gitignore",
    "app/build/",
    "app/common/.gitignore",
    "app/common/bin/",
    "app/common/build/",
    "app/core/.gitignore",
    "app/core/bin/",
    "app/core/build/",
    "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/build/",
    "app/proprietary/storage/",
    "app/saas/.gitignore",
    "app/saas/bin/",
    "app/saas/build/",
    "bin/",
    "build/",
    "buildSrc/",
    "build.gradle",
    "CLAUDE.md",
    "configs/",
    "customFiles/",
    "docker/",
    "docs/",
    "engine/",
    "exampleYmlFiles/",
    "frontend/",
    "gradle/",
    "gradle.properties",
    "gradlew",
    "gradlew.bat",
    "LICENSE",
    "logs/",
    "pipeline/",
    "README.md",
    "scripts/",
    "settings.gradle",
    "Taskfile.yml",
    "testing/",
  ],
  // 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}/frontend/stylelint.config.mjs",
  "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",
    "app/saas/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
  }
}