Skip to content

Conversation

amylizzle
Copy link
Collaborator

@amylizzle amylizzle commented Nov 18, 2024

Allows the vscode extension to trigger recompile and reload object and proc defs

OpenDreamProject/vscode-opendream#20

@boring-cyborg boring-cyborg bot added the Runtime Involves the OpenDream server/runtime label Nov 18, 2024

_compiledJson = json;
var rootPath = Path.GetFullPath(Path.GetDirectoryName(jsonPath)!);
var resources = _compiledJson.Resources ?? Array.Empty<string>();

Check notice

Code scanning / InspectCode

Use collection expression syntax Note

Use collection expression
_objectTree.LoadJson(json);
DreamProcNative.SetupNativeProcs(_objectTree);

}

Check warning

Code scanning / InspectCode

Incorrect blank lines: Incorrect number of blank lines near braces Warning

Incorrect number of blank lines near braces, expected maximum 0 instead of 1
requestHotReloadBytecode.RespondError(client, "No file provided for a hot reload");
return;
}
_sawmill.Debug($"Debug adapter triggered bytecode hot reload for file {requestHotReloadBytecode.Arguments.FilePath}");

Check warning

Code scanning / InspectCode

Incorrect blank lines: Blank lines are missing elsewhere Warning

Blank lines are missing, expected minimum 1 instead of 0
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@boring-cyborg boring-cyborg bot added the Client Involves the OpenDream client label Jul 3, 2025
@github-actions github-actions bot added size/L and removed size/M labels Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client Involves the OpenDream client Runtime Involves the OpenDream server/runtime size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant