Code fragment listing that includes line numbers?

Owen Thomas <[email protected]> Fri, 10 Apr 2026 21:50:23 +1000
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <CACtgfNmXaC=zEqJ2Dgf8Hmt=8P72WknjayXXmLdGc5idUdvT9g@mail.gmail.com>
--000000000000a24bd0064f19bd39
Content-Type: text/plain; charset="UTF-8"

I'm just curious to know if there is a way to put together a listing of a
piece of code in Netbeans (whole file, a class, a method etc) that includes
line numbers?

If not, then what other ways might this be done on Linux?

Thanks,

  Owen.

--000000000000a24bd0064f19bd39
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;m just curious to know if there is a way to put=
 together a listing of a piece of code in Netbeans (whole file, a class, a =
method etc) that includes line numbers?</div><div><br></div><div>If not, th=
en what other ways might this be done on Linux?</div><div><br></div><div>Th=
anks,</div><div><br></div><div>=C2=A0 Owen.</div></div>

--000000000000a24bd0064f19bd39--