Skip to content

Conversation

@ymc9
Copy link
Member

@ymc9 ymc9 commented Aug 30, 2025

Summary by CodeRabbit

  • Documentation

    • Rewrote the VS Code extension README for ZenStack V3: new branding, expanded feature list (syntax highlighting, inline errors, go-to definition, hover docs, folding), clear side-by-side v2/v3 configuration guidance, and updated links/community references.
  • Chores

    • Migrated extension and language identifiers to V3 (activation now targets the v3 language), raised Node.js engine requirement to >=20, simplified publish script, and excluded the extension package from automated version bumps.

Copilot AI review requested due to automatic review settings August 30, 2025 09:52
@coderabbitai
Copy link

coderabbitai bot commented Aug 30, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Warning

Rate limit exceeded

@ymc9 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 19 minutes and 18 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 78a05b0 and d359f47.

📒 Files selected for processing (2)
  • packages/ide/vscode/README.md (1 hunks)
  • packages/ide/vscode/src/extension/main.ts (1 hunks)

Walkthrough

The VS Code extension is rebranded to ZenStack V3: language ID and activation changed from zmodelzmodel-v3, extension metadata and Node engine requirement updated, README rewritten for v3 usage/configuration, and the bump-version script now excludes the extension package.json from automated version bumps.

Changes

Cohort / File(s) Summary of Changes
VS Code extension metadata & activation
packages/ide/vscode/package.json, packages/ide/vscode/src/extension/main.ts
Renamed extension to v3 (name, displayName, description, version), raised engines.node to >=20.0.0, changed language id/grammar/activation from zmodelzmodel-v3, adjusted LanguageClient id/displayName/documentSelector, and simplified publish script (removed --pre-release).
Documentation
packages/ide/vscode/README.md
Rewrote README for ZenStack V3: updated title/branding, product positioning, expanded feature list, updated links, and added side-by-side configuration guidance for v2 vs v3 language mappings.
Release tooling
scripts/bump-version.ts
Added an excludes list and updated package discovery to skip packages/ide/vscode/package.json so the bump script does not update that file.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

Hop, tap, type—I changed my plea,
ZModel learns to be zmodel-v3.
New README trails and mappings neat,
One JSON spared from versioning's beat.
I nibble docs and hum with glee—V3 for me! 🥕✨

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/vscode-v3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@claude
Copy link

claude bot commented Aug 30, 2025

Claude finished @ymc9's task —— View job


Code Review: Separate Extension and Language ID for VS Code Extension

I've analyzed all the changes in this PR. The modifications successfully separate the extension and language identifiers for the VS Code extension to avoid conflicts with the v2 extension. Here's my comprehensive review:

Todo List:

  • Read and analyze all changed files
  • Review package.json changes for VS Code extension configuration
  • Examine extension main.ts modifications
  • Check README.md updates
  • Review version bump script changes
  • Provide comprehensive feedback on code quality, bugs, performance, and security

Code Quality & Best Practices

Excellent implementation with consistent naming:

  • Consistent language ID changes: All references to language ID consistently changed from "zmodel" to "zmodel-v3" across:

    • packages/ide/vscode/package.json:60 - language definition
    • packages/ide/vscode/package.json:77 - grammar mapping
    • packages/ide/vscode/package.json:84 - activation events
    • packages/ide/vscode/src/extension/main.ts:46,50 - document selector and client initialization
  • Clear extension branding: Extension name changed from "zenstack" to "zenstack-v3" with updated display name and description to clearly differentiate from v2

  • Proper versioning strategy: Excluding VS Code extension from automatic version bumping (scripts/bump-version.ts:6,28) is the right approach for marketplace extensions

Security & Performance

No security concerns identified:

  • All changes are configuration/naming related
  • No new dependencies or security-sensitive code paths
  • Node.js version bump from >=18.0.0 to >=20.0.0 aligns with current LTS support

Performance impact: Neutral

  • Changes are purely configurational with no runtime performance impact

⚠️ Potential Issues & Improvements

1. Missing Extension ID Update (Minor)

  • Consider updating the VS Code extension's unique identifier in the marketplace to match the new naming scheme
  • Current publisher/name combination: zenstack.zenstack-v3

2. Documentation Consistency

  • packages/ide/vscode/README.md excellently documents the side-by-side configuration
  • Links properly updated to v3 documentation (zenstack.dev/v3, zenstack.dev/docs/x.3)
  • Clear instructions for users with both extensions installed

