-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enable uri schemes #15
Conversation
... and 1ccb871 defines on_open_uri_async to handle |
Not sure if it actually works. Just went ahead with this given the code in LSP-Deno. Someone with access to a debugger would have to verify this working. |
Something does not work as expected (have a look at the path): This seems like a Debugger issue.
|
I guess if you only have an URI in the debugger, you can't actually open it via the session.open_location_async machinery. We would need a window command for that. |
Given a
you then need to invoke the ST view command
with arguments {
"location":
{
"uri": "jdt://contents/...",
"range":
{
"start":
{
"line": 841, // not sure if DAP is 1-based or 0-based; LSP is 0-based.
"character": 1 // not sure if DAP is 1-based or 0-based; LSP is 0-based.
},
"end":
{
"line": 841, // not sure if DAP is 1-based or 0-based; LSP is 0-based.
"character": 1 // not sure if DAP is 1-based or 0-based; LSP is 0-based.
}
}
},
"session_name": "jdtls"
} This invocation should be done from within the DAP package. |
This attaches jdtls to views with a
jdt:
URI scheme. Depends on sublimelsp/LSP#1758