Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Feature request: attribute auto-completion for variables #220

Open
frostming opened this issue May 9, 2018 · 1 comment
Open

Feature request: attribute auto-completion for variables #220

frostming opened this issue May 9, 2018 · 1 comment

Comments

@frostming
Copy link

I wonder if it is possible to trigger auto-completion when user types "." inside a variable brace.

I am sorry to raise several requests this often but I have no time looking into the code base. I would be glad to donate, can you provide a donation link?

Thanks in advance.

@aaltat
Copy link
Collaborator

aaltat commented May 9, 2018

That I do not actually know. Plugin relies on Robot Framework API to parse test data and I think it only returns the variable names. The advanced variable syntax are in practice Python class instances. To know what attributes the class has, plugin would need to create such instances. But it's possible and I also think that it's common, to create advanced variables in such way that they require access to the Robot Framework running context. And trying to create the advanced variables without the Robot Framework running context would result in an error.

But as said, I am not sure about the matter. Also it might be possible to resolve the problem with different ways than the above assumption.

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

No branches or pull requests

2 participants