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

Allow to open a file and goto line without -g option (/path/to/file.ex:123) #17200

Closed
idyll opened this issue Dec 14, 2016 · 6 comments
Closed
Labels
feature-request Request for new features or functionality

Comments

@idyll
Copy link

idyll commented Dec 14, 2016

  • VSCode Version: 1.8.0
  • OS Version: macOS 10.2.2

Steps to Reproduce:

  1. Set VSCode to be the default editor for a file type. (for example .ex)
  2. Go to the terminal.
  3. Command-Click on a URI like /path/to/file.ex:123

It should open to line 123. But it doesn't.

@idyll
Copy link
Author

idyll commented Dec 14, 2016

This is relevant/important because my test tool spits out line numbers of failures and command clicking on the link to open to that line works in Atom/Sublime.

@Tyriar
Copy link
Member

Tyriar commented Dec 14, 2016

Note that we support this via -g but that doesn't work with links. Some more context https://twitter.com/agileanimal/status/809159932033449984

@idyll
Copy link
Author

idyll commented Dec 14, 2016

I suspect it's not turned on by default because some people might have : in a filename???

If it was a setting to just globally enable that would be awesome. :)

@kieferrm kieferrm added the feature-request Request for new features or functionality label Dec 15, 2016
@Tyriar
Copy link
Member

Tyriar commented Dec 15, 2016

@idyll do you have example application(s) which feature such links to the file system?

@bpasero bpasero changed the title On macOS if set to the default editor for a file type VSCode should be able to goto line numbers. Allow to open a file and goto line without -g option (/path/to/file.ex:123) Dec 15, 2016
@bpasero bpasero removed their assignment Dec 15, 2016
@idyll
Copy link
Author

idyll commented Jan 9, 2017

Examples: sublime text and atom both do this.

@bpasero
Copy link
Member

bpasero commented Nov 16, 2017

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!

@bpasero bpasero closed this as completed Nov 16, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants