You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/12/09 17:31:17 UTC
[GitHub] [netbeans] JaroslavTulach commented on a change in pull request #3354: LSP: attempt to speed up open type action.
JaroslavTulach commented on a change in pull request #3354:
URL: https://github.com/apache/netbeans/pull/3354#discussion_r766008466
##########
File path: java/java.lsp.server/vscode/src/extension.ts
##########
@@ -237,6 +237,10 @@ export function activate(context: ExtensionContext): VSNetBeansAPI {
context.subscriptions.push(vscode.debug.registerDebugAdapterDescriptorFactory('java8+', debugDescriptionFactory));
context.subscriptions.push(vscode.debug.registerDebugAdapterDescriptorFactory('nativeimage', debugDescriptionFactory));
+ // register content provider
+ let sourceForContentProvider = new NetBeansSourceForContentProvider();
+ context.subscriptions.push(vscode.workspace.registerTextDocumentContentProvider('sourceFor', sourceForContentProvider));
Review comment:
Using [virtual documents](https://code.visualstudio.com/api/extension-guides/virtual-documents) that's clever.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists