Repository navigation
Releases
RDCore for VS Code v0.1.3-alpha
What's Changed
- RDCore for VS Code 0.1.3-alpha: the assistant tools' MCP server by @retailcoder in #17
Full Changelog: v0.1.2-alpha...v0.1.3-alpha
RDCore for VS Code v0.1.2-alpha
The extension that brings the language server and the debug adapter of an RDCore platform into Visual Studio Code.
Warning
This is an alpha extension, for evaluation. Expect rough edges, and expect things to change between versions.
What changed
- VBScript scripts: a project's
.vbsscripts open as VBScript, and the language server serves them as it serves the other modules: hover, symbols, completion of theWScriptobject's members. VS Code's own Visual Basic language also claims.vbs, so the extension associates.vbswith VBScript by default. - A platform's manifest is checked as the platform checks it: the extension refuses to start a platform whose
rdcore.jsonnames its environment host (hostService) or its parse server (parseServer) outside the platform root, a link on the way included, and says why. It already did so for the language server. - Either platform layout: the extension starts the language server and the debug adapter that the manifest names, in their own folder, and tells them the platform root, whether
rdcis at the platform root or in a folder of its own. - No package with a known advisory: the extension's language client is
vscode-languageclient12.0.0, which depends on aminimatchabove GHSA-g3hv-75wg-m249 (moderate).@vscode/vsce, which packages the extension and is not in it, has no release that does, sopackage.jsonoverrides theminimatchit uses. The build workflow runsnpm audit --audit-level=lowbefore it builds, and again each Monday: a package with an advisory of any severity fails it. - Coverage: the build runs the tests with Node's test coverage, and the README shows the line coverage of
src/after the Build badge. - The README pair follows the standard of every RDCore repository: Overview, badges, Installation, Building from source, Documentation, See also, the license and the footer.
Requirements
- An RDCore platform: RDCore v0.2.5-alpha or later. A platform built from source works too.
- The .NET runtime that platform needs: .NET 11.
- Visual Studio Code 1.146 or later.
Installing
- In VS Code, run Extensions: Install from VSIX... from the Command Palette and pick
rdcore-vscode-0.1.2-alpha.vsix, or runcode --install-extension rdcore-vscode-0.1.2-alpha.vsix. - Set
rdcore.platformRootto the platform root: the folder of the platform'srdcore.jsonmanifest. - Open the folder of an RDCore project, or a folder up to four folders above it.
Verifying
The release carries SHA256SUMS, the checksum of the .vsix, and a build attestation:
sha256sum -c SHA256SUMS
gh attestation verify rdcore-vscode-0.1.2-alpha.vsix -R rubberduck-vba/RDCore.VSCode --signer-workflow rubberduck-vba/RDCore.VSCode/.github/workflows/release.yml --source-ref refs/tags/v0.1.2-alphaOn macOS, shasum -a 256 -c SHA256SUMS checks the sum. The .vsix is not signed.
License
RDCore for VS Code is licensed under the GPLv3 or later (LICENSE-GPLv3.md). To report a problem, open an issue.
Full changes: v0.1.1-alpha...v0.1.2-alpha.
RDCore for VS Code 0.1.1-alpha
The extension that brings the language server and the debug adapter of an RDCore platform into Visual Studio Code.
Warning
This is a pre-alpha extension, for evaluation. Expect rough edges, and expect things to change between versions.
What changed
- A project below the opened folder: the extension tells the language server one folder both ways, as the
--workspaceargument and as the language client's workspace folder, which the client sends as the initialize request'srootUri. That folder is the one that holds the first.rdproj, in the opened folder or up to four folders below it, else the first opened folder. In 0.1.0, the client sent the opened folder as the root, so a project in a folder below it was not loaded by the language server. - Tests: the extension has its first tests, which the build runs.
- A smoke test in CI: the build workflow deploys the latest RDCore release for Linux, checked against its SHA256SUMS, and runs
npm run smokeon it. The smoke script checks what the language server answers in the sample: completion of a member of its class and of theDebugobject, and hover on a variable and onCStr, a function of the standard library. The sample'sGreetcallsCStrfor that, and prints the same.
Requirements
- An RDCore platform: RDCore v0.2.5-alpha or later. A platform built from source works too.
- The .NET runtime that platform needs: .NET 11.
- Visual Studio Code 1.146 or later.
Installing
- In VS Code, run Extensions: Install from VSIX... from the Command Palette and pick
rdcore-vscode-0.1.1-alpha.vsix, or runcode --install-extension rdcore-vscode-0.1.1-alpha.vsix. - Set
rdcore.platformRootto the platform root: the folder of the platform'srdcore.jsonmanifest. - Open the folder of an RDCore project, or a folder up to four folders above it.
Verifying
The release carries SHA256SUMS, the checksum of the .vsix, and a build attestation:
sha256sum -c SHA256SUMS
gh attestation verify rdcore-vscode-0.1.1-alpha.vsix -R rubberduck-vba/RDCore.VSCode --signer-workflow rubberduck-vba/RDCore.VSCode/.github/workflows/release.yml --source-ref refs/tags/v0.1.1-alphaOn macOS, shasum -a 256 -c SHA256SUMS checks the sum. The .vsix is not signed.
License
RDCore for VS Code is licensed under the GPLv3 or later (LICENSE-GPLv3.md). To report a problem, open an issue.
RDCore for VS Code 0.1.0-alpha
The first release of the extension that brings the language server and the debug adapter of an RDCore platform into Visual Studio Code. It is a plain client of the platform: it speaks the standard Language Server Protocol 3.17 and Debug Adapter Protocol to a platform you install yourself, and what it shows comes from the platform.
Warning
This is a pre-alpha extension, for evaluation. Expect rough edges, and expect things to change between versions.
What you get
The language server serves the modules of RD-VBA and VB6 projects: .bas, .cls, .frm, .ctl, .pag, .dob, .doccls and .rdform.
| Area | What VS Code shows |
|---|---|
| Editing | Completion, signature help, hover, inlay hints, formatting, folding, linked editing of a local name |
| Navigation | Go to Definition, Declaration and Implementation, Find References, document and workspace symbols, call and type hierarchy |
| Analysis | Diagnostics with code actions (quick fixes and refactorings), code lenses, semantic highlighting |
| Refactoring | Rename by binding, and the platform's refactorings as code actions |
| Debugging | Running or debugging the workspace's program, breakpoints and conditional breakpoints, stepping, inline values, the debug console |
The README covers the settings, the workspace and debugging.
Requirements
- An RDCore platform: RDCore v0.2.4-alpha or later is recommended. With an earlier platform, a debugged program that calls out, to create a UserForm or a COM object for example, raises an error; v0.2.1-alpha.1 works for everything else. A platform built from source works too.
- The .NET runtime that platform needs: .NET 11.
- Visual Studio Code 1.146 or later.
Installing
- In VS Code, run Extensions: Install from VSIX... from the Command Palette and pick
rdcore-vscode-0.1.0-alpha.vsix, or runcode --install-extension rdcore-vscode-0.1.0-alpha.vsix. - Set
rdcore.platformRootto the platform root: the folder of the platform'srdcore.jsonmanifest. - Open the folder of an RDCore project: the folder that has the
.rdprojfile.
Verifying
The release carries SHA256SUMS, the checksum of the .vsix, and a build attestation:
sha256sum -c SHA256SUMS
gh attestation verify rdcore-vscode-0.1.0-alpha.vsix -R rubberduck-vba/RDCore.VSCode --signer-workflow rubberduck-vba/RDCore.VSCode/.github/workflows/release.yml --source-ref refs/tags/v0.1.0-alphaOn macOS, shasum -a 256 -c SHA256SUMS checks the sum. The .vsix is not signed.
License
RDCore for VS Code is licensed under the GPLv3 or later (LICENSE-GPLv3.md). To report a problem, open an issue.