开发者

Notepad++ PHP Syntax Autocomplete

I have added following lines at start of %PRPOGRA~%\Notepad++\plugin\APIs\php.xml

<KeyWord name="$_GET"></KeyWord>
<KeyWord name="$_POST"></KeyW开发者_如何转开发ord>
<KeyWord name="$_SERVER"></KeyWord>

CTRL+Space to generate autocomplete syntax list for

$_GET
$_POST
$_SERVER

List should be appeared on pressing $ (shift + 4).


I found a hint for my own question. Notepad++ generate AutoCompletion list of syntax, only on keypress event of A-Z or a-z. You can modify it behavior by modifying files at

 NotePad++ > plugin > APIs > *.xml 

<keyword name="anything"> keyword tags must be sort by attribute value "name" and this sorting is ASCII code wise,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