-
Notifications
You must be signed in to change notification settings - Fork 25
Visual Studio Code
There are several Visual Studio Code extensions designed to make working with the DM language easier and faster.
To use them, you'll need Visual Studio Code, a free editor. You can download VSC here: https://code.visualstudio.com/
The first extension you'll want is DM Language Support, which adds syntax highlighting for .dm, .dmm and .dme files. You can install this extension here: https://marketplace.visualstudio.com/items?itemName=gbasood.byond-dm-language-support
The final extension you need is the DM Language Server. The language server allows you to do things like this:

It also has auto-complete, proc helpers as you type, and many other useful features. You can find this extension at https://marketplace.visualstudio.com/items?itemName=platymuus.dm-langclient
Open allows you to open any file in VSC in your default program for running that file. This is useful to open up icon files for the visual editors, as VSC will not open them properly.
By default, the DM Language Client above includes a 'Build BYOND' task to compile within VSC. I've written a small additional task to allow you to run the client, as if you pressed Control-K in the DM editor.
{
"label": "Run BYOND",
"type": "shell",
"windows": {
"command": "C:PATH/TO/YOUR/INSTALLATION/Baystation12.dmb"
},
"group": {
"kind": "test",
"isDefault": true
}
}
Documentation regarding setting up and using Git.
Making heads or tails of specific GitHub pages, for the uninitiated.
Documentation regarding tools external to DM and Git.
Standards and guidelines regarding commenting, contributor conduct and coding standards.
