Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly annotate types on ts, Node, Edge, and Struct types so that autocompletion and intellisense tools work correctly #82

Open
timkpaine opened this issue Feb 14, 2024 · 0 comments
Labels
type: enhancement Issues and PRs related to improvements to existing features

Comments

@timkpaine
Copy link
Member

csp nodes and graphs are type-annotated to return ts["T"], and are then connected to other nodes/graphs. Additionally, the return value of these ts["T"] which is an Edge, has a number of of convenience methods such as those in #40, a number of operators, and more to come including those in #60. Finally, csp.Struct is statically typed and should integrate properly in intellisense tools.

We should look to the tools themselves to see how to best integrate:
microsoft/vscode-python#2446
microsoft/python-language-server#260

@timkpaine timkpaine added the type: enhancement Issues and PRs related to improvements to existing features label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Issues and PRs related to improvements to existing features
Projects
None yet
Development

No branches or pull requests

1 participant