This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I need to write support for gruntfile.js (something like build.xml for javascript). So I registered lookup resolver in order to introduce compound mime-type "text/grunt+javascript" in hope, that I will have all javascript features plus ability to implement something more for gruntfile.js. Unfortunately everything is now broken for gruntfile.js. It is no more recognised as javascript file.
The bad thing (tm) is that MIME specializations like grunt+js are not defined. I was only able to find a convention talking XML-like content types (with mimes text/whatever+xml), but such a convention is not established generally. Our loaders also do not recognize + as compositor, so various things will fail with such MIME type, e.g. actions will be loaded only from the specific MIME type, not from text/javascript.
So far I managed to work around the DataObject recognition and action loading. CSL-powered features should be OK as I implemented fallback in the Language lookup. Navigator is yet to be fixed.
Fixed fallback to generic MIME type in dataloader and language lookup - rev. http://hg.netbeans.org/jet-main/rev/0ce47b53ec27
still does not work for me. Editor colouring works only partially. Probably lexical colouring works, but semantic colouring does not.
Cannot reproduce with current builds.
does not work again. seems to be random
*** Bug 243602 has been marked as a duplicate of this bug. ***
see also 243602. Formatting also does not work
*** Bug 245000 has been marked as a duplicate of this bug. ***
*** Bug 245009 has been marked as a duplicate of this bug. ***
Should be fixed by jet-main#271fa6ce5dac
Integrated into 'main-silver', will be available in build *201407170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/271fa6ce5dac User: Svata Dedic <sdedic@netbeans.org> Log: #238104: fixed parser creation, EditorKit initialization. The specific MIME type should now safely propagate to the document and its clients