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

Add support for chain completions on variables #421

Open
gayanper opened this issue Jun 9, 2022 · 2 comments
Open

Add support for chain completions on variables #421

gayanper opened this issue Jun 9, 2022 · 2 comments

Comments

@gayanper
Copy link
Contributor

gayanper commented Jun 9, 2022

Today in breakpoint conditions and debug console you could complete current visible variable. But trying access methods and properties of a variable object doesn't provide completions.

ex: args. will not provide length as a completion in the main method breakpoint.

@gayanper
Copy link
Contributor Author

gayanper commented Jun 9, 2022

@testforstephen Do you see a possibility we could achieve with the LSP ?

@testforstephen
Copy link
Contributor

It looks like a bug in debugger. The completion is implemented by debugger itself.

type.codeComplete(snippet.toCharArray(), offset, position, null, null, null, frame.location().method().isStatic(), collector);

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

No branches or pull requests

2 participants