Skip to content

remove static completion and ask the kernel instead for all matches#2

Open
RJdaMoD wants to merge 2 commits intoLudwiggle:masterfrom
RJdaMoD:master
Open

remove static completion and ask the kernel instead for all matches#2
RJdaMoD wants to merge 2 commits intoLudwiggle:masterfrom
RJdaMoD:master

Conversation

@RJdaMoD
Copy link

@RJdaMoD RJdaMoD commented Oct 4, 2020

For the given prefix in jupyter, ask the Wolfram kernel for all possible completions. This should work for all contexts (tested for System and Global).

…f the given prefix (also works for other contexts)
@Ludwiggle
Copy link
Owner

Ludwiggle commented Jan 4, 2021

Are you sure you are able to aucomplete any System symbols now? if you look at the parseCellF that parse what the server receives from the Socket, what it writes back is not the full output; it is actually cut at a StringLength of 10k to prevent a Jupyter output cell to explode. This cut-off of the wolfram response to Jupyter affect the completion list too cause it is above 3 million lines.
This explains the hard link to the completion list of the system symbols. By asking the whole completion list to the wolfram server you get a cut version.

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.

3 participants