Notepad ++ PHP Syntax Autocomplete

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

<KeyWord name="$_GET"></KeyWord> <KeyWord name="$_POST"></KeyWord> <KeyWord name="$_SERVER"></KeyWord> 

CTRL + Space to create an autocomplete syntax list for

 $_GET $_POST $_SERVER 

The list should appear when you press $ (shift + 4).

+4
source share
1 answer

I found a clue for my own question. Notepad ++ generates an AutoCompletion syntax list only with a keypress event of AZ or az. You can change its behavior by changing files to

  NotePad++ > plugin > APIs > *.xml 

<keyword name="anything"> Keyword tags must be sorted by the value of the name attribute, and this sort is an ASCII code,

+3
source

Source: https://habr.com/ru/post/1341272/


All Articles