Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++: disable auto-complete in comments

I'm using Notepad++ for C coding.

The auto-complete functionality in NP++ seems really naive. No matter where I am in a file, it always tries to give me a list of auto-complete suggestions (most of which are just random words, rather than function or variable names).

It becomes really annoying when I'm trying to write a long multi-line comment, and I keep having to hit escape at the end of lines because the auto-complete pop-up wants to change what I'm typing.

Is there a way to disable auto-complete inside comments?

Alternatively,

Is there a way to disable keyboard interactions with auto-complete? The time it saves by filling in text for me is negligible compared to the time it saves me from having to go and confirm that I'm spelling function or variable names correctly. So, it would be just about as useful if it always made suggestions, but where the arrow keys and enter interacted with the text, rather than the pop-up.

like image 586
Aaron Avatar asked Oct 10 '14 16:10

Aaron


1 Answers

You can go SettingsPreferencesAuto-Completion and from this point you can set whether you have auto-completion on words, functions or both.

At this point, I don't believe there is a way to disable auto-completion within comments.

A workaround is to turn off auto-completion using Ctrl+Enter for your code, and Ctrl+Space for your comments.

like image 115
Geoffrey Lee Shaw-Cullen Avatar answered Sep 28 '22 02:09

Geoffrey Lee Shaw-Cullen