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
When writing Starlark, I have to go to the github repo of a package I'm importing to know what I can pass into it and what it returns. eg.
postgres = import_module("github.com/kurtosis-tech/postgres-package/main.star")
grafana = import_module("./grafana-package/main.star")
def run(plan, args):
postgres_service = postgres.run(plan)
db = {
"URL": postgres_service. <---- now I need to go to github to see if postgres package returns some URL info on the `postgres_service`
}
grafana.run(plan,
postgres_database=[db])
Desired behaviour
It would be great if the vscode extension could parse the (args, return) of a package via its docstring (eg. the postgres package
postgres = import_module("github.com/kurtosis-tech/postgres-package/main.star")
grafana = import_module("./grafana-package/main.star")
def run(plan, args):
postgres_service = postgres.run(plan, <-- insert autocomplete to fill in all the args that need to be populated)
db = {
"URL": postgres_service. <--- insert VSCode intellisense drop down allowing me to select what fields to take
}
grafana.run(plan,
postgres_database=[db])
How important is this to you?
Painful; the lack of this feature makes using Kurtosis frictionful.
What area of the product does this pertain to?
SDK: the Software Development Kit libraries - Typescript, Go, etc.
The text was updated successfully, but these errors were encountered:
Background & motivation
When writing Starlark, I have to go to the github repo of a package I'm importing to know what I can pass into it and what it returns. eg.
Desired behaviour
It would be great if the vscode extension could parse the (args, return) of a package via its docstring (eg. the postgres package
How important is this to you?
Painful; the lack of this feature makes using Kurtosis frictionful.
What area of the product does this pertain to?
SDK: the Software Development Kit libraries - Typescript, Go, etc.
The text was updated successfully, but these errors were encountered: