[Optimization] Optimize the error messages that appear when using TypeSpec VS Code Extension
in an environment without Node.js
/ .NET
#5667
Labels
Description:
When using the
TypeSpec VS Code Extension
in an environment withoutNode.js
/.NET
, the error messages that appear are not very clear or specific. They lack clear direction and are insufficient for users to quickly and easily understand the problom.Scenario1: When installing the
TypeSpec VS Code Extension
in an environment withoutNode.js
, the error messages as follows:picture1:
Scenario2: When using the
TypeSpec VS Code Extension
to generate.NET
code in an environment without.NET
, the error messages as follows:picture2:
Repro steps:
Node.js
/.NET
in the environment.TypeSpec VS Code Extension
.Node.js
andtypespec compiler
.>TypeSpec: Generate from TypeSpec
command and choose to generate from.Net client code emiiter
.Environment:
Node.js
/.NET
Expected behavior:
Error messages should be clear and specific, prompting users to install
Node.js
/.NET
. The recommended examples are as follows:@RodgeFu, @msyyc and @chunyu3 for notification.
The text was updated successfully, but these errors were encountered: