I have pushed my code to Github located at:

https://github.com/ebresie/python4nb

Keeping in mind this is a new implementation (i.e. not based on nbPython)
which is intended to be LSP based with textmate based highlighting.

Note this is in very early stages of development with a lot still left to
do (i.e. like get past the problem in this thread).

Eric Bresie
[email protected]


On Sun, Feb 20, 2022 at 5:49 AM Matthias Bläsing <[email protected]>
wrote:

> Hi,
>
> could you make this less theoretical and show your code?
>
> Greetings
>
> Matthias
>
> Am Samstag, dem 19.02.2022 um 11:47 -0600 schrieb Eric Bresie:
> > I am working on LSP based python support (i.e. so far textmate language
> > colorization works, a initial "Python Project" is started, and some
> "Python
> > Options" preferences are available) but while attempting to do
> autocomplete
> > via LSP (i.e. and start using the LSP client interfaces), I am getting
> > errors like the following:
> >
> > java.lang.NoClassDefFoundError:
> > org/netbeans/modules/lsp/client/spi/LanguageServerProvider while loading
> > org.apache.netbeans.modules.python4nb.editor.lsp.PythonLsp
> >
> >
> > From the project view, under "Dependencies", I've added the
> > org/netbeans/modules/lsp/client/spi dependency which compiles but doesn't
> > seem to run; I've added to the "Runtime Dependency" but it seems the
> > dependency can be in only one scope which results in build / compile
> issues
> > showing up.
> >
> > This is a maven project so have added the dependency in the pom like
> >
> >         <dependency>
> >             <groupId>org.netbeans.api</groupId>
> >             <artifactId>org-netbeans-modules-lsp-client</artifactId>
> >             <version>RELEASE126</version>
> >             <type>jar</type>
> >             <scope>provided</scope>
> >         </dependency>
> >
> > But still no luck.
> >
> > I've reviewed the suggestions on the Netbeans Wiki references in the
> longer
> > error message
> >
> https://netbeans.apache.org/wiki/DevFaqTroubleshootClassNotFound.asciidoc
> >
> > I'm assuming it's something to do with visibility/accessibility/friend
> > aspects in applicable modules/classes, etc. but I'm not sure.
> >
> > Anyone have any ideas?
> >
> > Eric Bresie
> > [email protected]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to