IDE integration

Place to get help with not working mods / modding interface.
Post Reply
User avatar
that_1_nerd
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Sep 29, 2022 9:15 pm
Contact:

IDE integration

Post by that_1_nerd »

Hey yalls,
So As I am starting to dabble my feet into the moding waters, I find myself getting tied up in basic errors. I find that using something like Intelisense or Something of the sort helps a lot. Is there a way to tell VSCode or Intellij how factorio forms its prototypes? Or am I dreaming a little too big?

Thanks for enduring my questions!
Trains make or break a man!

PFQNiet
Filter Inserter
Filter Inserter
Posts: 289
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

Re: IDE integration

Post by PFQNiet »

There's an entire extension for VSCode which takes care of everything from autocomplete to changelog syntax checking. If you use EmmyDoc comments (eg ---@type LuaEntity) you can tell it what your variables contain and get even more autocompletion. A little extra setup allows you to launch the game with specific mods enabled to help test compatibility options. It's incredible!

It should just show up if you search Factorio in the extension list. It's the one with a "No biters" sign :D

User avatar
that_1_nerd
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Sep 29, 2022 9:15 pm
Contact:

Re: IDE integration

Post by that_1_nerd »

Yo thanks for directing me to it! I had been using Intellij for my development and didn't think about searching in vs code plugins.
Trains make or break a man!

Post Reply

Return to “Modding help”