SpacemanDMM
SpacemanDMM copied to clipboard
A BYOND language smartness provider, map renderer, and more.
Originally discussed in the comments of #191. It's possible to use the language server to power semantic highlighting (macros, locals, fields, types, keywords, etc.). Primary reference: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens
no other changes of note
I don't know what I'm doiiiing! A hacky first attempt at adding two diagnostics: - `override_changed_type`: Raised for procs whose non-keyword arguments don't match (subtype/supertype) the argument with the same...
![image](https://user-images.githubusercontent.com/2003111/153930088-fb524f1a-543b-49eb-ac34-54a7400bdf9d.png) ![image](https://user-images.githubusercontent.com/2003111/153930101-f3ed0de1-76c6-49a8-8d8b-39cd10cf2e79.png) Yeah I know I don't like this but I'm stuck dealing with it.
todo: add test cases
This issue is related to the [langserver extension for Visual Studio Code](https://github.com/SpaceManiac/vscode-dm-langclient) only On Linux, if you try to launch a debug session without specifying `"dreamDaemon": true` in launch.json it...
https://github.com/SpaceManiac/SpacemanDMM/blob/e979b2e69af0173f1e13d52926ab3dece84f8e1d/crates/dreammaker/src/builtins.rs#L403
https://github.com/neovim/nvim-lspconfig It's pretty simplistic to make a configuration, but I'm not familiar with dm-langserver at all and don't know Rust so I can't properly make it. I don't know the...
This is valid according to dreamchecker and the vscode extension, inside an empty project: `/datum/a/add_target()`. It's not valid DM because there's no declaration in the form of: `/datum/proc/add_target()` or `/datum/a/proc/add_target()`