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

Test: API - support for document link provider #9703

Closed
2 tasks done
Tyriar opened this issue Jul 25, 2016 · 4 comments
Closed
2 tasks done

Test: API - support for document link provider #9703

Tyriar opened this issue Jul 25, 2016 · 4 comments
Assignees
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Jul 25, 2016

Test for #1805:

We added new api that allows to register link providers for documents. Verify that

  • the API makes sense and fits into the languages namespace
  • the API docs makes sense
  • there is always the default link provider (works for http, https, and file schemas)
  • cases when links touch or intersect are resolved by using the link from the higher ranked provider
  • for advanced cases there is a command vscode.executeLinkProvider that allows to retrieve the same data the UI uses
@Tyriar Tyriar added this to the July 2016 milestone Jul 25, 2016
@egamma egamma mentioned this issue Jul 25, 2016
89 tasks
@waderyan
Copy link

@weinand how did you test these three?

  • there is always the default link provider (works for http, https, and file schemas)
  • cases when links touch or intersect are resolved by using the link from the higher ranked provider
  • for advanced cases there is a command vscode.executeLinkProvider that allows to retrieve the same data the UI uses

The function is not available to me. I'm on the latest Insiders version, updated to the lasted code-generator, and created a new extension.

image

@jrieken
Copy link
Member

jrieken commented Jul 27, 2016

@waderyan In the package.json of your extension you must set the version of the vscode dependency to *. Only then it downloads the latest api shapes

@weinand
Copy link
Contributor

weinand commented Jul 27, 2016

@waderyan I just copied the vscode.d.ts manually into my extension.

@waderyan
Copy link

Great that did it :)

@Tyriar Tyriar closed this as completed Jul 27, 2016
@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.
Projects
None yet
Development

No branches or pull requests

4 participants