问题描述
我正在尝试将Notepad ++与Progress编程语言一起使用.
I'm trying to use Notepad++ with the Progress programming language.
我已经在%APPDATA%\Roaming\Notepad++
中将语言定义安装为userDefineLang.xml
,并且语法高亮显示正常工作.
I have installed the language definition in %APPDATA%\Roaming\Notepad++
as userDefineLang.xml
and syntax highlighting is working correctly.
我已经将文件放置在名为progress.xml
的notepad++ Plugins\APIs
目录中,但是记事本++无法识别其内容.
I've put a file in the notepad++ Plugins\APIs
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 ++提供2种功能:
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.
- 转到
Settings
>Preferences...
>Auto-completion
- 检查
Enable Auto-completion on each input
- 选择
Function completion
,而不选择Word completion
- 选中
Function parameter hint on input
(如果您有此选项)
- 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 ++对文件中的所有单词显示自动完成功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!