microsoft / kiota

OpenAPI based HTTP Client code generator
https://aka.ms/kiota/docs
MIT License
2.73k stars 184 forks source link

When starting a new folder, Kiota should not show the "Kiota directory not found" error #4855

Closed maisarissi closed 2 weeks ago

maisarissi commented 2 months ago

When starting a brand new folder and open the Kiota extension, Kiota should not show the following error: image

Expected: 1) The user should not get any errors 2) The workspace panel should be collapsed and empty 3) After generating an API Plugin/client and the workspace file is available, Kiota should expand the workspace panel and show the file.

maisarissi commented 2 months ago

Related to: https://github.com/microsoft/kiota/issues/4828

ElinorW commented 3 weeks ago

Hey @maisarissi, Turns out VS code doesn't provide a direct API to programmatically collapse or expand the entire tree view... only tree items can be expanded/collapsed... Therefore I'll just show the file when it exists but a user can manually collapse/expand the space if they wish to