Skip to main content
32 votes

Argument completions for user-defined functions

Before you start using this, be aware that this is all undocumented and unsupported functionality. It may change at any time, it may crash Mathematica, and it may bite you when you least expect it. I ...
Szabolcs's user avatar
  • 236k
12 votes

Mathematica notebook autocompletion completely disappears

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; ...
Tobias Osborne's user avatar
12 votes

Is it possible to improve Mathematica's auto-completion feature?

I'm using Mathematica 12.1 and I think the following feature was introduced in version 12. You can add and execute the following code in your notebook: ...
Qbyte's user avatar
  • 469
12 votes

Argument completions for user-defined functions

This can be accomplished with the AddCodeCompletion function in the function repository. Evaluate the following piece of code: ...
C. E.'s user avatar
  • 70.8k
11 votes

How do I add the infobutton in autocomplete that links to the documentation page for package functions?

So I mentioned this in a comment but I'll get it out here for the bounty poster too. Searching for the "JLink`" in the autocomplete directory gave me this: ...
b3m2a1's user avatar
  • 46.9k
11 votes
Accepted

Mathematica notebook autocompletion completely disappears

PacletUpdate["EntityFramework"] should resolve the issue at this point.
ktm's user avatar
  • 4,242
8 votes
Accepted

Sub-packages and auto-completion

So I can provide some clarification and a workaround Clarification First off, this only triggers on the EndPackage: For example, this still allows ...
b3m2a1's user avatar
  • 46.9k
8 votes
Accepted

Function parameters hint for user defined functions?

You have to define its ::usage f1[a_, b_, c_] := Module[{}, Print[a];] f1::usage = "f1[a,b,c] prints the first argument"; ...
vapor's user avatar
  • 7,921
8 votes
Accepted

Can I put Association brackets <| … |> in an autocompletion template?

No, I don't think it's possible. The reason is that built-in symbols are plagued by the same problem. I would actually consider this a bug. It's confusing and hinders usability. Plus, other ...
Szabolcs's user avatar
  • 236k
7 votes
Accepted

Make Complete Selection to show more items

The number of items in the drop-down menu seems to be controlled by the suboption "MaxGlobalMatches" of the option ...
kglr's user avatar
  • 397k
6 votes
Accepted

How to prevent front end from suggesting Symbol option names (when actually String), and from adding them to Global` context

You can use undocumented "OptionNames" property of SyntaxInformation to customize option names suggestions (and coloring of ...
jkuczm's user avatar
  • 15.1k
5 votes
Accepted

Autocomplete in wolfram (the Wolfram Language kernel in a shell)

No, the standard command line interface doesn't support auto-completion. Mathematica is really meant to be used with the notebook interface, and I do not recommend the command line except if it is ...
Szabolcs's user avatar
  • 236k
5 votes
Accepted

Prevent autocompletion for symbols in contexts other than "`Private`"

This is sort of what the `Private` context is meant to be doing for you. You write that you just need more contexts that can behave like Private context for ...
Emilio Pisanty's user avatar
4 votes

Shortcut to open Input Assistant

Just press F2 (I cant accept my own answer as an answer now as a new user)
Smejki's user avatar
  • 71
4 votes
Accepted

User defined template completion with symbols instead of placeholder

The V9 behavior is technically buggy, although it is perhaps worth revisting. One solution to your problem is to explictly include the context in the usage. For example: ...
Itai Seggev's user avatar
  • 14.2k
4 votes

Autocomplete popup slow (>= v12.2)

In case anyone is still interested, I had the same problem in version 12.3, and solved it by going to Preferences/Advanced/Open option inspector/Editing options/Private editing options/...
Mark Wexler's user avatar
3 votes

Autocomplete ordering

I've just tried your exact example on Win10-64 and MMA 12 and Ta + tab in fact autocompletes to Table in my system. You may try ...
MarcoB's user avatar
  • 67.4k
3 votes
Accepted

Bind a key to show autocompletion

The answer: Ctrl/Cmd + K, after you check either "AutoPopupEnable" or "ShowCodeAssist" in the Option Inspector menu. ihojnicki has posted the solution to this question has a ...
José Ferreira's user avatar
3 votes

Autocomplete doesn't work when the CellContext is set to be Notebook (Mathematica 13.3)

Finally, I find the solution. In Preferences -> Interface Settings -> Input Assistance Settings, disable "Use fuzzy matching for autocompletions", autocomplete works again.
Oliver Redman's user avatar
3 votes

How to prevent front end from suggesting Symbol option names (when actually String), and from adding them to Global` context

By convention option names are Symbols, and String equivalents are accepted. For example all the formal Options of Plot are ...
Mr.Wizard's user avatar
  • 272k
3 votes

How to add symbols to autocompletion list

As for Analytic and PolynomialForm, they've been moved here: ...
b3m2a1's user avatar
  • 46.9k
2 votes

How to use alphabetical autocomplete?

Not currently. You should understand though that data from your autocompletion history is just one factor that determines the order of completions. There are other terms in the weighting equation ...
Tom Sherlock's user avatar
2 votes

Shortcut to open Input Assistant

On Windows: ctrl+k, for the input assistant ctrl+shift+k, for argument documentation
Sjoerd C. de Vries's user avatar
2 votes
Accepted

How to create my own inline drop down autocompletion in a text cell?

It isn't customizable in the way you want, but you can get spelling word auto-completions in a text cell. Just open a text cell, type limit and hit Ctrl+K. That might help a bit.
Tom Sherlock's user avatar
2 votes
Accepted

Enable file completion by default?

No, this isn't possible as of version 11.0.0. Since version 9.0.1, auto-completion is handled by a separate service kernel process which is for the exclusive use of the front end and is not user-...
Szabolcs's user avatar
  • 236k
2 votes
Accepted

Is it possible to set autocompletion, when the variable name starts with $, ignore it?

The easiest option would of course be to simply change the variable names to start e.g. with § or any other letter-like character that's easily accessible on your ...
Lukas Lang's user avatar
  • 34.1k
1 vote

Autocomplete in Mathematica 13

The bug has been confirmed by Wolfram support (2022-Jan-26): Hello, Thank you for taking the time to send your report. It does appear that the front-end's AutoComplete feature is not behaving ...
1 vote
Accepted

Nonlinear Model Fitting to Numerical Data with automatic elimination

I'm not a fan of automatically tossing data (although the RANSAC algorithm mentioned by @Roman is great for finding potential outliers - just as long as one doesn't toss data without thinking ...
JimB's user avatar
  • 41.9k
1 vote

Autocomplete popup slow (>= v12.2)

In v14, autocomplete can be accelerated with a trade-off. Disable "Use fuzzy matching for autocompletions", under "Input Assistance Settings", in section "Interface" of &...
V. Virgilio's user avatar
1 vote

Autocomplete and Information icon missing

Thank you all for your help. I received the following two solutions from Mathematica Technical Support. I used Solution 1. It worked. Fortunately, Solution 1 did not require typing in an activation ...
John's user avatar
  • 455

Only top scored, non community-wiki answers of a minimum length are eligible