Factorio Modding Tool Kit: Debugging, LSP for Locale and Changelog, Packaging and more

Tools which are useful for mod development.
Post Reply
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 300
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

Factorio Modding Tool Kit: Debugging, LSP for Locale and Changelog, Packaging and more

Post by justarandomgeek »

FMTK provides a growing collection of tools for VSCode and other editors. It is available as a VSCode Extension, and a standalone npm cli tool

Tools include:
  • Debugging, with breakpoints, stepping, variable inspection etc (for any DAP-compatible editor)
  • JSON Validation of various files, including info.json
  • LSP support for Locale and Changelog files
  • Integration with sumneko.lua to provide Factorio API autocompletion
  • Automatic packaging and publishing of mods
  • Mod settings editor
  • script.dat (`global`) viewer

Check out the setup guide or this great video from Bilka!

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1604
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Factorio Modding Tool Kit: Debugging, LSP for Locale and Changelog, Packaging and more

Post by jodokus31 »

Wow, that's really huge help.
Tried it for the first time and it works almost out-of-the-box
I was able to debug, profile and autocompletion and syntax check brings factorio mod development to another level.
It's easy to track down any performance issues with the mod...
Many thanks for this!

Bilka
Factorio Staff
Factorio Staff
Posts: 3139
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Factorio Modding Tool Kit: Debugging, LSP for Locale and Changelog, Packaging and more

Post by Bilka »

Quick demo of the changelog validation, courtesy of _codegreen on discord:
Two videos
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Development tools”