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

Improve intellisense completions with complex qualifiers #7829

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darzu
Copy link
Contributor

@darzu darzu commented Jan 25, 2021

Fixes: microsoft/pxt-arcade#2547

Before:
2021-01-24 17 15 26

After:
2021-01-24 17 14 35

It's not a perfect solution, but it's better than what was.

My previous attempt at this (dazuniga/a_button_snippet branch) involved tracking and passing qualifiers from the snippet generation process, but it had some drawbacks and this achieves basically the same thing.

@pelikhan
Copy link
Member

pelikhan commented Apr 9, 2021

Outdated?

let snippetQualifiers = getQualifiers(snippet);
if (qName.indexOf("anyButton") >= 0) {
console.log("snippet");
console.dir({ snippet, snippetQualifiers })
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: cleanup

@darzu
Copy link
Contributor Author

darzu commented Apr 12, 2021

Might still be needed for .py work

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

Successfully merging this pull request may close these issues.

Tab completion is broken for buttons
2 participants