我怎样才能使在记事本++自动完成的支持? [英] How can I enable auto complete support in Notepad++?
问题描述
我想添加简单的语法高亮和自动完成一个简单的脚本语言...
I am trying to add simple syntax highlighting and auto completion for a simple scripting language...
我添加的语法高亮使用<一个href=\"http://weblogs.asp.net/jgalloway/archive/2006/11/25/creating-a-user-defined-language-in-notepad.aspx\">this文章
I added syntax highlighting using this article
现在我想知道如何启用自动完成用记事本+ +的我的自定义语言。有谁知道该怎么做?
Now I want to know how to enable auto completion with Notepad ++ for my custom language. Does anyone know how to do that?
推荐答案
有关基本自动完成,在的%ProgramFiles%\\记事本++ \\插件\\的API
看一下文件。它基本上只是在关键字的XML文件中。如果你想calltips(功能参数提示),检查出的这些说明。
For basic autocompletion, have a look at the files in %ProgramFiles%\Notepad++\plugins\APIs
. It's basically just an XML file with keywords in. If you want calltips ("function parameters hint"), check out these instructions.
我从来没有发现任何更多的文档,但 cpp.xml
有的fopen
A calltip,而 php.xml
还是比较齐全的。
I've never found any more documentation, but cpp.xml
has a calltip for fopen
, while php.xml
is quite complete.
这篇关于我怎样才能使在记事本++自动完成的支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!