简体   繁体   中英

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"></KeyWord>
<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 AZ or az. 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,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM