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

fix(vscode-extension): improve console output when tsp-server not found #5428

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

archerzz
Copy link
Member

  • print more messages when resolving tsp-server executable
  • improve configuration setting description

fix #5080

- print more messages when resolving tsp-server executable
- improve configuration setting description

fix microsoft#5080
@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 23, 2024

All changed packages have been documented.

  • typespec-vscode
Show changes

typespec-vscode - fix ✏️

improve console output when tsp-server not found

@archerzz
Copy link
Member Author

  • logger.debug will only print messages when you debug an extension. So any info which users may be interested at should be printed using logger.info and above
  • improve the configuration setting description to be aligned with the latest behavior
    image

@@ -71,7 +71,7 @@
"typespec.tsp-server.path": {
"type": "string",
"default": "",
"description": "Path to `tsp-server` command that runs the TypeSpec language server.\n\nIf not specified, then `tsp-server` found on PATH is used.\n\nExample (User): /usr/local/bin/tsp-server\nExample (Workspace): ${workspaceFolder}/node_modules/@typespec/compiler",
Copy link
Member Author

Choose a reason for hiding this comment

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

` doesn't have markdown effect, so I change it back to traditional '.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs 🛝 VSCode Extension

@RodgeFu RodgeFu added the ide Issues for VS, VSCode, Monaco, etc. label Dec 23, 2024
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