provides various IDE functionalities, as VSCode Extension
- Custom syntax highlighting
- Basic completion snippets.
- Real time code analysis.
- Code Completion.
-
Go to definition,Go to Referencesupport. - Find all symbol references.
- find parent / childrenss
- Symbol rename command.
- Inheritance Attribute suggestion
- AlienRace support
- incremental update & validation
- Texture preview
- Texture path suggestion
- patch operation snippets
- Cache DLL extracted data
deletes all DLL extracted cache.
opens your cache directory.
configures RWXML Language Server.
this extension requires RimWorld DLL, RimWorld Core to operate.
it scans Workshop/Local Mod Directory to support external mods.
the path for these resources are below:
RimWorld DLL
- windows:
C:\Program files (x86)\Steam\steamapps\common\rimworld\RimWorldWin64_Data\Managed - darwin(macos):
Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app/Contents/Resources/Data/Managed
RimWorld Core
- windows:
C:\\Program Files (x86)\\Steam\\steamapps\\common\\RimWorld\\Data - darwin(macos):
Library/Application Support/Steam/Steamapps/common/RimWorld/RimWorldMac.app/Data
Local Mod Directory
- windows:
C:\\Program Files (x86)\\Steam\\steamapps\\common\\RimWorld\\Mods - darwin(macos):
Library/Application Support/Steam/Steamapps/common/RimWorld/RimWorldMac.app/Mods
Workshop Directory
- windows:
C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\294100 - darwin(macos):
Library/Application Support/Steam/Steamapps/workshop/content/294100
- clone repository locally
#!/bin/bash
git clone https://github.com/zzzz465/rwxml-language-server- install project
#!/bin/bash
# cwd: repository root
pnpm install- build project
#!/bin/bash
# cwd: repository root
pnpm run watch # this will build project and watch project changes- open
/vsc-extensionwith VSCode, and launchLaunch Client
{ "rwxml.paths.rimWorld": "C:\\...\\common\\RimWorld", // RimWorld/ Directory path. // overrides default path / assumed path from rimWorld "rwxml.paths.rimWorldData": "C:\\...\\RimWorld\\Data", "rwxml.paths.rimWorldManaged": "C:\\...\\RimWorld\\RimWorldWin64_Data\\Managed", "rwxml.paths.localMods": "C:\\...\\RimWorld\\Mods", "rwxml.paths.workshopMods": "C:\\...\\workshop\\contents\\294100", "rwxml.paths.externalMods": [ "<other-mods-directory-1>", "<other-mods-directory-2>", // and so on... ], "rwxml.logs.level": "info", // set log level, "info", "warn", "error", "debug", "silly" "rwxml.codeHighlighting.enabled": true, // manages code highlighting. fine-grained control is not implemented yet "rwxml.diagnostics.enabled": true, // manages code diagnostics. }