Merge pull request #1251 from Stefterv/lsp-libraries-fix

Make sure LSP recognises contributed libraries
This commit is contained in:
Moon
2025-09-19 08:24:30 -04:00
committed by GitHub

View File

@@ -66,6 +66,8 @@ class PdeAdapter {
this.rootPath = rootPath; this.rootPath = rootPath;
this.client = client; this.client = client;
Base.locateSketchbookFolder();
File location = Platform.getContentFile("modes/java"); File location = Platform.getContentFile("modes/java");
ModeContribution mc = ModeContribution mc =
ModeContribution.load(null, location, JavaMode.class.getName()); ModeContribution.load(null, location, JavaMode.class.getName());