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

Option to *restrict* expansion to two colons :: #16

Open
jmssmth opened this issue Mar 12, 2019 · 1 comment
Open

Option to *restrict* expansion to two colons :: #16

jmssmth opened this issue Mar 12, 2019 · 1 comment

Comments

@jmssmth
Copy link

jmssmth commented Mar 12, 2019

Be it that I'm in markdown quite a bit during the day, and do love to utilize :emojisense: therein, I'd love to see an option be introduced that would limit snippets from firing (and even Intellisense from showing) unless two colons (::) are typed first, not just one, as is the default behavior.

Love this extension! Thanks a ton!

@jmssmth jmssmth changed the title Option to limit expansion to two colons :: Option to *restrict* expansion to two colons :: Mar 12, 2019
@ian-h-chamberlain
Copy link

In a similar vein, I think it would be nice to be able to swap the default behavior so that :: triggers unicode completions and : triggers markup completions. I'm not sure of the best way to make a configuration that works for both use cases, but maybe could be something like this?

{
    "emojisense.unicodeCompletionsEnabled": "doubleColon", // `true` and `false` keep their current behavior
    "emojisense.markupCompletionsEnabled": "singleColon",
}

The only thing I'm not sure of is what the behavior would be if both configurations were set to the same thing. Maybe it would mean that markup and unicode completions would just be shown together inline? Probably not a common case but maybe some people would want that as well, idk.

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

No branches or pull requests

3 participants