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 patch 2 to 6.9.1 re-indent current line or selection action (you need to assign key to it) does not work on single line (no selection, only cursor somewhere in the line). Also does not work if only some chars in single line are selected. Works fine if you select at least 2 lines.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/8f18410ba01c
*** Bug 192119 has been marked as a duplicate of this bug. ***
*** Bug 192162 has been marked as a duplicate of this bug. ***
*** Bug 192043 has been marked as a duplicate of this bug. ***
regression caused by NB 6.9 patch2
*** Bug 192024 has been marked as a duplicate of this bug. ***
Any hints on how I can get back to the previous behavior ? Do I have to install a beta module, or can I simply copy over an older version of the module jar ?
(In reply to comment #7) > Any hints on how I can get back to the previous behavior ? > Do I have to install a beta module, or can I simply copy over an older version > of the module jar ? Maybe I found a possible workaround. If the updates are installed on the local profile (as the default behavior), you can try to rename the file $HOME\.netbeans\6.9\modules\org-netbeans-modules-java-source.jar to $HOME\.netbeans\6.9\modules\org-netbeans-modules-java-source.ja or something that does not end with "jar". I tried this and it has fallen back to the previous behavior :) now the TAB works as usual. Yay!
*** Bug 192264 has been marked as a duplicate of this bug. ***
Hmm, start to think about next patch ... give me couple days to prepare it.
*** Bug 192607 has been marked as a duplicate of this bug. ***
*** Bug 192604 has been marked as a duplicate of this bug. ***
*** Bug 192574 has been marked as a duplicate of this bug. ***
Dusan, please transplant fix into clone releases / branch release692, see http://wiki.netbeans.org/NetBeansPatchesProcess#How_to_proceed_with_patch for details by Tuesday 7th of December 2010. Thanks in advance.
Integrated into releases / branch release692 http://hg.netbeans.org/releases/rev/c5016fd74fc5
verified in patch3
It also does not work if the single line starts with // where as it works fine if the line starts with <space>// this has been broken for a while
*** Bug 193288 has been marked as a duplicate of this bug. ***
(In reply to comment #17) > It also does not work if the single line starts with // > > where as it works fine if the line starts with <space>// > > this has been broken for a while True. I confirm this annoying behavior. If the next patch can fix this too, it would be great!
FYI, this is as designed behavior that lines starting with // are not indented. It allows users to comment out whole lines of code that should be immutable to subsequent reformat/reindent actions (see sequence of actions: Toggle Comment - Format - Toggle Comment (uncomment)).
I use the 'emacs' profile for my development, and the emacs behavior is to indent the // even if they are on the first character on a line. So that is my expected behavior. Maybe it can be an option somewhere. Thank you for providing a great IDE for us, and thanks for all your hard work.
NetBeans 6.9/.1 Patch 3 has just been released. Please update your installation to get this issue fixed in your NB installation.
It seems that it is not entirely fixed. Create a method then type the following code: for(int i = 0; i < 100; i++) { System.out.prinlnt(i); // this line is correctly idented type "enter" }| The last line (with the "}") in above situation, is not correctly idented. It's supposed to be like this: for(int i = 0; i < 100; i++) { System.out.prinlnt(i); // this line is correctly idented type "enter" }| This does not happen with plain 6.9.1 version - only with latest path. Regards, Edson.
When I type that code, the editor automatically inserts the closing brace at the proper location/indentation. I can't reproduce what you're say.
Created attachment 104142 [details] Video demonstrating the issue Hi, if the original bracket is kept, it is on the right place. But the case I'm showing is when you don't have the automatic bracket. See in the attached video what happens if you delete the automatically inserted bracket and then try to add one your self. Flash video taken with Debugmode Wink.
ecerichter, I am not able to reproduce your usecase in 6.9.1 with patch3. Could you please attach your messages.log? Thanks.
Created attachment 104148 [details] NetBeans Messages Log Here it is. In my installation, I've uninstalled several unecessary modules (like EJB, Maven, Spring) to make NetBeans a bit faster. Maybe I've uninstalled something I should not (but I hope NetBeans track dependencies for me). Regards, Edson.
Thanks for the .log. It is visible there that you have following: org.netbeans.modules.java.source [0.60.3.10.8.4 10 201011082200] Which is plugin from patch2 (not patch3) so his version of plugin doesn't contain the fix. The fix is in version 0.60.4.10.8.4 (patch3 version of plugin). So if you want to have this fix just go to Plugin Manager and update Java plugin. Thanks.
Right, for some reason I don't understand, I had no notification about the update. Actually, I had to "Reload" catalog several times (6 or more) before Netbeans detects the updates. For now, I've up-to-date Java, and it is working as expected. I'll let you know if I face further issues. Thanks & Regards.