Questions tagged [autocomplete]

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

Filter by
Sorted by
Tagged with
13 votes
1 answer
188 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 ...
user avatar
18 votes
0 answers
242 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 ...
user avatar
  • 25.3k
0 votes
1 answer
69 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....
user avatar
  • 125
0 votes
0 answers
46 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 ...
user avatar
  • 8,217
2 votes
1 answer
92 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 ...
user avatar
3 votes
0 answers
31 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 ...
user avatar
1 vote
0 answers
23 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 ...
user avatar
  • 928
0 votes
0 answers
54 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 ...
user avatar
  • 11
5 votes
1 answer
107 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?
user avatar
  • 7,085
6 votes
0 answers
137 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 ...
user avatar
1 vote
0 answers
32 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: ...
user avatar
  • 3,600
3 votes
1 answer
103 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 ...
user avatar
7 votes
0 answers
95 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 ...
user avatar
  • 225k
3 votes
0 answers
63 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 ...
user avatar
0 votes
0 answers
270 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?
user avatar
  • 65
4 votes
0 answers
138 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 ...
user avatar
  • 1,949
1 vote
0 answers
63 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 ...
user avatar
17 votes
1 answer
466 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` (...
user avatar
  • 225k
4 votes
1 answer
351 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 ...
user avatar
  • 445
13 votes
2 answers
956 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, ...
user avatar
3 votes
0 answers
108 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 ...
user avatar
  • 211
1 vote
0 answers
66 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 ! ...
user avatar
  • 109k
6 votes
2 answers
146 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 ...
user avatar
  • 19.1k
5 votes
1 answer
121 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?
user avatar
  • 285
3 votes
1 answer
319 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 ...
user avatar
4 votes
0 answers
106 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 ...
user avatar
1 vote
0 answers
48 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 ...
user avatar
  • 366
3 votes
3 answers
770 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 ...
user avatar
  • 71
3 votes
2 answers
252 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 ...
user avatar
  • 4,559
3 votes
0 answers
56 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 ...
user avatar
  • 109k
2 votes
1 answer
43 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?
user avatar
  • 30.4k
10 votes
1 answer
194 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 ...
user avatar
  • 19.1k
26 votes
2 answers
364 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 ...
user avatar
  • 19.1k
4 votes
1 answer
435 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.
user avatar
6 votes
0 answers
409 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 ...
user avatar
  • 4,841
6 votes
1 answer
141 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 ...
user avatar
  • 19.1k
5 votes
1 answer
436 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: <...
user avatar
7 votes
1 answer
209 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 ...
user avatar
2 votes
0 answers
88 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 ...
user avatar
  • 30.4k
11 votes
0 answers
283 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 ...
user avatar
  • 1,513
3 votes
0 answers
85 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 ...
user avatar
  • 3,160
1 vote
0 answers
849 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 ...
user avatar
  • 121
1 vote
2 answers
120 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 , ...
user avatar
  • 15.6k
24 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 ...
user avatar
  • 1,219
1 vote
1 answer
127 views

How to use alphabetical autocomplete?

Mathematica maintains a file with the history of commands input by the user (under ...
user avatar
  • 10.7k
3 votes
0 answers
36 views

Browse and Import local files with inline autocomplete? [duplicate]

Inline auto-complete is convenient: Can it be extended to browse and import local filesystem? I'm aware of the [[Experimental]] (since V 9?) AutoComplete could be used interactively with ...
user avatar
  • 14.8k
11 votes
1 answer
306 views

How to add symbols to autocompletion list

There are some built-in Mathematica symbols that I use quite frequently but are not included in the autocompletion list in the front end. Examples are Analytic and ...
user avatar
  • 19.1k
4 votes
0 answers
279 views

Autocomplete not working with tab key in Mathematica 10.3 on Ubuntu

When I want to autocomplete a function I can't use Tab key to expand what I typed in. If I press Tab, it escapes the popup suggestion menu. Autocomplete only works if I press Enter. Furthermore, once ...
user avatar
10 votes
0 answers
150 views

Autocomplete is too greedy with the mouse

I have a frustrating user experience problem in Linux; a common occurrence when using the notebook might go like: I have, for some reason, used the mouse (e.g. to place the cursor) and then move the ...
user avatar
3 votes
0 answers
119 views

Why does Mathematica 10 autocomplete not work with \[Breve]?

Let us define the following symbol: v˘name (The Brave (˘) is typed by entering [EscapeKey]bv[EscapeKey].) In Mathematica 9, this symbol name is shown as a ...
user avatar