Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Don't disable snippets provider in strings and comments #92

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

nathansobo
Copy link
Contributor

Fixes #84

🍐 d with @as-cii

Disabling snippets within strings and comments probably reduces noise in a lot of scenarios, but can create confusion when snippets don't work in certain circumstances. The correct place to handle this would be in snippets themselves, where we would explicitly disable snippets in contexts where they don't make sense. Our current system makes this pretty difficult to achieve though, since most snippets are tied to the entire scope of the target language. This is something to consider when improving snippets in the future.

Disabling snippets within strings and comments probably reduces noise in
a lot of scenarios, but can create confusion when snippets don't work in
certain circumstances. The correct place to handle this would be in
snippets themselves, where we would explicitly disable snippets in
contexts where they don't make sense. Our current system makes this
pretty difficult to achieve though, since most snippets are tied to the
entire scope of the target language. This is something to consider when
improving snippets in the future.

Signed-off-by: Antonio Scandurra <as-cii@github.com>
@nathansobo nathansobo merged commit 852d3be into master Jan 18, 2018
@nathansobo nathansobo deleted the dont-disable branch January 18, 2018 17:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant