winglang / wing

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

vscode: auto generate members #5127

Open ekeren opened 9 months ago

ekeren commented 9 months ago

Feature Spec

image

I would love to have a quick code action that will generate the member

class BucketBasedKVStore  {
  new() {
    this.bucket = new cloud.Bucket();
  }
}

After clicking the quick code action I'll have a bucket (private) member from the concrete type cloud.Bucket

class BucketBasedKVStore  {
  bucket: cloud.Bucket; 
  new() {
    this.bucket = new cloud.Bucket();
  }
}

Use Cases

Writing code faster

Implementation Notes

please please please

Component

IDE Extension

Community Notes

eladb commented 9 months ago

I don't think the issue is clear enough. Maybe add a little explanation of what you are looking for.

github-actions[bot] commented 7 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!