3. Generated File Update

  • packages/language/src/generated/module.ts:1 change appears to be auto-generated and consistent with the language ID changes

Test Coverage Assessment

No explicit tests required for this change:

  • These are primarily configuration changes for VS Code extension metadata
  • Runtime behavior testing would be manual (installing extension in VS Code)
  • The language server functionality remains unchanged

🎯 Overall Assessment

This is a high-quality, well-executed change that:

  • ✅ Solves the coexistence problem between v2 and v3 extensions
  • ✅ Maintains consistent naming throughout the codebase
  • ✅ Includes comprehensive documentation updates
  • ✅ Uses appropriate exclusion strategy for version management
  • ✅ Removes pre-release flag appropriately for stable v3 release

Recommendation: ✅ APPROVE - This change is ready for merge. The implementation is thorough, consistent, and addresses the stated goal of separating extension and language identifiers.


Copy link
Contributor

Copilot AI left a comment

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 separates the VS Code extension for ZenStack v3 from the original v2 extension by creating distinct language identifiers and extension names. This allows both versions to coexist without conflicts.

  • Changed language ID from zmodel to zmodel-v3 throughout the extension configuration
  • Updated extension name from zenstack to zenstack-v3 with corresponding display name changes
  • Excluded the VS Code package from automatic version bumping to maintain separate versioning

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
scripts/bump-version.ts Excludes VS Code extension package from automatic version bumping
packages/ide/vscode/src/extension/main.ts Updates language client to use zmodel-v3 language ID
packages/ide/vscode/package.json Changes extension name, language ID, and version configuration
packages/ide/vscode/README.md Updates documentation to reflect v3 extension and coexistence setup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@claude
Copy link

claude bot commented Aug 30, 2025

Claude finished @ymc9's task —— View job


Code Review: Separate Extension and Language ID for VS Code Extension

I've analyzed all the changes in this PR. The modifications successfully separate the extension and language identifiers for the VS Code extension to avoid conflicts with the v2 extension. Here's my comprehensive review:

Todo List:

  • Read and analyze all changed files
  • Review package.json changes for VS Code extension configuration
  • Examine extension main.ts modifications
  • Check README.md updates
  • Review version bump script changes
  • Provide comprehensive feedback on code quality, bugs, performance, and security

Code Quality & Best Practices

Excellent implementation with consistent naming:

  • Consistent language ID changes: All references to language ID consistently changed from "zmodel" to "zmodel-v3" across:

    • packages/ide/vscode/package.json:60 - language definition
    • packages/ide/vscode/package.json:77 - grammar mapping
    • packages/ide/vscode/package.json:84 - activation events
    • packages/ide/vscode/src/extension/main.ts:46,50 - document selector and client initialization
  • Clear extension branding: Extension name changed from "zenstack" to "zenstack-v3" with updated display name and description to clearly differentiate from v2

  • Proper versioning strategy: Excluding VS Code extension from automatic version bumping (scripts/bump-version.ts:6,28) is the right approach for marketplace extensions

Security & Performance

No security concerns identified:

  • All changes are configuration/naming related
  • No new dependencies or security-sensitive code paths
  • Node.js version bump from >=18.0.0 to >=20.0.0 aligns with current LTS support

Performance impact: Neutral

  • Changes are purely configurational with no runtime performance impact

⚠️ Potential Issues & Improvements

1. Missing Extension ID Update (Minor)

  • Consider updating the VS Code extension's unique identifier in the marketplace to match the new naming scheme
  • Current publisher/name combination: zenstack.zenstack-v3

2. Documentation Consistency

  • packages/ide/vscode/README.md excellently documents the side-by-side configuration
  • Links properly updated to v3 documentation (zenstack.dev/v3, zenstack.dev/docs/x.3)
  • Clear instructions for users with both extensions installed

3. Generated File Update

  • packages/language/src/generated/module.ts:1 change appears to be auto-generated and consistent with the language ID changes

Test Coverage Assessment

No explicit tests required for this change:

  • These are primarily configuration changes for VS Code extension metadata
  • Runtime behavior testing would be manual (installing extension in VS Code)
  • The language server functionality remains unchanged

🎯 Overall Assessment

This is a high-quality, well-executed change that:

  • ✅ Solves the coexistence problem between v2 and v3 extensions
  • ✅ Maintains consistent naming throughout the codebase
  • ✅ Includes comprehensive documentation updates
  • ✅ Uses appropriate exclusion strategy for version management
  • ✅ Removes pre-release flag appropriately for stable v3 release

