NetBeans Platform Issues

The NetBeans platform may have issues concerning the platform release used for MPLAB X IDE. For more help, visit these NetBeans web sites:

http://www.netbeans.org

http://netbeans.org/community/releases/index.html

The following issues have a known impact in MPLAB X IDE.

Choosing “Inherited” as foreground color results in text for category being invisible in editor

When the Foreground color for Field is “Inherited” the text in popup completion window (tooltip) is invisible. The popup completion window shows unselected entries as white text on a white background. Scrolling down the list shows one entry at a time with white text on a blue background. Otherwise the feature seems to work normally.

This issue is recorded as a Netbeans Bugzilla issue for Fonts & Colors:

https://netbeans.org/bugzilla/show_bug.cgi?id=249766

Options->Fonts & Colors. Choosing “Inherited” option as foreground color for any [Syntax] category causes the text to be invisible in the editor. Looking at the preferences xml file “org-netbeans-modules-editor-settings-CustomFontsColors-tokenColorings.xml” it is clear that there is no linkage to a valid color for the foreground attribute of the affected category like “Field” or “Identifier.”

Work-around:

  1. 1.Select Tools>Options, Fonts & Colors button, Syntax tab.
  2. 2.For “Language,” choose “C.”
  3. 3.Under “Category,” click “Field.”
  4. 4.To the left, see that “Foreground” is selected as “Inherited.” Select a color from the list.
  5. 5.Click OK.

No visual indicators for debug

Although debugging appears to occur, there is no Pause arrow or line highlight, and breakpoints appear to be broken (broken icon in gutter). This can be caused by incorrect naming of file paths. See Path, File and Folder Name Restrictions.

Unable to resolve identifier

Live parser shows unresolved identifier for structure nested in structure without name. This results from NetBeans native CND not supporting anonymous field declarations. The workaround is to specify an identifier for the field. The down side is that you will have to specify that field name everywhere you use it in code.

Example:

struct dados {
    unsigned char signature1;
    unsigned char signature2;
};
typedef union {
    unsigned char data [2];
    struct dados;         // unresolved ident.
} EEPROM_DATA;

void main(void) {
    EEPROM_DATA edata;
    edata.data [0] = 0xAA;    // this is ok
    edata.signature2 = 0xDD;  // unresolved ident.
}

See also:

https://netbeans.org/bugzilla/show_bug.cgi?id=256329

SFR in Watch Window deselected when quickly stepping through code

When you step, the cursor updates in the source so the focus is removed from the Watches window. Netbeans then re-draws the whole Watches window, which removes any highlighting.

Sometimes menus disappear when navigating submenus

For Windows OS, sometimes when an MPLAB X IDE menu is selected and then a submenu of a menu item is selected, the menu will disappear. You may need to restart MPLAB X IDE to fix the problem.