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.
Summary: | "Assign return value to new variable" functionality broken (not offered anymore) | ||
---|---|---|---|
Product: | java | Reporter: | tln |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | sdedic |
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tln
2015-01-12 14:27:54 UTC
Please check if you didn't accidentally disabled the hint - open Tools | Options - Editor - Hints, select Java, and in the search box, type "assign return". This limits the display to the suggestion. If enabled, please check on several different sources, even more simplistic ones. If still no luck, please zip your $nbuser/config area and attach here. Thanks. Hi Svata, the checkbox you mentioned was indeed turned off. Now that I've turned it back on the feature is restored. Thanks. I'm 99% sure I didn't disable it myself, not even accidentally. If none of the updates officially disabled the feature for any reason, it would be a little weird. Anyway, ... next time I know where to look. Thanks again. I've stumbled upon this bug too. NetBeans 8.2, jdk 1.8, Windows 7 I did not open Options window in months. It suddenly stopped working. I checked it again in the Options as suggested and it started working again. I have some exceptions in my Messages.log. I can attach it if needed. (In reply to vanob from comment #3) > I've stumbled upon this bug too. > NetBeans 8.2, jdk 1.8, Windows 7 > I did not open Options window in months. It suddenly stopped working. I > checked it again in the Options as suggested and it started working again. > > I have some exceptions in my Messages.log. > I can attach it if needed. I also had this problem - BUT I suspect that quick (mis)keying disabled this. With the hint enabled - alongside "Assign Return Value to New Variable" there is an arrow ">" drop-down menu with an option to "Disable ... suggestion". I suspect accidentally selecting this is the likely reason for the suggestion disappearing. i.e. hitting "right-arrow" + "Enter" rather than "Enter" on it's own. |