Supports now both maniaplanet and trackmania apis.
http://reaby.kapsi.fi/trackmania/vscode ... 1.3.2.vsix
Setup
The extension can run without setup, but you will have very very old api in that case.
To get use the latest, extract the api from game to somewhere at your harddrive
example:
Code: Select all
trackmania.exe /generatescriptdoc=D:\trackmania\doc.h
Remember to include the filename as well for doc.h, this is to have more versatile support, incase you wish to name it differently

For Maniaplanet:
Code: Select all
{
"maniascript.apidocPath": "D:\\dev\\doc.h",
"maniascript.useManiaplanetApi": true,
}
Code: Select all
{
"maniascript.apidocPath": "D:\\trackmania\\doc.h",
"maniascript.useManiaplanetApi": false,
}
* abstract doc.h loader, so i can parse both with same extension
* fixes colors for Null and Library enums
* deprecate configvalue of conf.maniascript.apidocPath