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

dot methods completion #1210

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

xgdgsc
Copy link
Contributor

@xgdgsc xgdgsc commented Mar 1, 2023

Fixes #979 .

Updates #980.
completes

dframea = DataFrame()
dframea.

show list, then select append! to

append!(dframea,)

A few issues remain:

  • cannot search the list
  • the change in line 16 needed to show the list, I don' t know if it's right to change this.
  • whether it' s ok to use dot as trigger.
  • Some types don' t work, like Vector (Works in REPL runtime by Feat/methodswith dot completion julia-vscode#3240 )
  • move cursor to middle of ",)"
  • Would it be better to call methodswith in REPL mode?

I remember Golang does this in IDE. I think it' s a convenient way for people coming from OOP to find the relevant methods and gradually adapt to the Julian way. I' m looking for suggestions and opinions.

go_complete_functions_for_type.animated.gif

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.

Autocomplete of methods for given variables
1 participant