Questions tagged [autocomplete]

About using and customizing the front-end's auto-completion feature

Filter by
Sorted by
Tagged with
2 votes
1 answer
47 views

Bind a key to show autocompletion

I've searched for a feature which is usually available in most IDEs where you are able to de-activate autocomplete and by pressing a key, usually Tab, the autocompletion pops up and you can either ...
José Ferreira's user avatar
0 votes
0 answers
61 views

Automatic evaluation of a function for variable values defined from different data tables in the attachments

I want to evaluate a function whose variable values are defined in different data files. I want to know that how can I write code such that when the function's evaluation is exhausted for one table, ...
SciJewel's user avatar
  • 361
2 votes
0 answers
34 views

Where are user-defined usage messages stored in the front-end for autocomplete stored -- and how can I clear them out?

I am writing some code which automatically sets the usage messages for a function, and I am having some trouble iterating on it, particularly in getting it to work correctly in the autocomplete. At ...
Emilio Pisanty's user avatar
3 votes
1 answer
97 views

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

I am using mathematica 13.3. When the CellContext option is "Global" the autocomplete works fine. I would like to have individual variable in each notebook, so I use the following command: <...
Oliver Redman's user avatar
0 votes
1 answer
59 views

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

I need to use variables like \$ + capital letters(\$A,\$B,...) frequently in a project, the default autocomplete always pops up automatically, in most cases, it's a distraction. Can we set Mathematica ...
expression's user avatar
  • 5,572
2 votes
0 answers
36 views

Auto completion starting from anywhere in the name

Edit: After reading the last answer from the related question mentioned below I saw that it was all I needed. What I would like I would like to type Comp and automatically see auto complete ...
userrandrand's user avatar
  • 5,807
13 votes
1 answer
265 views

Autocomplete in Mathematica 13

