You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check whether compiler lsp support compile project (microsoft#7374)
When leverage lsp to emit code, the lsp server need have the capacity of
internalCompile. Typespec compiler support this only after version
1.0.0. So check the lsp capacity before emit code, and provide clear
information to info user to upgrade their compiler.
`Compiling project via the language server is not supported in the current version of TypeSpec Compiler (ver ${client.initializeResult?.serverInfo?.version??"<= 1.0.0"}). Please upgrade to a version later than 1.0.0 (by npm install @typespec/compiler) and try again.`,
0 commit comments