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&#39;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 &lt;<a href=3D"mailto:[email protected]">dale@da=
leanson.com</a>&gt; 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&#39;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&#39;s in the plugin SVN and<=
br>
named JsonSideKick. Would you give it a try? It&#39;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 &lt;<a href=3D"mailto:al=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<b=
r>
&gt;<br>
&gt; I got AntLR 4.1.0 too.<br>
&gt; One of the advantages of the combining features of the XML plugin is t=
hat more eyeballs are on it.<br>
&gt; But if it makes the dependencies complicated, then separation of the p=
lugins is a good idea.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Aug 29, 2023 at 12:51=E2=80=AFPM Dale Anson &lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:=
<br>
&gt;&gt;<br>
&gt;&gt; What version of the Antlr plugin do you have? The json parser in t=
he<br>
&gt;&gt; xml plugin needs Antlr version 4-4.5. The latest version of the An=
tlr<br>
&gt;&gt; plugin is 4.10. I think that might be the problem.<br>
&gt;&gt;<br>
&gt;&gt; Alan, remember when xml, html, json, css, and ecmascript were all<=
br>
&gt;&gt; separate plugins? I think it would be worth going back to separati=
ng<br>
&gt;&gt; them, it would be easier to update and release them individually a=
nd<br>
&gt;&gt; make dependencies easier to handle. I&#39;ve been thinking of doin=
g the<br>
&gt;&gt; same with the Beauty plugin, it has beautifiers for half a dozen<b=
r>
&gt;&gt; languages, it would be easier to maintain if they were separate<br=
>
&gt;&gt; plugins. What do you think?<br>
&gt;&gt;<br>
&gt;&gt; Dale<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Aug 29, 2023 at 1:31=E2=80=AFPM Dale Anson &lt;<a href=3D"=
mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt; wro=
te:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I see the same. It used to work, I&#39;ll take a look.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Fri, Aug 25, 2023 at 7:27=E2=80=AFAM Alan Ezust &lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a=
>&gt; wrote:<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; Has anyone tried to parse a JSON file using hte XML plug=
in in SideKick?<br>
&gt;&gt; &gt; &gt; It used to work for me, but now it doesn&#39;t. Sidekick=
 reports &quot;not parsed&quot; and I see nothing in the output or log.<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; openJDK19, Linux, jEdit 5.6.0, XML 3.0.8<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; --<br>
&gt;&gt; &gt; &gt; -----------------------------------------------<br>
&gt;&gt; &gt; &gt; jEdit Users&#39; List<br>
&gt;&gt; &gt; &gt; <a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a><br>
&gt;&gt; &gt; &gt; <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==--