The latest version : v4.9.2

 

 

Auto-completion HOWTO :

For making work the auto-completion (type Ctrl-Space to trigger the autocomplete list box, see screenshot), user has to add his own api file in the directory YOUR_NPP_DIR\plugins\APIs where YOUR_NPP_DIR is the directory in which you installed Notepad++. Note that the extension of api file is api. Here is the list of api file names that they should be for all the supported languages :

 

LANGUAGE
NAME
.
EXT
C
c
.
api
C++
cpp
.
api
Objective-C
objC
.
api
Java
java
.
api
C#
cs
.
api
XML
xml
.
api
HTML
Internal implementation
Javascript
javascript
.
api
PHP
php
.
api
VB/VBS/ASP
vb
.
api
CSS
css
.
api
SQL
Internal implementation
Perl
perl
.
api
Pascal
pascal
.
api
Python
python
.
api
Resource File (rc)
Internal implementation
TeX
tex
.
api
Fortran
fortran
.
api
bash
bash
.
api
Actionscript
flash
.
api
NSIS
nsis
.
api
LUA
lua
.
api
TeX
tex
.
api
TCL
tcl
.
api
LISP
lisp
.
api
SHEME
sheme
.
api
ASSEMBLER
asm
.
api
Postscript
postscript
.
api
Ruby
ruby
.
api
Smalltalk
smalltalk
.
api
VHDL
vhdl
.
api
KiXart
kix
.
api
AutoIt
autoit
.
api
CAML
caml
.
api
ADA
ada
.
api
Verilog
verilog
.
api
MATLAB
matlab
.
api
Normal text
text
.
api

 

As you can see, for 3 languages HTML, SQL and RC, you don't need the api file, they're already hard coded. An api file is a simple normal text file, so you can create it with whichever editor (of course your favorite one - Notepad++ :-) ). Note that you should create your api list in alphabetic order. You can find an example php.api in the directory YOUR_NPP_DIR\plugins\APIs.

From the v2.7, the Auto-Completion for the User Defined Language is supported. Just name the api file as your defined language name.

ex : if your defined language name is "My Lang", you have to create your api file named "My Lang.api" in order to perform Auto-Completion operation.