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 virtual document links #5747

Closed
2 tasks done
jrieken opened this issue Apr 25, 2016 · 2 comments
Closed
2 tasks done

Test virtual document links #5747

jrieken opened this issue Apr 25, 2016 · 2 comments

Comments

@jrieken
Copy link
Member

jrieken commented Apr 25, 2016

  • any os @bpasero
  • any os @kieferrm
    Add support for internal links in previewHtml #3676, make sure links in virtual document. Test that:
  • you link to a document on disk, e.g file:///Users/far/b.oo
  • you link to a virtual document, e.g. virtual:some/path
  • you can jump to a line using the #L32 notion, file:///Users/far/b.oo#L42
  • you can invoke a command using using the command scheme and the command as path, like so command:deleteLeft
  • you can invoke a command with arguments by adding a JSON-array of them as query
@bpasero
Copy link
Member

bpasero commented Apr 26, 2016

@jrieken can you give an example for how a link needs to look like if you want to execute a command?

@bpasero
Copy link
Member

bpasero commented Apr 26, 2016

Nevermind, found it! E.g. "a href='command:workbench.action.zoomIn'"

@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

3 participants