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

User snippets not working for installed PowerShell extension #267

Closed
daviwil opened this issue Nov 19, 2015 · 2 comments
Closed

User snippets not working for installed PowerShell extension #267

daviwil opened this issue Nov 19, 2015 · 2 comments
Assignees

Comments

@daviwil
Copy link
Contributor

daviwil commented Nov 19, 2015

It appears that PowerShell user snippets aren't working after the user installs the PowerShell extension from the gallery. I suspect that it has to do with some conflict between the in-box PowerShell support and the installed extension. When the user clicks "User snippets" in the file menu and gets the language selection popup, PowerShell shows up twice:

image

I think that since there's a single powershell.json for custom user snippets, it's only being used for the in-box PowerShell support.

Any chance there's a user workaround for this before the issue gets addressed?

@aeschli
Copy link
Contributor

aeschli commented Nov 19, 2015

The problem is that the powershell extension uses a different language identifier.
I created a pull request: PowerShell/vscode-powershell#17

@aeschli aeschli closed this as completed Nov 19, 2015
@daviwil
Copy link
Contributor Author

daviwil commented Nov 19, 2015

Thanks a lot for sending that pull request Martin! I didn't realize I had registered things wrong, glad it's something that can be fixed on my side.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants