How to disable the annoying NetBeans auto-suggest while typing

痞子三分冷 提交于 2019-12-03 08:27:21

问题


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...

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.


回答1:


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!




回答2:


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)

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

  1. Profit



回答3:


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

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.



来源:https://stackoverflow.com/questions/40191946/how-to-disable-the-annoying-netbeans-auto-suggest-while-typing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!