Skip to content

Remove snippets. #2

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

Closed
wants to merge 1 commit into from
Closed

Conversation

olafurpg
Copy link
Contributor

I found the snippets to be distracting, especially because the
suggestions appear in positions where the resulting code is invalid.
Snippets should belong in separate vscode packages with the category
"snippets". That is how it's done for TypeScript:
https://marketplace.visualstudio.com/search?term=typescript&target=VSCode&category=Snippets&sortBy=Relevance

Note that a snippet plugin can be located in the same github repo as the
syntax.

I found the snippets to be distracting, especially because the
suggestions appear in positions  where the resulting code is invalid.
Snippets should belong in separate vscode packages with the category
"snippets". That is how it's done for TypeScript:
https://marketplace.visualstudio.com/search?term=typescript&target=VSCode&category=Snippets&sortBy=Relevance

Note that a snippet plugin can be located in the same github repo as the
syntax.
@olafurpg
Copy link
Contributor Author

Note, a language server is able to provide smarter snippet completions based on the position of the cursor. Given that this package is expected to be shared for all Scala-related vscode plugins, I think it should do only syntax highlighting.

@olafurpg
Copy link
Contributor Author

Superseded by #3, which splits the snippets into a separate package.

@olafurpg olafurpg closed this Apr 16, 2018
@olafurpg olafurpg deleted the keyword-snippets branch April 16, 2018 11:39
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

Successfully merging this pull request may close these issues.

1 participant