-
Notifications
You must be signed in to change notification settings - Fork 28
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 file link in hover #376
Comments
In VSCode, the supported URI format is "{uri}#{line}:{col}-{line}:{col}", I hope IDEA can also support this. |
Could you please share your lsp trace hover. |
|
@CppCXY when you write your issue could you please add it the content of your file too. It will avoid for me to rewriting your sample file by seeing your screenshot. Thanks! |
You mean that you can write this syntax in your comment? If yes could you give me a sample? |
Thanks! |
Sorry I wanted to say to add your content file in the issue like: --- [x](file:///C:/Users/zc/Desktop/learn/test.lua)
local t
|
This file uri is pointing to the file itself. |
I'm sorry, I was wrong, VSCode only supports {uri}#line. |
So you can write this lua file content: --- [x](file:///C:/Users/zc/Desktop/learn/test.lua#10)
local t Is that? |
yes |
Ok and could you write relative path? |
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
@CppCXY I have played in vscode with uri
is working
doen't work (it doesnt' jump to 5 clumnà) |
Indeed, it does not support column. |
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#376 Signed-off-by: azerr <azerr@redhat.com>
@CppCXY @FalsePattern the PR about supporting file link in markdown has been merged. You can install https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#testing-the-ci-builds to test this feature. Please play with this feature and give us feedback, thanks! |
@CppCXY have you tried this feature ? Is it working for your all usecases? |
I've tried it and found that the format is #L{line}:{col}. In fact, VSCode supports both #{line} and #L{line}, but I've decided to switch to the version you support. |
I support the both syntax:
|
Could you create please an issue to support too |
When I press x trying to jump, a vscode pops up:
I hope that IDEA can jump on its own.
The text was updated successfully, but these errors were encountered: