Re: XML plugin 3.0.8 - JSON sidekick?
Alan Ezust <[email protected]> Thu, 31 Aug 2023 09:46:13 -0700
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <CALy5K9p_JN2akia5J6xJdRQyXGseSE2Hk2fMkkDQeJPme0k5gg@mail.gmail.com> |
--===============2083991366302878930== Content-Type: multipart/alternative; boundary="000000000000572a0806043aca4d" --000000000000572a0806043aca4d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I had to build with Java11 because Java21 doesn't have the nashorn engine. Pretty icons! It works. I was worried that the XML plugin would clash with this since they both have a json sidekick parser. but it works! On Wed, Aug 30, 2023 at 8:02=E2=80=AFPM Dale Anson <[email protected]> wro= te: > I'm not sure how many eyeballs are on the XML plugin at the moment, > maybe just 2? :) > > I make a separate sidekick plugin for Json, it's in the plugin SVN and > named JsonSideKick. Would you give it a try? It's been updated to use > the Antlr 4.10 plugin. > > On Wed, Aug 30, 2023 at 6:56=E2=80=AFAM Alan Ezust <[email protected]>= wrote: > > > > I got AntLR 4.1.0 too. > > One of the advantages of the combining features of the XML plugin is > that more eyeballs are on it. > > But if it makes the dependencies complicated, then separation of the > plugins is a good idea. > > > > > > > > On Tue, Aug 29, 2023 at 12:51=E2=80=AFPM Dale Anson <[email protected]= > wrote: > >> > >> What version of the Antlr plugin do you have? The json parser in the > >> xml plugin needs Antlr version 4-4.5. The latest version of the Antlr > >> plugin is 4.10. I think that might be the problem. > >> > >> Alan, remember when xml, html, json, css, and ecmascript were all > >> separate plugins? I think it would be worth going back to separating > >> them, it would be easier to update and release them individually and > >> make dependencies easier to handle. I've been thinking of doing the > >> same with the Beauty plugin, it has beautifiers for half a dozen > >> languages, it would be easier to maintain if they were separate > >> plugins. What do you think? > >> > >> Dale > >> > >> On Tue, Aug 29, 2023 at 1:31=E2=80=AFPM Dale Anson <[email protected]= > wrote: > >> > > >> > I see the same. It used to work, I'll take a look. > >> > > >> > On Fri, Aug 25, 2023 at 7:27=E2=80=AFAM Alan Ezust <alan.ezust@gmail= .com> > wrote: > >> > > > >> > > Has anyone tried to parse a JSON file using hte XML plugin in > SideKick? > >> > > It used to work for me, but now it doesn't. Sidekick reports "not > parsed" and I see nothing in the output or log. > >> > > > >> > > openJDK19, Linux, jEdit 5.6.0, XML 3.0.8 > >> > > > >> > > -- > >> > > ----------------------------------------------- > >> > > jEdit Users' List > >> > > [email protected] > >> > > https://lists.sourceforge.net/lists/listinfo/jedit-users > --000000000000572a0806043aca4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I had to build with Java11 because Java21 doesn't= have the nashorn engine. <br></div><div>Pretty icons! It works. I was worr= ied that the XML plugin would clash with this since they both have a json s= idekick parser. but it works!</div><div><br></div></div><br><div class=3D"g= mail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Aug 30, 2023 at 8= :02=E2=80=AFPM Dale Anson <<a href=3D"mailto:[email protected]">dale@da= leanson.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">I'm not sure how many eyeballs are on the XML plugin at the = moment,<br> maybe just 2? :)<br> <br> I make a separate sidekick plugin for Json, it's in the plugin SVN and<= br> named JsonSideKick. Would you give it a try? It's been updated to use<b= r> the Antlr 4.10 plugin.<br> <br> On Wed, Aug 30, 2023 at 6:56=E2=80=AFAM Alan Ezust <<a href=3D"mailto:al= [email protected]" target=3D"_blank">[email protected]</a>> wrote:<b= r> ><br> > I got AntLR 4.1.0 too.<br> > One of the advantages of the combining features of the XML plugin is t= hat more eyeballs are on it.<br> > But if it makes the dependencies complicated, then separation of the p= lugins is a good idea.<br> ><br> ><br> ><br> > On Tue, Aug 29, 2023 at 12:51=E2=80=AFPM Dale Anson <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>> wrote:= <br> >><br> >> What version of the Antlr plugin do you have? The json parser in t= he<br> >> xml plugin needs Antlr version 4-4.5. The latest version of the An= tlr<br> >> plugin is 4.10. I think that might be the problem.<br> >><br> >> Alan, remember when xml, html, json, css, and ecmascript were all<= br> >> separate plugins? I think it would be worth going back to separati= ng<br> >> them, it would be easier to update and release them individually a= nd<br> >> make dependencies easier to handle. I've been thinking of doin= g the<br> >> same with the Beauty plugin, it has beautifiers for half a dozen<b= r> >> languages, it would be easier to maintain if they were separate<br= > >> plugins. What do you think?<br> >><br> >> Dale<br> >><br> >> On Tue, Aug 29, 2023 at 1:31=E2=80=AFPM Dale Anson <<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>> wro= te:<br> >> ><br> >> > I see the same. It used to work, I'll take a look.<br> >> ><br> >> > On Fri, Aug 25, 2023 at 7:27=E2=80=AFAM Alan Ezust <<a hre= f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a= >> wrote:<br> >> > ><br> >> > > Has anyone tried to parse a JSON file using hte XML plug= in in SideKick?<br> >> > > It used to work for me, but now it doesn't. Sidekick= reports "not parsed" and I see nothing in the output or log.<br> >> > ><br> >> > > openJDK19, Linux, jEdit 5.6.0, XML 3.0.8<br> >> > ><br> >> > > --<br> >> > > -----------------------------------------------<br> >> > > jEdit Users' List<br> >> > > <a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a><br> >> > > <a href=3D"https://lists.sourceforge.net/lists/listinfo/= jedit-users" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge= .net/lists/listinfo/jedit-users</a><br> </blockquote></div> --000000000000572a0806043aca4d-- --===============2083991366302878930== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2083991366302878930== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users --===============2083991366302878930==--