如何阻止 Notepad++ 显示文件中所有单词的自动完成 [英] How do I stop Notepad++ from showing autocomplete for all words in the file
问题描述
我正在尝试将 Notepad++ 与 Progress 编程语言一起使用.
I'm trying to use Notepad++ with the Progress programming language.
我已在 %APPDATA%RoamingNotepad++
中将语言定义安装为 userDefineLang.xml
并且语法突出显示工作正常.
I have installed the language definition in %APPDATA%RoamingNotepad++
as userDefineLang.xml
and syntax highlighting is working correctly.
我已经在 notepad++ PluginsAPIs
目录中放置了一个名为 progress.xml
的文件,但是 Notepad++ 无法识别其中的内容.
I've put a file in the notepad++ PluginsAPIs
directory named progress.xml
, but the contents are not recognized by Notepad++.
我还从该目录中删除了所有其他语言文件,Notepad++ 仍然显示与删除它们之前完全相同的自动完成建议.
I've also removed all the other language files from that directory and Notepad++ still shows the exact same autocomplete suggestions it did before I removed them.
此外,在输入程序时,文件中的每个单词似乎都是自动完成的建议,而不仅仅是关键字或函数名称.
Also, when typing in a program, it looks like every word in the file is an auto-complete suggestion, not just the keywords or function names.
有人知道如何追踪吗?
推荐答案
Notepad++ 提供了两种功能:
Notepad++ provides 2 types of features:
- 自动完成读取打开的文件并提供文件中单词和/或函数的建议
- 关于函数参数的建议(特定于语言)
根据您所写的内容,您似乎想要的是仅对函数进行自动完成 + 对参数的建议.
Based on what you write, it seems what you want is auto-completion on function only + suggestion on arguments.
为此,您只需更改设置.
To do that, you just need to change a setting.
- 转到
设置
>首选项...
>自动完成
- 勾选
对每个输入启用自动完成
- 选择
Function completion
而不是Word completion
- 检查
输入的函数参数提示
(如果你有这个选项)
- Go to
Settings
>Preferences...
>Auto-completion
- Check
Enable Auto-completion on each input
- Select
Function completion
and notWord completion
- Check
Function parameter hint on input
(if you have this option)
在 Notepad++ 6.5.5 版本上,我有这个设置
On version 6.5.5 of Notepad++, I have this setting
Notepad++ Wiki 中提供了一些有关自动完成的文档.
Some documentation about auto-completion is available in Notepad++ Wiki.
这篇关于如何阻止 Notepad++ 显示文件中所有单词的自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!