简体   繁体   中英

How to remove an autocomplete option from notepad++

I am using notepad++ and have enabled the autocomplete feature. For the most part I like having it, but there are a few words it tries to autocomplete that just interfere with my productivity.

For example, whenever I try to type <?php it will attempt to autocomplete to <?php_egg_logo_guid , <?php_init_loaded_file or a sundry of other such options. It is a bit annoying and I don't even know what the use of any of them are.

I would like to remove these unneeded options from autocomplete. Is it possible? If so, how?

Thanks!

Edit: After a few bad answers, let me clarify: I am not trying to disable autocomplete completely, just remove a word or two from the dictionary of choices which it chooses to give hints from.

在notepad ++的程序文件的plugins \\ API中编辑相关的.xml ,以删除愚蠢的php自动完成功能,如此处所述

https://gist.github.com/jmc734/157ff4a4ee85f8e58102

You can add <?php as a suggestion. It will show as the first choice in autocomplete.

edit:

%ProgramFiles(x86)%\\Notepad++\\plugins\\APIs\\php.xml

add the line:

<KeyWord name="php" func="no"/>

Settings > Preferences > Auto-Completion > Uncheck the Enable auto-complete & Function hint options. This should do it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM