<div dir="ltr"><div><div>I do have the PHP plug-in installed and can confirm that I am able to edit PHP-only files. I cannot do anything more advanced with it, like find the declaration of a method or class or find usages, which is an annoyance.<br><br></div>This all works on Gentoo, which means that it's at least possible to build from source somehow. I don't know any of the distribution specifics for why it should work there and not here, but it may be possible to lift some ideas from over there, at least.<br><br></div>Thanks for looking into this, Markus.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 1, 2016 at 9:09 AM, Markus Koschany <span dir="ltr"><<a href="mailto:apo@debian.org" target="_blank">apo@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tags -1 confirmed<br>
Control: severity -1 normal<br>
<br>
On Mon, 28 Dec 2015 14:35:21 -0500 Michael Cordingley<br>
<<a href="mailto:Michael.Cordingley@gmail.com">Michael.Cordingley@gmail.com</a>> wrote:<br>
> Package: netbeans<br>
> Version: 8.0.2+dfsg1-5<br>
> Severity: important<br>
><br>
> Dear Maintainer,<br>
><br>
> With the bug, I am able to edit HTML, but cannot insert line breaks without pasting them in. That is, the "enter" key effectively does not work. I also note silent exceptions getting logged in my IDE. I have appended the stack trace of that exception to this report.<br>
><br>
> It appears to affect PHP editing in that I am no longer able to use features that depend on parsing PHP files, such as finding the usages of a class or jumping to its definition. Normal editing, including use of the "enter" key still works, as does syntax highlighting.<br>
><br>
> I am also able to edit my JavaScript files just fine, though I receive no syntax highlighting on those files. It treats them as basically just plain-text files. I don't know if this is related or not.<br>
<br>
Hello and thanks for the report,<br>
<br>
I agree this is a bug in Debian's version of Netbeans. Currently we can<br>
only support Java SE features though, basically the same technologies<br>
listed on Netbeans' official download page:<br>
<br>
<a href="https://netbeans.org/downloads/" rel="noreferrer" target="_blank">https://netbeans.org/downloads/</a><br>
<br>
However I consider the severity of this bug more than "wishlist" because<br>
I haven't found a way to work around it e.g. by installing one of the<br>
HTML5 plugins.<br>
<br>
The reason for this exception is most likely the disabled html.parser<br>
module. For building it we need at least another build-dependency,<br>
<a href="http://validator.nu" rel="noreferrer" target="_blank">validator.nu</a> HTML parser from <a href="https://about.validator.nu/htmlparser/" rel="noreferrer" target="_blank">https://about.validator.nu/htmlparser/</a>.<br>
There is a similar named package in Debian called libhtmlparser-java but<br>
the code looks different to me.<br>
<br>
The same applies for Javascript. All Javascript modules have been<br>
disabled because we can't build them from source at the present time.<br>
For instance they require the Nashorn JavaScript Engine, a Java8 feature.<br>
<br>
I would like to enable and support all HTML5 and Javascript modules but<br>
due to missing dependencies this is not feasible at the moment.<br>
<br>
I haven't tried it myself yet but working with PHP only files should be<br>
possible if you install the PHP plugin.<br>
<br>
Regards,<br>
<br>
Markus<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Michael Cordingley<br>740.707.7809</div>
</div>