如何在 Notepad++ 中启用自动完成支持? [英] How can I enable auto complete support in Notepad++?

查看:27
本文介绍了如何在 Notepad++ 中启用自动完成支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为简单的脚本语言添加简单的语法突出显示和自动完成...

I am trying to add simple syntax highlighting and auto completion for a simple scripting language...

我使用 这篇文章

现在我想知道如何使用 Notepad ++ 为我的自定义语言启用自动完成.有人知道怎么做吗?

Now I want to know how to enable auto completion with Notepad ++ for my custom language. Does anyone know how to do that?

推荐答案

对于基本的自动完成,请查看 %ProgramFiles%Notepad++pluginsAPIs 中的文件.它基本上只是一个带有关键字的 XML 文件.如果您想要调用提示(函数参数提示"),请查看 这些说明.

For basic autocompletion, have a look at the files in %ProgramFiles%Notepad++pluginsAPIs. It's basically just an XML file with keywords in. If you want calltips ("function parameters hint"), check out these instructions.

我再也没有找到任何文档,但是 cpp.xml 有一个 fopen 的调用提示,而 php.xml 是相当完整的.

I've never found any more documentation, but cpp.xml has a calltip for fopen, while php.xml is quite complete.

这篇关于如何在 Notepad++ 中启用自动完成支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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