Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: improve error message when no workspace is open#153

Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/improve-workspace-error-messagebreaking-brake/cc-wf-studio:fix/improve-workspace-error-messageCopy head branch name to clipboard
Nov 25, 2025
Merged

fix: improve error message when no workspace is open#153
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/improve-workspace-error-messagebreaking-brake/cc-wf-studio:fix/improve-workspace-error-messageCopy head branch name to clipboard

Conversation

@breaking-brake
Copy link
Copy Markdown
Owner

Problem

Current Behavior

  1. User opens VSCode without a workspace/folder
  2. User tries to launch Claude Code Workflow Studio
  3. ❌ Technical error message displayed: Failed to initialize File Service: No workspace folder is open

Expected Behavior

  1. User opens VSCode without a workspace/folder
  2. User tries to launch Claude Code Workflow Studio
  3. ✅ User-friendly message displayed: フォルダまたはワークスペースを開いてから実行してください。

Solution

Add i18n support for the workspace error message to display a clear, actionable message to users.

Changes

File: src/extension/commands/open-editor.ts

  • Import translate function from i18n-service
  • Check if error is "No workspace folder is open" and display localized message

File: src/extension/i18n/translation-keys.ts

  • Add error.noWorkspaceOpen key

Files: src/extension/i18n/translations/*.ts

  • Add translations for 5 languages:
    • English: "Please open a folder or workspace first."
    • Japanese: "フォルダまたはワークスペースを開いてから実行してください。"
    • Korean: "폴더 또는 워크스페이스를 먼저 열어주세요."
    • Simplified Chinese: "请先打开文件夹或工作区。"
    • Traditional Chinese: "請先開啟資料夾或工作區。"

Impact

  • Improved UX for users who launch the extension without a workspace
  • No breaking changes
  • Consistent with existing i18n patterns

Testing

  • Manual E2E testing completed (launch extension without workspace)
  • Code quality checks passed (npm run format && npm run lint && npm run check)
  • Build successful (npm run build)

🤖 Generated with Claude Code

- Add i18n support for workspace error message
- Display user-friendly message instead of technical error
- Support 5 languages (en, ja, ko, zh-CN, zh-TW)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@breaking-brake breaking-brake merged commit 08d8278 into main Nov 25, 2025
3 checks passed
@breaking-brake breaking-brake mentioned this pull request Nov 25, 2025
github-actions Bot added a commit that referenced this pull request Nov 25, 2025
## [2.13.2](v2.13.1...v2.13.2) (2025-11-25)

### Bug Fixes

* improve error message when no workspace is open ([#153](#153)) ([08d8278](08d8278))
* improve node palette description text visibility ([#154](#154)) ([a17728b](a17728b))
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.13.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@breaking-brake breaking-brake mentioned this pull request Nov 29, 2025
@breaking-brake breaking-brake deleted the fix/improve-workspace-error-message branch December 3, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.