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

cosmetic: missing '>' in error message No grammar provided for <${initialScopeName} #95

Closed
msftrncs opened this issue Apr 29, 2019 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@msftrncs
Copy link
Contributor

msftrncs commented Apr 29, 2019

Had an error in my grammar file that caused it not to load, in the VS Code log (window) noticed the error message:
(partial rendering)

...No grammar provided for <source.powershell ...

Thought it weird the trailing > was missing. I have confirmed its missing in the VSCode-TextMate source file main.ts: https://github.com/Microsoft/vscode-textmate/blob/f22419a67648b953e30a231e0d9549666196766d/src/main.ts#L141 It should probably read:

	throw new Error(`No grammar provided for <${initialScopeName}>`);
@alexdima alexdima self-assigned this Jul 12, 2019
@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants