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

Auto-complete for keywords coming from libraries (either official ones or custom-made) #73

Open
baudren opened this issue Dec 22, 2015 · 3 comments

Comments

@baudren
Copy link

baudren commented Dec 22, 2015

Currently, except if it is due to a misconfiguration on my side, I am not seeing any code completion for keywords in official libraries. For instance, I would expect the following

*** Settings ***
Library         Screenshot

*** Test Cases ***
Test
    Take [cursor here]

when pressing ctrl+space to propose the two possible completions, Take Screenshot and Take Screenshot Without Embedding (as seen there).

Similarly, when importing self-made libraries (either in python or in java), I would expect the auto-complete to work there also.

I realise that this would be a big undertaking, but it would really go a long way to make the plugin really useful for mixed projects - because sometimes, it is just not possible to define all keywords with Robot Framework directly.

@xkr47
Copy link
Member

xkr47 commented Dec 22, 2015

Agreed, it would be good thing to have.

@baudren
Copy link
Author

baudren commented Dec 23, 2015

When looking at the source code, @xkr47 , I found the files contained in this folder: plugin/robot-indices. Are these a start in the direction of implementing the autocompletion - at least for official external libraries? Because as a first step, if this would give auto-complete for a library as long as there is such a file, it could be a great help for me already.

@MRDcoder
Copy link

i am also thinking about this future. I don't have idea about how to design auto complete feature but i will try if @xkr47 or someone else guide me

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

No branches or pull requests

3 participants