A VS Code extension to make GMod addon development easier.
With this, you can quickly create and upload Garry's Mod addons to the workshop.
It is recommended that you also install the GLua language support extension, for improved syntax highlighting and suggestions.
-
Open a folder in VS Code and click Create Addon
-
Add your content to the addon.
For example, create a weapon using the weapons interface. -
Upload your addon to the workshop (Steam must be running).
Create and use an addon within minutes!
- Create an addon from an empty folder
- Copy an addon project to your Garry's Mod folder (and use it in-game!)
- Create a Garry's Mod weapon from different templates for TTT and Sandbox
Copy addons to your Garry's Mod folder and test them in-game
Manage your workshop files at the click of a button!
- Upload an addon to your workshop- maps, weapons, gamemodes, etc.
- Update an existing addon on the workshop
- Change an addon's thumbnail
- Press
ctrl
+,
or go toFile
->Preferences
->Settings
- Search for
gmod-sdk
In order for this extension to work, it needs to know where your Garry's Mod folder is located.
In the settings, you will need to set your
- Addons folder location
- gmpublish program location
- gmad program location
If you need help finding these things, there is a helpful guide here.
- Ideas/Problems - Please create an issue on Github or find an existing thread. We want to make Garry's Mod addon development easier for you!
- Code
- Clone this repository and open it in VS Code
- Open a terminal and run
npm install
- To debug, press
F5
. This will open a new window with the extension running.- Use
ctrl+r
to reload the window
- Use