Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Visual Studio Code

CoreyLee Hassell edited this page Mar 17, 2019 · 19 revisions

Extensions

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 (and documentation on its features) at https://marketplace.visualstudio.com/items?itemName=platymuus.dm-langclient

Other extensions

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.

Build tasks

By default, the DM Language Client above includes a 'Build BYOND' task to compile within VSC. You'll need to add this task snippet to your tasks.json file.

        {
            "label": "Run Test Server",
            "group": "test",
            "command": "C:/Program Files (x86)/BYOND/bin/dreamdaemon.exe",
            "args": ["${workspaceRoot}/baystation12.dmb", "-invisible", "-verbose"]
        }

-verbose is optional, but it forces dreamdaemon to continue outputting full runtime error information, very important in testing! -invisible keeps it from being listed on the hub.

Documentation regarding setting up and using Git.

Making heads or tails of specific GitHub pages, for the uninitiated.

Tools

Documentation regarding tools external to DM and Git.

Documentation

Content creation guides

Standards

Standards and guidelines regarding commenting, contributor conduct and coding standards.

Clone this wiki locally