Recommendation: ✅ APPROVE - This change is ready for merge. The implementation is thorough, consistent, and addresses the stated goal of separating extension and language identifiers.


Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (3)
packages/ide/vscode/src/extension/main.ts (1)

50-51: Avoid shadowing the top-level client variable.

The local const client shadows the outer let client. Minor readability nit.

-    const client = new LanguageClient('zmodel-v3', 'ZenStack Model V3', serverOptions, clientOptions);
+    const lc = new LanguageClient('zmodel-v3', 'ZenStack Model V3', serverOptions, clientOptions);
-    client.start();
-    return client;
+    lc.start();
+    return lc;
packages/ide/vscode/README.md (1)

3-3: Grammar: “an type-safe” → “a type-safe”.

-... an type-safe ORM with built-in access control, ...
+... a type-safe ORM with built-in access control, ...
packages/ide/vscode/package.json (1)

60-67: Consider adding an alias clarifying v3 branding.

Optional: add “ZenStack Model V3” to aliases for clarity in the Command Palette and language pickers.

 "aliases": [
-    "ZenStack Model",
-    "zmodel"
+    "ZenStack Model",
+    "ZenStack Model V3",
+    "zmodel"
 ],
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 35f875b and 9f1c7a5.

⛔ Files ignored due to path filters (1)
  • packages/language/src/generated/module.ts is excluded by !**/generated/**
📒 Files selected for processing (4)
  • packages/ide/vscode/README.md (1 hunks)
  • packages/ide/vscode/package.json (4 hunks)
  • packages/ide/vscode/src/extension/main.ts (1 hunks)
  • scripts/bump-version.ts (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
{packages,samples,tests}/**

📄 CodeRabbit inference engine (CLAUDE.md)

Packages are located in packages/, samples/, and tests/

Files:

  • packages/ide/vscode/src/extension/main.ts
  • packages/ide/vscode/README.md
  • packages/ide/vscode/package.json
🪛 LanguageTool
packages/ide/vscode/README.md

[grammar] ~9-~9: There might be a mistake here.
Context: ...ide. ## Features - Syntax highlighting - Inline error reporting - Go-to definitio...

(QB_NEW_EN)


[grammar] ~10-~10: There might be a mistake here.
Context: ...ax highlighting - Inline error reporting - Go-to definition - Hover documentation -...

(QB_NEW_EN)


[grammar] ~11-~11: There might be a mistake here.
Context: ...nline error reporting - Go-to definition - Hover documentation - Code section foldi...

(QB_NEW_EN)


[grammar] ~12-~12: There might be a mistake here.
Context: ...- Go-to definition - Hover documentation - Code section folding ## Configuration ...

(QB_NEW_EN)


[grammar] ~55-~55: There might be a mistake here.
Context: ...k.zenstack-v3" }, ``` ## Links - Home - [Documentation](https://zenstack.dev/docs...

(QB_NEW_EN)


[grammar] ~56-~56: There might be a mistake here.
Context: ...ttps://zenstack.dev/v3) - Documentation - [Community chat](https://discord.gg/Ykhr7...

(QB_NEW_EN)


[grammar] ~57-~57: There might be a mistake here.
Context: ...zenstack.dev/docs/x.3) - Community chat - Twitter...

(QB_NEW_EN)


[grammar] ~58-~58: There might be a mistake here.
Context: ...ttps://discord.gg/Ykhr738dUe) - Twitter - Blog ## Com...

(QB_NEW_EN)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build-test (20.x)
🔇 Additional comments (2)
packages/ide/vscode/README.md (1)

55-57: Verify the documentation URL path.

https://zenstack.dev/docs/x.3” looks off (likely “/v3” or “/3.x”). Please confirm the correct docs URL.

packages/ide/vscode/package.json (1)

50-53: Check VS Code engine/version alignment with language client.

You’re using vscode-languageclient ^9.0.1, but engines.vscode and @types/vscode are pinned at 1.63.x. Ensure the minimum VS Code engine and typings satisfy the client’s requirements to avoid Marketplace or runtime issues.

Suggested direction:

  • Bump "engines": { "vscode": ">=1.67.0" } (or whatever the client requires).
  • Align @types/vscode to the same or higher API version.

@claude
Copy link

claude bot commented Aug 30, 2025

Claude finished @ymc9's task —— View job


Code Review: Separate Extension and Language ID for VS Code Extension

I've analyzed all the changes in this PR. The modifications successfully separate the extension and language identifiers for the VS Code extension to avoid conflicts with the v2 extension. Here's my comprehensive review:

Todo List:

  • Read and analyze all changed files
  • Review package.json changes for VS Code extension configuration
  • Examine extension main.ts modifications
  • Check README.md updates
  • Review version bump script changes
  • Provide comprehensive feedback on code quality, bugs, performance, and security

Code Quality & Best Practices

Excellent implementation with consistent naming:

  • Consistent language ID changes: All references to language ID consistently changed from "zmodel" to "zmodel-v3" across:

    • packages/ide/vscode/package.json:60 - language definition
    • packages/ide/vscode/package.json:77 - grammar mapping
    • packages/ide/vscode/package.json:84 - activation events
    • packages/ide/vscode/src/extension/main.ts:46,50 - document selector and client initialization
  • Clear extension branding: Extension name changed from "zenstack" to "zenstack-v3" with updated display name and description to clearly differentiate from v2

  • Proper versioning strategy: Excluding VS Code extension from automatic version bumping (scripts/bump-version.ts:6,28) is the right approach for marketplace extensions

Security & Performance

No security concerns identified:

  • All changes are configuration/naming related
  • No new dependencies or security-sensitive code paths
  • Node.js version bump from >=18.0.0 to >=20.0.0 aligns with current LTS support

Performance impact: Neutral

  • Changes are purely configurational with no runtime performance impact

⚠️ Potential Issues & Improvements

1. Missing Extension ID Update (Minor)

  • Consider updating the VS Code extension's unique identifier in the marketplace to match the new naming scheme
  • Current publisher/name combination: zenstack.zenstack-v3

2. Documentation Consistency

  • packages/ide/vscode/README.md excellently documents the side-by-side configuration
  • Links properly updated to v3 documentation (zenstack.dev/v3, zenstack.dev/docs/3.x)
  • Clear instructions for users with both extensions installed

3. Generated File Update

  • packages/language/src/generated/module.ts:11 change appears to be auto-generated and consistent with the language ID changes

Test Coverage Assessment

No explicit tests required for this change:

  • These are primarily configuration changes for VS Code extension metadata
  • Runtime behavior testing would be manual (installing extension in VS Code)
  • The language server functionality remains unchanged

🎯 Overall Assessment

This is a high-quality, well-executed change that:

  • ✅ Solves the coexistence problem between v2 and v3 extensions
  • ✅ Maintains consistent naming throughout the codebase
  • ✅ Includes comprehensive documentation updates
  • ✅ Uses appropriate exclusion strategy for version management
  • ✅ Removes pre-release flag appropriately for stable v3 release

Recommendation: ✅ APPROVE - This change is ready for merge. The implementation is thorough, consistent, and addresses the stated goal of separating extension and language identifiers.


Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (2)
packages/ide/vscode/README.md (2)

55-57: Confirm the v3 docs URL (3.x vs v3).

Prior comment suggested using “/docs/v3”. Please verify the canonical path and adjust if needed.

-- [Documentation](https://zenstack.dev/docs/3.x)
+- [Documentation](https://zenstack.dev/docs/v3)
What is the canonical URL for ZenStack v3 documentation: /docs/3.x or /docs/v3?

47-51: Scope the default formatter to the new language id “[zmodel-v3]”.

As previously noted, this should target zmodel-v3, not zmodel.

-"[zmodel]": {
+"[zmodel-v3]": {
     "editor.defaultFormatter": "zenstack.zenstack-v3"
 },
🧹 Nitpick comments (1)
packages/ide/vscode/README.md (1)

67-67: Point License link to this repository (v3) instead of the v2 repo.

Likely intended to reference zenstack-v3.

-[MIT](https://github.com/zenstackhq/zenstack/blob/main/LICENSE)
+[MIT](https://github.com/zenstackhq/zenstack-v3/blob/main/LICENSE)
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 9f1c7a5 and 78a05b0.

📒 Files selected for processing (1)
  • packages/ide/vscode/README.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
{packages,samples,tests}/**

📄 CodeRabbit inference engine (CLAUDE.md)

Packages are located in packages/, samples/, and tests/

Files:

  • packages/ide/vscode/README.md
🪛 LanguageTool
packages/ide/vscode/README.md

[grammar] ~9-~9: There might be a mistake here.
Context: ...ide. ## Features - Syntax highlighting - Inline error reporting - Go-to definitio...

(QB_NEW_EN)


[grammar] ~10-~10: There might be a mistake here.
Context: ...ax highlighting - Inline error reporting - Go-to definition - Hover documentation -...

(QB_NEW_EN)


[grammar] ~11-~11: There might be a mistake here.
Context: ...nline error reporting - Go-to definition - Hover documentation - Code section foldi...

(QB_NEW_EN)


[grammar] ~12-~12: There might be a mistake here.
Context: ...- Go-to definition - Hover documentation - Code section folding ## Configuration ...

(QB_NEW_EN)


[grammar] ~55-~55: There might be a mistake here.
Context: ...k.zenstack-v3" }, ``` ## Links - Home - [Documentation](https://zenstack.dev/docs...

(QB_NEW_EN)


[grammar] ~56-~56: There might be a mistake here.
Context: ...ttps://zenstack.dev/v3) - Documentation - [Community chat](https://discord.gg/Ykhr7...

(QB_NEW_EN)


[grammar] ~57-~57: There might be a mistake here.
Context: ...zenstack.dev/docs/3.x) - Community chat - Twitter...

(QB_NEW_EN)


[grammar] ~58-~58: There might be a mistake here.
Context: ...ttps://discord.gg/Ykhr738dUe) - Twitter - Blog ## Com...

(QB_NEW_EN)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build-test (20.x)

@claude
Copy link

claude bot commented Aug 30, 2025

Claude finished @ymc9's task —— View job


Code Review: Separate Extension and Language ID for VS Code Extension

I've analyzed all the changes in this PR. The modifications successfully separate the extension and language identifiers for the VS Code extension to avoid conflicts with the v2 extension. Here's my comprehensive review:

Todo List:

  • Read and analyze all changed files
  • Review package.json changes for VS Code extension configuration
  • Examine extension main.ts modifications
  • Check README.md updates
  • Review version bump script changes
  • Provide comprehensive feedback on code quality, bugs, performance, and security

Code Quality & Best Practices

Excellent implementation with consistent naming:

  • Consistent language ID changes: All references to language ID consistently changed from "zmodel" to "zmodel-v3" across:

    • packages/ide/vscode/package.json:60 - language definition
    • packages/ide/vscode/package.json:77 - grammar mapping
    • packages/ide/vscode/package.json:84 - activation events
    • packages/ide/vscode/src/extension/main.ts:46,50 - document selector and client initialization
  • Clear extension branding: Extension name changed from "zenstack" to "zenstack-v3" with updated display name and description to clearly differentiate from v2

  • Proper versioning strategy: Excluding VS Code extension from automatic version bumping (scripts/bump-version.ts:6,28) is the right approach for marketplace extensions

Security & Performance

No security concerns identified:

  • All changes are configuration/naming related
  • No new dependencies or security-sensitive code paths
  • Node.js version bump from >=18.0.0 to >=20.0.0 aligns with current LTS support

Performance impact: Neutral

  • Changes are purely configurational with no runtime performance impact

⚠️ Potential Issues & Improvements

1. Missing Extension ID Update (Minor)

  • Consider updating the VS Code extension's unique identifier in the marketplace to match the new naming scheme
  • Current publisher/name combination: zenstack.zenstack-v3

2. Documentation Consistency

  • packages/ide/vscode/README.md excellently documents the side-by-side configuration
  • Links properly updated to v3 documentation (zenstack.dev/v3, zenstack.dev/docs/3.x)
  • Clear instructions for users with both extensions installed

3. Generated File Update

  • packages/language/src/generated/module.ts:11 change appears to be auto-generated and consistent with the language ID changes

Test Coverage Assessment

No explicit tests required for this change:

  • These are primarily configuration changes for VS Code extension metadata
  • Runtime behavior testing would be manual (installing extension in VS Code)
  • The language server functionality remains unchanged

🎯 Overall Assessment

This is a high-quality, well-executed change that:

  • ✅ Solves the coexistence problem between v2 and v3 extensions
  • ✅ Maintains consistent naming throughout the codebase
  • ✅ Includes comprehensive documentation updates
  • ✅ Uses appropriate exclusion strategy for version management
  • ✅ Removes pre-release flag appropriately for stable v3 release

Recommendation: ✅ APPROVE - This change is ready for merge. The implementation is thorough, consistent, and addresses the stated goal of separating extension and language identifiers.


@ymc9 ymc9 merged commit 0337147 into dev Aug 30, 2025
4 checks passed
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