Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>forts-api-extentionNew to Visual Studio Code? Get it now.
forts-api-extention

forts-api-extention

TretinV3

|
123 installs
| (0) | Free
A extention for the forts API
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Forts API extention

A visual studio code extention for the forts scripting api

getting started

download the extension

download image

and the Lua extention (ext install sumneko.lua)

Then in your workspace, if the extention doesn't dectect your mod, open the command palette (ctrl + shift + p) and enter activate forts API this will activate the completion and intellisense. For the doc if your not working in /Steam/steamapps/common/Forts/data/mods/ (or in /Steam/steamapps/workshop/content/410900/) put AT THE VERY TOP of your file (line 1) --- forts API --- like that :

--- forts API ---

<your code>

features

  • autocompletion
  • intellisense
  • doc on hover
  • example code

example code

It's speed up the process : now with the #example snippet you will have up to 130 lines of code example for your current file

actualy implemented :

  • mod.lua
  • weapons/weapon_list.lua
  • weapons/projectil_list.lua
  • devices/device_list.lua
  • material/building_materials.lua

contributors

  • TretinV3

come chat with us !

Feel free to contact me on discord (TrétinV3#7056 for now) or in #⁠🛠-modding !

https://discord.gg/forts

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft