Skip to content

Releases

RDCore for VS Code v0.1.3-alpha

Pre-release

Choose a tag to compare

@RubberduckAdmin RubberduckAdmin released this 05 Dec 07:15
2353e9c

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

Pre-release

Choose a tag to compare

@RubberduckAdmin RubberduckAdmin released this 29 Nov 00:56
930a568

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 .vbs scripts open as VBScript, and the language server serves them as it serves the other modules: hover, symbols, completion of the WScript object's members. VS Code's own Visual Basic language also claims .vbs, so the extension associates .vbs with VBScript by default.
  • A platform's manifest is checked as the platform checks it: the extension refuses to start a platform whose rdcore.json names 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 rdc is at the platform root or in a folder of its own.
  • No package with a known advisory: the extension's language client is vscode-languageclient 12.0.0, which depends on a minimatch above GHSA-g3hv-75wg-m249 (moderate). @vscode/vsce, which packages the extension and is not in it, has no release that does, so package.json overrides the minimatch it uses. The build workflow runs npm audit --audit-level=low before 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

  1. In VS Code, run Extensions: Install from VSIX... from the Command Palette and pick rdcore-vscode-0.1.2-alpha.vsix, or run code --install-extension rdcore-vscode-0.1.2-alpha.vsix.
  2. Set rdcore.platformRoot to the platform root: the folder of the platform's rdcore.json manifest.
  3. 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-alpha

On 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

Pre-release

Choose a tag to compare

@RubberduckAdmin RubberduckAdmin released this 28 Nov 16:29
1d51e6b

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 --workspace argument and as the language client's workspace folder, which the client sends as the initialize request's rootUri. 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 smoke on it. The smoke script checks what the language server answers in the sample: completion of a member of its class and of the Debug object, and hover on a variable and on CStr, a function of the standard library. The sample's Greet calls CStr for 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

  1. In VS Code, run Extensions: Install from VSIX... from the Command Palette and pick rdcore-vscode-0.1.1-alpha.vsix, or run code --install-extension rdcore-vscode-0.1.1-alpha.vsix.
  2. Set rdcore.platformRoot to the platform root: the folder of the platform's rdcore.json manifest.
  3. 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-alpha

On 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: #7, #8 and #9.

RDCore for VS Code 0.1.0-alpha

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 00:29
988c840

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

  1. In VS Code, run Extensions: Install from VSIX... from the Command Palette and pick rdcore-vscode-0.1.0-alpha.vsix, or run code --install-extension rdcore-vscode-0.1.0-alpha.vsix.
  2. Set rdcore.platformRoot to the platform root: the folder of the platform's rdcore.json manifest.
  3. Open the folder of an RDCore project: the folder that has the .rdproj file.

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-alpha

On 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.