winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.07k stars 198 forks source link

vscode: missing autocomplete inside `assert` #4074

Open ekeren opened 1 year ago

ekeren commented 1 year ago

I tried this:

bring cloud;
bring http;

let api = new cloud.Api();
test "api should return 200 on /health-check" {
  assert( http.get(api.url + "/health-check"). // <--- Cursor is here

}

image

This happened:

no autocomplete

I expected this:

to show me status, body, etc...

Is there a workaround?

No response

Component

IDE Extension

Wing Version

0.26.5

Node.js Version

No response

Platform(s)

No response

Anything else?

@staycoolcall911: if you delete the assert it will autocomplete, so this seems related to the assert's scope.

Community Notes

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 9 months ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 6 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 2 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!