13

Just as what is described in the title, the notebook behaves as if it were originally designed to not have the autocompletion functionality at all. Neither Ctrl+K nor F2 works. Furthermore, reinstalling Mathematica does not help, either.

What measures could be taken that possibly help to recover the autocompletion functionality? I suspect that some items in "Option Inspector" might be responsible but I can not find them.


It seems that quite a few people encounter this problem recently.

But, for now, the "$UserBaseDirectory deletion / renaming methods" cannot thoroughly settle this issue, can they?

  • Hard to say without more details. Provide the version of MMA and the system running it. Does this happen in a fresh-started kernel in a new empty notebook? Try clean-starting Mathematica, maybe there's some lingering user settings not being removed upon reinstall. I experience that Dynamic functionality sometimes interferes with autocomplete, but that shouldn't be the case in a fresh notebook and kernel. – LLlAMnYP Nov 24 '17 at 13:05
  • @LLlAMnYP Windows 10 + MMA 11.2. It happens even in a freshly started one. – Αλέξανδρος Ζεγγ Nov 24 '17 at 13:24
  • I'm not running this particular combination, so I can't check for myself. Most likely this is something very localized to your machine, in which case this is off-topic here and should be addressed to Wolfram support. – LLlAMnYP Nov 24 '17 at 13:45
  • 2
    @LLlAMnYP I think I find the problem source. It is an unofficial package (http://github.com/rolfmertig/Shortcuts). It is very strange that the package causes this problem just recently. – Αλέξανδρος Ζεγγ Nov 24 '17 at 15:20
  • @Kuba So far I have no definite conclusion on the origin. And I put forward my suspicion, neither necessary nor sufficient conditions. Unfortunately, every now and then I suffer from the annoying symptom, even with the "$UserBaseDirectory deletion therapy". – Αλέξανδρος Ζεγγ Nov 28 '17 at 12:40
  • @AlexanderZeng it looks like it is more complicated. Anyway, I've update the answer and I will try to link all related question as duplicates of this one. – Kuba Nov 28 '17 at 12:52
  • I had same problem yesterday. M stopped doing auto-complete for no reason. I deleted my $UserBaseDirectory and when I restarted M, it worked and auto-complete was back. This is very strange. I am using 11.2 on windows 7. I did not do anything myself to cause this. – Nasser Nov 28 '17 at 16:00
  • Just mentioning this page as it addresses one of the questions (some items in "Option Inspector" might be responsible ...). – b.gates.you.know.what Dec 01 '17 at 14:01

2 Answers2

12

I had exactly the same problem today (I have Mathematica 11.2 and Windows 10): the autocomplete suddenly disappeared and neither Ctrl+K or F2 worked.

I don't have any additional packages installed; only the basic Mathematica. I tried clean-starting and that didn't work.

I managed to get autocomplete to work again by deleting the $UserBaseDirectory and restarting:

See also

I hope this helps!

It appears that Shortcuts` package can be involved but it is not clear how, see update in:

https://mathematica.stackexchange.com/a/85824/5478

so before you delete whole $UserBaseDirectory you can try:

Needs @ "Shortcuts`"
UninstallShortcuts[]
(*+restart*)
Kuba
  • 136,707
  • 13
  • 279
  • 740
11

PacletUpdate["EntityFramework"]

should resolve the issue at this point.

ktm
  • 4,242
  • 20
  • 28