Bug introduced in 13.0.0 If I type f[x_Inte and hit Tab to autocomplete, MMA correctly autocompletes this into f[x_Integer. But ...
AccidentalFourierTransform's user avatar
19 votes
0 answers
266 views

New Needs alias - How to make autocomplete works

Mathematica 13 has a cool new feature for Needs. Now it's possible to use alias: Here is a simple doc example: The problem is, the autocomplete do not work for ...
Murta's user avatar
  • 26.2k
0 votes
1 answer
74 views

Nonlinear Model Fitting to Numerical Data with automatic elimination

I have an experimental data set {f,x,y,z} as {{300., 2., 4., 6.}, {500., 0., 4., 25.}, {6600., 1., 15., 9.}, {100., 5., 0., 2.}, {1100., 10., 8., 1.}, {1300., 7., 8., 18.}, {300., 23., 5., 0.}, {400....
Anh's user avatar
  • 125
0 votes
0 answers
118 views

How to use the autocomplete for built-in function's argument for a user defined symbol?

Suppose I have myFunction as follows: ClearAll[myFunction]; myFunction[unitName_,somethingElse_]:=...definition...; I want to ...
user13892's user avatar
  • 9,255
4 votes
1 answer
159 views

Autocomplete popup slow (>= v12.2)

On my Windows systems, the autocomplete popup takes extremely long to appear (1-2 secs). This makes typing in Mathematica very uncomfortable for me, as the interface effectively freezes for these 1-2 ...
tauAlphaC's user avatar
3 votes
0 answers
40 views

Missing Hover and Autocomplete INFO Buttons for Custom Paclet

I've built my own paclet application with documentation using Workbench 3 (Eclipse add-in 10.1.822) with MM 12.1 (there are currently issues with 12.2-3 and the only Workbench add-in update, which I'm ...
Jeff Henning's user avatar
2 votes
0 answers
62 views

Autocomplete file argument for custom function

When typing Import[" in a notebook Mathematica suggests to autocomplete the file path you want to enter or choose a file using the GUI. Is there a way to let a ...
Gert's user avatar
  • 1,480
0 votes
0 answers
71 views

Function template failed to use in Notebook context

For some reason, I need to set the Notebook context as the default context. And I follow the methods in https://reference.wolfram.com/language/ref/menuitem/MakeTemplate.html to define a function ...
Mr.qin's user avatar
  • 11
5 votes
1 answer
125 views

Boxes with autocompletion

Entities have this nice autocompletion of properties: How do I define autocompletion for my own boxes that behave the same way?
swish's user avatar
  • 7,781
6 votes
0 answers
156 views

A Curiosity: What is DispatchQ?

As shown below, my autofill in Mathematica showed an interesting function: DispatchQ. Yet, it does not appear in the Mathematica Documentation Center, a search for ...
Just Some Old Man's user avatar
1 vote
0 answers
34 views

Creating a Package with autocomplete possibilities [duplicate]

I'm writing a package (nothing complicated) where I define a lookup function for a defined association. As an Example: ...
Lou's user avatar
  • 3,822
4 votes
1 answer
137 views

Autocomplete ordering

I'm using 12.0.0 for Microsoft Windows (64-bit), and the autocomplete feature is a bit of a mess. In previous versions I used to be able to type ...
AccidentalFourierTransform's user avatar
7 votes
0 answers
99 views

Exclude functions from auto-completion

Is there a way to exclude a function from auto-completion? Suppose that you are developing a package, and in the next version a function will be deprecated. It is better not to auto-complete it so ...
Szabolcs's user avatar
  • 234k
3 votes
0 answers
67 views

File selection dialog in autocomplete [duplicate]

How can I create the autocomplete for the function with opening file selection dialog? For example like a autocomplete of the SystemOpen UPD: the answer to the ...
Kirill Belov's user avatar
0 votes
0 answers
443 views

How to automatically load the ToMatlab toolbox when opening the software? [duplicate]

I would like to convert the formula to Matlab, but each time I want to run the ToMatlab file, is there any way to automatically load the ToMatlab component when launching the software?
Seeds's user avatar
  • 65
4 votes
0 answers
146 views

Mathematica 11.3 no longer uses CodeAssistHistory Information to Order Autocomplete Results?

In previous versions of Mathematica I'm reasonably sure that the auto suggestions that appear when you begin typing were ordered by the frequency when you would use them. (I.e. typing "In" would ...
1110101001's user avatar
  • 1,979
1 vote
0 answers
71 views

Completion boxes are blacked out

I have a weird "bug" that seems to happen at random. In some files, even simple ones that evaluate fine at first, the auto-completion boxes get blacked out after a few evaluations. The lines of the ...
Francois Vigneron's user avatar
19 votes
1 answer
566 views

Sub-packages and auto-completion

Cross-posted on Wolfram Community I have a Mathematica application that consists of two sub-packages, corresponding to the contexts foo` (...
Szabolcs's user avatar
  • 234k
4 votes
1 answer
400 views

Autocomplete and Information icon missing [duplicate]

Mathematica Version 11.2 desktop / Windows 10 Pro 64-bit Autocomplete and Information icon no longer appear. Practicalities of Using the Wolfram Language Is there some setting someplace where I ...
John's user avatar
  • 455
13 votes
2 answers
1k views

Mathematica notebook autocompletion completely disappears

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, ...
Αλέξανδρος Ζεγγ's user avatar
3 votes
0 answers
111 views

Front end autocomplete popup becomes black

I have an annoying problem with Mathematica front end. Sometimes, the autocomplete popup becomes black and the content becomes unreadable as shown in the attached image. This can be fixed by ...
JNL's user avatar
  • 211
1 vote
0 answers
70 views

Why auto-completion menu selection gives error?

Is this supposed to happen? I used the auto-completion menu and selected a valid value it shows (first one from the menu), then Mathematica complained that the choice selected is not valid ! ...
Nasser's user avatar
  • 142k
6 votes
2 answers
165 views

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

Help! I am writing a package with a function which takes lots and lots of different options which are Strings. When used, the front end autocompletion is ...
QuantumDot's user avatar
  • 19.6k
6 votes
1 answer
134 views

Make Complete Selection to show more items

The Complete Selection function only shows 5 suggestions with others collapsed. Is there a way not to collapse other items when I press ctrl-k?
Gqqnbig's user avatar
  • 307
4 votes
1 answer
336 views

Mathematica crashes during auto-complete on Mac OS X

Mathematica crashes when I type in a few characters. This has been addressed and solved before on the forum. The answer is that a very large file has been created, and once you delete it, the problem ...
Jim Napolitano's user avatar
4 votes
0 answers
156 views

How to get rid of a built-in context from autocomplete?

I have noticed that when I type the name of built-in function Limit in Mathematica, the autocomplete suggests two variants at the top: the first one is the working ...
user372003's user avatar
1 vote
0 answers
50 views

How do I activate the infobutton that links to the documentation page for package functions [duplicate]

When typing the name of a built-in function like Integrate, the button () appears next to that name in the autocomplete: But in my self-defined application,it doesn't works Also, the button is gray ...
xiang's user avatar
  • 366
3 votes
3 answers
897 views

Shortcut to open Input Assistant

tl;dr the answer is F2 How can I re-open the Input Assistant after I've mistakenly closed it? E.g. Write the command Plotand ...
Smejki's user avatar
  • 71
3 votes
2 answers
301 views

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

Mathematica has a nice dropdown feature when typing along in an input cell. If I type "Pl" a dropdown appears with options on how I can complete the command. It's basically a shortcut. I can then ...
B flat's user avatar
  • 5,513
3 votes
0 answers
62 views

autocomplete menu missing other options due to white space. How does space affect autocompletion?

I do not know if this was mentioned before. And I do not know if this is by design or not. But I noticed when starting to insert an option, in the middle of other options, the pop-up menu that comes ...
Nasser's user avatar
  • 142k
2 votes
1 answer
44 views

Enable file completion by default?

File completions work for Import and Get but not with << syntax as you can see: Is there some way to enable this?
M.R.'s user avatar
  • 31.4k
10 votes
1 answer
205 views

User defined template completion with symbols instead of placeholder

In Mathematica 9, the following usage definition generates the corresponding template (obtained by ctrl+shift+K after typing out ...
QuantumDot's user avatar
  • 19.6k
26 votes
2 answers
422 views

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

When typing the name of a built-in function like Integrate, the button (ℹ︎) appears next to that name in the autocomplete: But I don't get that (ℹ︎) button for my ...
QuantumDot's user avatar
  • 19.6k
4 votes
1 answer
494 views

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

Is is possible to have an autocomplete feature in the CLI of Wolfram Language kernel? I use the Raspberry Pi edition.
Mateusz Piotrowski's user avatar
6 votes
0 answers
421 views

Mathematica 11 introduced strange autocomplete bug

today i upgraded from MM 10.4.1 (which run without any problems) to MM 11. But for me, it introduced a strange autocomplete-bug. When i try to type in "Plot" i get a huge (>5seconds) lag when i come ...
Julien Kluge's user avatar
  • 5,335
6 votes
1 answer
155 views

Prevent autocompletion for symbols in contexts other than "`Private`" [duplicate]

I've been working on a Mathematica package (call it QuantumDot) that has become huge. Right now, all the back-end helper functions are in context ...
QuantumDot's user avatar
  • 19.6k
5 votes
1 answer
487 views

Function parameters hint for user defined functions?

f1[a_, b_, c_] := Module[{}, Print[a]; ] Completion Ctrl-Shift-K doesn't have hint for function arguments. So I have to copy function arguments nearby: <...
AS3Boyan's user avatar
7 votes
1 answer
227 views

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

I have a function f which takes as one of its arguments an Association object, and I would like to produce a nice usage message ...
Emilio Pisanty's user avatar
2 votes
0 answers
95 views

File path autocompletion options?

Suboptions like "FileCompleteEnable" in CodeAssistOptions are new in v10. Are there any options I can exercise with respect to the behavior of filepath autocompletion? Then is there anyway to set the ...
M.R.'s user avatar
  • 31.4k
11 votes
0 answers
318 views

Creating compiled search TRIE file for argument string completion

I'd like to generate a compiled search TRIE file (like those found in $InstallationDirectory\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency\) to help ...
Rashid's user avatar
  • 1,523
3 votes
0 answers
87 views

Possible reduced GUI performance in 10.4

I have observed significantly reduced performance in GUI in Mathematica v10.4. This is especially visible in autocomplete feature delays. This is very evident when I turn some power saving features ...
atapaka's user avatar
  • 3,874
1 vote
0 answers
870 views

Mathematica crashing when attempting autocompletion [closed]

I have been using Mathematica 10.4 Student Edition since months and it worked just fine on my Asus X552C (Ubuntu 14.04). Three or four days ago the problem started. Whenever I try to type something ...
quanta's user avatar
  • 121
1 vote
2 answers
129 views

Why autocompletion of file name is not working in notebookdirectory?

I use windows system and Mathematica 10 The default working directory is c:\\user\\name\\document If I type Import["xx , ...
matheorem's user avatar
  • 17.1k
25 votes
1 answer
2k views

Segmentation fault on auto-complete

My front-end freezes as soon as I type more than two letters in a notebook. I think the error occurs, when the auto-complete feature kicks in. If Mathematica was started from a terminal, the following ...
murphy's user avatar
  • 1,249