To piggy back discussion... I noticed there is syntax highlighting in kotlin. Is kotlin supported with respect to NB recognizing the kotlin classes. That is, if I write some kotlin classes in
com.qcsoftware.testproject.kt and some java classes in com.qcsoftware.testproject should I be able to import them and everything? Mike -----Original Message----- From: Geertjan Wielenga <geert...@apache.org> Sent: Saturday, July 20, 2019 6:44 AM To: dev <dev@netbeans.apache.org> Subject: Re: Re: kotlin plugin I can't answer all your questions, Jan Lahoda, who is working on this area can tell you more, but note in general that LSP integration doesn't -- and can't -- provide everything you need out of the box, e.g., no syntax coloring at this point, this is the closest to it: https://github.com/microsoft/vscode-languageserver-node/pull/367 I.e., a variety of things need to be 'configured on the client side', which is a nice way of saying -- 'good luck buddy, create a plugin in your tool if you want to make use of this feature'. Gj On Sat, Jul 20, 2019 at 11:58 AM Jonathan Bergh <bergh.jonat...@gmail.com> wrote: > Hi Geertjan, > > OK, no problem. Thanks for the guidance on that. > > A second question then: > 1) Is there much point in supporting new languages using the 'old' > method of writing nb modules, or is the best approach for the future > to focus on LSP integration? > 2) Where is the LSP which was used for the Kotlin example published to > Twitter. Was that a NB effort? Is the idea that NB would simply use > existing language servers from around the community (and support the > client side - i found the LSP client code in the repo already)? > 3) Is the approach that NB would bundle LSP servers or these would be > installed by the user at runtime? Or is this still to be decided? > > Thanks a lot in advance, > Regards > Jonathan > > > On Thu, Jul 18, 2019 at 2:02 PM Geertjan Wielenga > <geert...@apache.org> > wrote: > > > I wouldn't count on this happening soon, nor worry too much about > > it. It will come, as all good things, in due course and when the time is > > right. > > > > Gj > > > > On Thu, Jul 18, 2019 at 1:59 PM Eric Bresie <ebre...@gmail.com> wrote: > > > > > Sorry meant for the list. > > > > > > On Thu, Jul 18, 2019 at 6:57 AM Eric Bresie <ebre...@gmail.com> wrote: > > > > > > > Based on the corespondence at the time sound like there might be > > > > some dependency technical issues to be ironed out. > > > > > > > > > > > > > > > > > > http://mail-archives.apache.org/mod_mbox/netbeans-dev/201904.mbox/%3cc > eb873b7-f211-cc0f-fc07-826eb28ce...@gmail.com%3e > > > > > > > > > > > > Eric Bresie > > > > ebre...@gmail.com > > > > > > > > On July 18, 2019 at 4:07:30 AM CDT, Geertjan Wielenga < > > > geert...@apache.org> > > > > wrote: > > > > I don't know and let's leave it for the moment now. > > > > > > > > They've committed to donating the code, they know how to do so, > > > > they > > > don't > > > > need anyone to do that other than themselves, and it's obviously > > > > and understandably not a very high priority. > > > > > > > > Gj > > > > > > > > > > > > On Thu, Jul 18, 2019 at 11:03 AM Jonathan Bergh < > > > bergh.jonat...@gmail.com> > > > > > > > > wrote: > > > > > > > > HI Geertjan, > > > > > > > > Ok, i have done so > > > > > > > > 1) Do you think its worthwhile asking folks on > > us...@netbeans.apache.org > > > > to > > > > do the same? > > > > 2) I know you have indicated several times in your comments from > > > > the Apache side that a PR is all that is needed, but from his > > > > comment "We'd be > > happy > > > > to donate the plugin. I've replied to an email from Laszlo with > > > > some > > more > > > > details.", was there anything specific that they (Jetbrains) > discussed > > > > which might be preventing them from being willing to action this > > > > from their side? Why does he seem adamant that they are waiting > > > > for something > from > > > > Apache? > > > > > > > > On Thu, Jul 18, 2019 at 10:40 AM Geertjan Wielenga < > > geert...@apache.org> > > > > wrote: > > > > > > > > Yes -- please also leave your comments in that issue to urge > JetBrains > > to > > > > donate their code to Apache. It's not a big deal, hundreds (if > > > > not > > more) > > > > companies have done so already and JetBrains can do so too. > > > > > > > > Gj > > > > > > > > On Thu, Jul 18, 2019 at 10:34 AM Jonathan Bergh < > > > > > > > > bergh.jonat...@gmail.com> > > > > > > > > wrote: > > > > > > > > thanks Geertjan, > > > > > > > > yes, i see your new comments. > > > > > > > > apart from bumping / commenting on the same thread, do you think > there > > > > > > > > is > > > > > > > > anything else we can do as a community to get this ball rolling > > > > > > > > properly? > > > > > > > > for whatever reason, it seems pretty strange the code is not > > > > being > > > > > > > > released > > > > > > > > when all it takes is a PR (and they have said they are happy to > release > > > > it)? > > > > > > > > > > > > On Thu, Jul 18, 2019 at 12:12 AM Geertjan Wielenga < > > > > > > > > geert...@apache.org> > > > > > > > > wrote: > > > > > > > > You can see the new comment I added in the issue you referenced, > > > > > > > > today: > > > > > > > > > > > > https://github.com/JetBrains/kotlin-netbeans/issues/137 > > > > > > > > Gj > > > > > > > > On Wed, Jul 17, 2019 at 11:38 PM Jonathan Bergh < > > > > > > > > bergh.jonat...@gmail.com> > > > > > > > > wrote: > > > > > > > > Hi all, > > > > > > > > I was just wondering what happened with the donation of the > > > > Kotlin > > > > > > > > plugin > > > > > > > > to the Apache Netbeans project - did they ever go through with > > > > > > > > this? > > > > > > > > > > > > Is this still a need for Apache NB with the advent of Language > > > > > > > > Servers > > > > > > > > etc > > > > > > > > on the horizon? > > > > > > > > I would like to start getting acquainted with NB platform dev > > > > and > > > > > > > > thought > > > > > > > > this might be worthwhile looking through. See : > > > > > > > > https://github.com/JetBrains/kotlin-netbeans/issues/122 > > > > https://github.com/JetBrains/kotlin-netbeans/issues/137 > > > > > > > > for the background. > > > > > > > > I dont have huge amounts of time so i would start slowly, > > > > updating > > > > > > > > the > > > > > > > > project to target the latest NB release (11) etc, but i'd > > > > request > > > > > > > > some > > > > > > > > assistance with things like where to find the various NBM > > > > artifacts > > > > > > > > etc. > > > > > > > > > > > > One final question / point - i see lots of this plugin is > > > > written > > > > > > > > in > > > > > > > > kotlin > > > > > > > > itself. Would it be better to transcribe the .kt source into > > > > java > > > > > > > > as > > > > > > > > part > > > > > > > > of this effort? > > > > > > > > thanks a lot > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Eric Bresie > > > ebre...@gmail.com > > > http://www.linkedin.com/in/ebresie > > > > > >