DibDibs
DibDibs

Reputation: 566

How to disable the annoying NetBeans auto-suggest while typing

When I am typing in NetBeans 8.2, whether it is a HTML paragraph or something like an input field, this annoying auto-suggest feature keeps on popping up. It is really annoying when I try to press enter to start a new line as it will insert a load of code when I press enter, since 'Button' is automatically highlighted.

I've included a screenshot of the problem below...

The bit that isn't blurred out is the problem. I have blurred the rest of the page since it contains some personal information and profane language.

How can I disable this autocorrect feature. I don't want to disable autoorrect for PHP or when actually setting up a HTML tag (so I want to use it in a situation like this... <input type="autocorrect displays here" />, but not when typing anything else).

Sorry if I haven't explained myself very well, I can't really think of a good way to describe my problem. Please, leave a commend if you need to know more.

Thanks :)

PS: I can't find any other answers on the internet because I don't know what this is called, since I want this specific auto-suggest to disappear, so please direct me to another answer and I'll delete this question if the answer is appropriate.

PPS: I think the palette may have something to do with it but I can't be sure.

Upvotes: 31

Views: 7159

Answers (5)

andreszs
andreszs

Reputation: 2956

In NetBeans 12, disabling the Auto Popup Completion Window option for HTML does not solve the problem when editing PHP files, the popup shows up whenever Tab is pressed in HTML portions of code.

The solution is to keep the Auto Popup Completion Window active for All Languages, then switch to the Code Templates tab, select Language: HTML, remove all templates from the list, and voilá. No more HTML popup suggestions, anywhere, ever. Only the good old PHP suggestions will remain active.

Upvotes: 1

Yuriy N.
Yuriy N.

Reputation: 6137

  1. Apache Netbeans 12.1.

Palette > Code Clips > Remove -- does not work.

NetBeans > Tools > Options > Editor > Code Completion > Disable "Auto popup completion window" -- does work.

Upvotes: 4

emonect
emonect

Reputation: 412

I finally found the solution for this annoying problem:

Simply go to Tools/Palette/Code Clips and remove everything from Palette (all folders and items).

Now the problem is gone!

Upvotes: 39

Niko Hujanen
Niko Hujanen

Reputation: 733

Today I finally had enought of these * autocompletes in my * code.

Found my way thru Google to this question and found no comfort from the answers.

But this is how I did it:

  1. Open Code Clips -manager (Tools > Palette > Code Clips)

enter image description here

  1. Select all HTML-related and click "Remove"

enter image description here

  1. Profit

Upvotes: 9

Dave Cripps
Dave Cripps

Reputation: 929

If you go into NetBeans > Tools > Options > Editor > Code Completion, you can check or uncheck "Auto Popup Completion Window" for whatever Languages you want.

NetBeans AutoComplete Checkbox

If you move over to the Code Templates tab, you can also customize the specific autocomplete rules for each Language. That way, you can leave certain ones in that you find helpful and remove ones that you find bothersome.

NetBeans AutoComplete Customize

Upvotes: 13

Related Questions