Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add showOnColon to language specific settings #55

Open
unional opened this issue Jun 4, 2022 · 0 comments
Open

add showOnColon to language specific settings #55

unional opened this issue Jun 4, 2022 · 0 comments

Comments

@unional
Copy link

unional commented Jun 4, 2022

showOnColon is great for text, such as markdown, git commit, and plaintext.

But for programming languages, it could be too intrusive. (e.g. JavaScript/TypeScript ternary operator, CSS, etc).

So it would be great if we can do this:

{
  "emojisense.showOnColon": false // disable by default
  "emojisense.languages": {
    "markdown": {
      "showOnColon": true // enable specifically
    }
  }
}

or

{
  "emojisense.showOnColon": true // enable by default
  "emojisense.languages": {
    "typescript": {
      "showOnColon": false, // disable specifically
      "markupCompletionsEnabled": false,
      "emojiDecoratorsEnabled": false      
    }
  }
}

btw, setting markupCompletionsEnabled and emojiDecoratorsEnabled to be false by default for programming languages would be great because the markup will not be valid syntax in programming languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant