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

Create a get_words method in introspection utils #3704

Closed
goanpeca opened this issue Nov 18, 2016 · 3 comments
Closed

Create a get_words method in introspection utils #3704

goanpeca opened this issue Nov 18, 2016 · 3 comments

Comments

@goanpeca
Copy link
Member

goanpeca commented Nov 18, 2016

Create a generic function that finds all words in a given source code file (language agnostic)

here
https://github.com/spyder-ide/spyder/blob/master/spyder/utils/introspection/utils.py

To filter out letters or tokens we could use the information stored on pygments.

So that we can make inline completions on word type (like VS CODE does).

We need to write test for a couple of different files (c, C++, python, R, HTML, CSS)

@ccordoba12
Copy link
Member

But that's what the fallback completer is doing right now, isn't it?

@goanpeca
Copy link
Member Author

goanpeca commented Nov 18, 2016

Nope, not for EVERY word... only for special words of the language. Look at VS code

@malliwi88
Copy link
Contributor

malliwi88 commented Nov 19, 2016

Hello @goanpeca @ccordoba12

I have been working on code completion widget.

bug-widgetcompletion

It can be associated with the three actual plugins (Jedi, Rop, fallback ) fight for completion task for same user input text.

I'm planning to have a first PR with this changes.

I think that we are in a good way for having a better code completion feature, thanks for your fantastic suggestions @ccordoba12, @goanpeca

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