Posts from the ‘IDE’ Category

Subscribe

I don’t understand why Netbeans performs code completion when you are typing a comment. If I am working in a java file, typing a comment, and come to a word like “if” or “for”, Netbeans automatically inserts the code completion templates for those keywords. Shouldn’t it recognize that I am typing within a comment? Is there a fix for this issue?

EDIT: Another thing that drives me mad: I use Alt+F S to save. Constantly. I’m so trained in doing this that I usually don’t even think about it. In Netbeans, however, this often results in the letter “s” being typed, either because the File menu didn’t drop down fast enough or the S key registered twice. I’ve never had this problem in any other program.

Once you’ve got your IDE set up just to your liking, it would be painful to start over with default settings. So what if you switch to a new computer? You’d want to take all your settings and preferences with you, not attempt to recreate them from scratch.

As far as I know, Netbeans does not have the ability to export / import your custom settings. That’d be a real handy feature. But for now we have to get by without it.

I will try these, when I get my new laptop set up with Netbeans, and will update this post with a story of success or failure.

UPDATE: I did try this, and it did work.

Here is what worked:

To transfer the settings, I copied the Editors, Preferences, and org-netbeans-api-project-libraries folders located in the .netbeans\6.9\config folder under my Windows user account to the second Netbeans config folder. (Note: I went from Netbeans 6.9 on one computer to Netbeans 7.0 on another.)

I was concerned that because the Netbeans versions were not the same, something would go awry. But rest assured, nothing blew up. I imagine certain version combinations may not play nicely together, though. YMMV.