Skip to content

mcbalaam/zed-dreammaker-langserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DreamMaker Language Server for Zed Editor

Code for the zed-dreammaker-langserver Zed extention, providing linting, code navigation and syntax highlighting for the DreamMaker language.

image

This extension relies on SpacemanDMM by SpaceManiac and its prebuilt binaries of dm-langserver.exe, but you can always build your own binaries here.

The tree-sitter files can be found here: https://github.com/mcbalaam/dm-tree-sitter

Currently only tested on Windows x64, will get tested and receive Linux support later.

Installation

  1. Install the extension. This will build the tree-sitter for the syntax highliting and will take some time to complete when done for the first time.

or, if installing manually

  1. Download as .zip and unpack or clone the repository. Open Zed, press ctrl+shift+p to bring up the command bar, select zed: install dev extension and navigate to the extension folder.

  2. Open the latest release of SpacemanDMM here and download the dm-langserver.exe binary.

  3. Open the Zed settings as .json and add the following to your configuration:

  "lsp": {
    "dm-langserver": {
      "binary": {
        "path": "C:\\path\\to\\your\\binary\\dm-langserver.exe"
      }
    }
  },

Usage

Zed doesn't currently support status bar manipulation, which means you'll have to reparse your enviroment by restrtging the laguage servers. This can be done by clicking the lightning bolt icon on the status bar:

image

You can also hold ctrl to navigate to parsed variables, functions, defines and classes by clicking on highlited strings.

About

DreamMaker Language Server extension for the Zed editor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors