Hello, in the documentation in the site there's a reference to a pascal.api file and it doesn't say it's internal. Therefore, I assumed npp.3.3.Installer.exe would include it. Nope. It isn't listed to be download separately in the site either. I downloaded the zip for versions 3.3 and 3.0 but it isn't here, too. However, N++ 3.3 is able to show syntax highlighting for .pas files already, so I wonder if pascal.api exists, it's obsolete or it's internal. Thanks.
Hi, I started a simple pascal.api file, so far including the keywords of crt and dos units as well as some keywords. Copy the following lines and save them as "pascal.api" file in directory "plugins\APIs" under your program directory.
@all: Let's complete this pascal.api file and get it included in the next version. Thx.
Api files are the files where Notepad++ looks for the words to display in the box, when you hit CONTROL + SPACE.
There is no pascal.api file, at least - i don't think there is. So if you want. You can simply make that file. All you have to do is make a text file. Each line of that file must contain only one word and there shouldn't be spaces. Also, the lines must be sorted alphabeticaly (Note: TextFX plugin ca sort them for you, so you just need to worry about making that list).
After writing this file - drop it into <notepad++.exe dir>\plugins\APIs directory.
PS: there are api files ready for C, PHP and many more languages - you can look at them, if you want to see how does it work and how they are writen.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.