-
Notifications
You must be signed in to change notification settings - Fork 222
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
Go to definition shortcut #174
Comments
@JPinkney I think we can provide CodeLens(something like "Open Schema") for each schema error, when some one click on it we open JSON Schema and navigate to part which causes error. |
I think this makes sense, I think I like the code action a bit more and the code action can be |
I think we can download(and we already downloading it for validation) and open in readonly mode |
@JPinkney I made a prototype for this issue using CodeActions:
|
I've never implemented a code action so I'm not exactly sure how they're implemented but what if the flow was something like:
|
I implement loading JSON Schema content from remote (https) in to vscode editor with custom document content provider: So yaml-ls trying open document, if uri for it starts with I will create draft PR where we can discuss this. |
I can't find a way (command, keybinding...) to jump to the schema file, onto element definition to see why the file does not match the template. Is there one?
The text was updated successfully, but these errors were encountered: