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

go to definition on yaml flow mapping $ref #10

Closed
restjohn opened this issue Jul 25, 2019 · 3 comments
Closed

go to definition on yaml flow mapping $ref #10

restjohn opened this issue Jul 25, 2019 · 3 comments

Comments

@restjohn
Copy link

I am not able to ctrl+click on a JSON Reference in a YAML flow-style mapping node, e.g.,

schema:
  type: array
  items: { $ref: '#/components/schemas/User' }

If I change to a normal indented mapping

schema:
  type: array
  items: 
    $ref: '#/components/schemas/User'

then the ctrl+click go-to-definition works.

I am using VS Code version 1.36.1 on macOS.

Thanks for the nice extension.

@ak1394
Copy link
Collaborator

ak1394 commented Jul 25, 2019

Thanks for reporting it! We expect to release a fix tomorrow.

@restjohn
Copy link
Author

That would be great, thanks!

@ak1394
Copy link
Collaborator

ak1394 commented Jul 26, 2019

Fixed in 1.8.8

@ak1394 ak1394 closed this as completed Jul 26, 2019
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

No branches or pull requests

2 participants