Skip to content

Deprecate vscode-ext scaffolding - #66

Merged
grantmcdermott merged 8 commits into
mainfrom
vscode-ext-deprecate
Jun 30, 2026
Merged

Deprecate vscode-ext scaffolding#66
grantmcdermott merged 8 commits into
mainfrom
vscode-ext-deprecate

Conversation

@grantmcdermott

Copy link
Copy Markdown
Owner

The jgd VS Code functionality has now been absorbed by the main/upstream R extension: REditorSupport/vscode-R#1706

Newer Deno (2.x) changed setTimeout's return type from `number` to a
branded `Timeout` type, breaking type-checking in the E2E job (TS2322).
Annotate timer variables with `ReturnType<typeof setTimeout>` so they
track the runtime's actual return type instead of asserting `number`.
@grantmcdermott

Copy link
Copy Markdown
Owner Author

@eitsupi looks like our E2E CI workflows are hitting some (unrelated to this PR) Deno v2.x drift bugs. I'll try to push through a (temporary?) fix as part of this PR, but we might need a deeper look afterwards.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR deprecates and removes the repository’s standalone VS Code extension scaffolding (vscode-ext/) and its associated release workflow, updating user-facing and package documentation to point to the upstream VS Code R extension integration.

Changes:

  • Removes the in-repo VS Code extension implementation, tests, and packaging/config files under vscode-ext/.
  • Removes the nightly VS Code extension release workflow.
  • Updates top-level README and R package docs (roxygen + Rd + NEWS + DESCRIPTION metadata) to reflect the upstream VS Code R extension support.

Reviewed changes

Copilot reviewed 16 out of 20 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
vscode-ext/tsconfig.json Removes TS build configuration for the deprecated VS Code extension.
vscode-ext/src/webview-provider.ts Removes webview renderer implementation for the deprecated extension.
vscode-ext/src/socket-server.ts Removes Node socket server used by the deprecated extension.
vscode-ext/src/socket-server.test.ts Removes tests for the deprecated extension socket server.
vscode-ext/src/plot-history.ts Removes plot history implementation used only by the deprecated extension.
vscode-ext/src/plot-history.test.ts Removes tests for the deprecated plot history module.
vscode-ext/src/extension.ts Removes VS Code extension activation/commands implementation.
vscode-ext/README.md Removes extension-specific README.
vscode-ext/package.json Removes extension packaging metadata/scripts/dependencies.
vscode-ext/LICENSE Removes extension-specific license file.
vscode-ext/.vscodeignore Removes VS Code packaging ignore file.
README.md Updates installation/usage docs to reference upstream VS Code R extension and retains Deno server option.
r-pkg/R/jgd.R Updates roxygen docs describing supported frontends (VS Code via upstream extension + Deno server).
r-pkg/NEWS.md Adds NEWS entry noting the upstream VS Code integration and doc updates.
r-pkg/man/jgd.Rd Updates generated Rd to match the updated roxygen frontend documentation.
r-pkg/man/jgd-package.Rd Updates generated package Rd author block (now includes maintainer email and author list change).
r-pkg/DESCRIPTION Removes RoxygenNote and adds Config/roxygen2/version: 8.0.0.
.gitignore Removes ignores specific to vscode-ext/ build artifacts; keeps ignoring *.vsix.
.github/workflows/vsce-nightly-release.yml Removes the nightly VS Code extension packaging/release workflow.
Files not reviewed (2)
  • r-pkg/man/jgd-package.Rd: Generated file
  • r-pkg/man/jgd.Rd: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md
Comment on lines 64 to +66
curl -fsSL \
https://github.com/grantmcdermott/jgd/releases/download/nightly/jgd-vscode-nightly.vsix \
-o jgd-vscode-nightly.vsix
code --install-extension jgd-vscode-nightly.vsix
https://github.com/REditorSupport/vscode-R/releases/download/latest/vscode-R.vsix \
-o vscode-R.vsix

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified manually: the upstream repo has a release tagged literally latest (their rolling "Development Build" pre-release) carrying the vscode-R.vsix asset, so this command installs successfully as written. Switching to /releases/latest/download/ would resolve to the latest stable release (currently v2.8.8) instead of the 3.0.0-rc dev build we want, so keeping the URL as-is.

Comment thread README.md
```

Alternatively, you can also build and install the extension from source[^1]:
Once the 3.0.0-rc version of the extension has been installed, you will also
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
JSON, which it then passes on to a client that does the actual rendering (e.g.,
a VS Code webview, a browser tab, or any future frontend). While this might
sounds like extra work, it turns out that it is both highly efficient and
generalizable (since JSON is so widely supported). Base R already provides most
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Address review feedback on PR #66:
- Fix typos: "coversant"→"conversant" (x2), "automically"→"automatically",
  "maintence"→"maintenance", missing "it" and "might sounds"→"might sound"
- Correct help topic "?jgd-spec"→"?jgd_spec" in the roadmap
- Fix transposed upstream version "v0.3.0"→"v3.0.0" (extension reports
  3.0.0-rc.0)
@grantmcdermott
grantmcdermott merged commit a9f22ca into main Jun 30, 2026
6 checks passed
@grantmcdermott
grantmcdermott deleted the vscode-ext-deprecate branch June 30, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants