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

Autocompletion for model classes #34

Open
brynrhodes opened this issue Feb 15, 2022 · 2 comments
Open

Autocompletion for model classes #34

brynrhodes opened this issue Feb 15, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@brynrhodes
Copy link
Member

As a CQL author, I want the editor to automatically suggest model classes when I'm authoring a retrieve. For example:

define RetrieveFoo: [ // auto-suggest model types here based on currently accessible using declarations

Could potentially auto-suggest known models based on registered model providers too, if no using declarations are available (another story?)

@JPercival JPercival added the enhancement New feature or request label Jun 22, 2022
@JPercival
Copy link
Contributor

In CQL the Model information is provided by a ModelInfo. The CQL compiler loads these via the ModelManager. You'd check to see if you were a context of accessing a Model, and then populate options from the list

@JPercival
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants