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.
After installing jVi plugin, I missed the line numbers. Disabling the plugin, I miss the line numbers in the standard editor too. / View / Show Line Numbers is checked. Product Version = NetBeans IDE 7.0.1 (Build 201107282000) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.6.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 20.0-b11
I experience this issue in NetBeans 7.1 with jVi. Even with jVi 'turned off', line numbers are still not visible.
As detailed in this thread: http://ubuntuforums.org/showthread.php?p=11600380 You can fix this by setting 'line-number-visible' to 'true' in \.netbeans\7.1\config\Editors\text\x-php5\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml
Well, it seems that fix is only temporary. My NetBeans install reverted to not showing line numbers, and now that entry is gone from org-netbeans-modules-editor-settings-CustomPreferences.xml, and even if I add it back in, it gets removed each time NB is started.
jVi overrides NB on whether line numbers show or not. It is controlled by the vi/vim compatible commands. Use ":set [no]nu[mber]" to turn on/off line numbers. :set nu ### turn on line numbers :set nonu ### turn off line numbers I will close this within a few days if there is no further issues.
Thanks, err. That fixes it for me. Sorry to have bothered you with this - I'm sure most vim users would be aware of that setting. I'm a NetBeans user, but new to vim (and jVi), which is why I wasn't aware of it. I appreciate your time!
Just for reference: https://sourceforge.net/p/jvi/bugs/164/