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

Support @see /path/to/file:linenumber #3028

Open
JohnKiller opened this issue Aug 24, 2024 · 2 comments
Open

Support @see /path/to/file:linenumber #3028

JohnKiller opened this issue Aug 24, 2024 · 2 comments
Labels

Comments

@JohnKiller
Copy link

Feature description or problem with existing feature
When creating stubs, it would be cool to have a way to link to the original file that generated the code. Now that we have @see support, it could link to a file and a line number

Describe the solution you'd like
Make something like @see /path/to/file:linenumber work. Alternative, use @link or @source.

Additional context
VSCode already has a way to identify a path:line in the terminal. Ideally the code should be the same.

@bmewburn
Copy link
Owner

I think this is a bug. It should work already when the full uri is provided eg file:///path/to/file:line

@bmewburn bmewburn added the bug label Aug 25, 2024
@smuuf
Copy link

smuuf commented Sep 24, 2024

It would be great if this was supported even for relative paths, e.g. file://./SomeFileInSameDir.php, or file://../SomeDirInParentDir/SomeFile.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants