如何停止Notepad ++对文件中的所有单词显示自动完成功能 [英] How do I stop Notepad++ from showing autocomplete for all words in the file

查看:145
本文介绍了如何停止Notepad ++对文件中的所有单词显示自动完成功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将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.xmlnotepad++ 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.

  1. 转到Settings> Preferences...> Auto-completion
  2. 检查Enable Auto-completion on each input
  3. 选择Function completion,而不选择Word completion
  4. 选中Function parameter hint on input(如果您有此选项)
  1. Go to Settings > Preferences... > Auto-completion
  2. Check Enable Auto-completion on each input
  3. Select Function completion and not Word completion
  4. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