Skip to content

[FEATURE] Ability to Define Language-Specific Settings (beyond syntaxIgnore) #77

Description

@LangLangBart

Currently, the extension supports trailing-spaces.syntaxIgnore to ignore specific languages, but there is no way to define language-specific settings, other than ignoring all other languages.

  "trailing-spaces.syntaxIgnore": [
    "bat",
    "c",
    "clojure",
    "coffeescript",
    "cpp",
    ...

For example, it would be useful to define settings specifically for markdown like this:

{
  "[markdown]": {
    "trailing-spaces.includeEmptyLines": true,
    "trailing-spaces.regexp": "^[\\s]+",
    "trailing-spaces.trimOnSave": true
  }
}

Currently unsupported:

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions