Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Not Ready] [typespec-vs/typespec-vscode] Optimize err msg in typsespc extension #6144

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

mzhongl524
Copy link
Member

@mzhongl524 mzhongl524 commented Feb 25, 2025

Fix: #5667

Optimize the error messages that appear when using TypeSpec VS Code Extension in an environment without Node.js

@mzhongl524 mzhongl524 added the ide Issues for VS, VSCode, Monaco, etc. label Feb 25, 2025
@azure-sdk
Copy link
Collaborator

❌ There is undocummented changes. Run chronus add to add a changeset or click here.

The following packages have changes but are not documented.

  • typespec-vs
  • typespec-vscode
Show changes

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin
Copy link
Member

please create PRs as draft if they are not ready to review(make sure to do it before creating it so everybody is not added as a reviewer)

@timotheeguerin timotheeguerin marked this pull request as draft February 25, 2025 16:50
@@ -159,6 +159,7 @@ export class TspLanguageClient {
logger.error(
[
`TypeSpec server executable was not found: '${this.exe.command}' is not found. Make sure either:`,
" - Node.js is installed locally and available in PATH.",
Copy link
Contributor

Choose a reason for hiding this comment

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

i think we can know the command is "node", please update to only add the line when the command is "node". thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide Issues for VS, VSCode, Monaco, etc.
Projects
None yet
4 participants