Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autocomplete]

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

7
votes
0answers
68 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 ...
3
votes
0answers
52 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 ...
0
votes
0answers
112 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?
4
votes
0answers
108 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 ...
1
vote
0answers
51 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 ...
15
votes
1answer
293 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` (...
4
votes
1answer
204 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 ...
12
votes
2answers
576 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, ...
3
votes
0answers
95 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 ...
1
vote
0answers
60 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 ! ...
5
votes
2answers
116 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 ...
5
votes
1answer
103 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?
3
votes
1answer
291 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 ...
4
votes
0answers
100 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 ...
1
vote
0answers
45 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 ...
3
votes
3answers
375 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 ...
3
votes
1answer
113 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 ...
3
votes
0answers
43 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 ...
2
votes
1answer
41 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?
10
votes
1answer
164 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 ...
25
votes
1answer
280 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 ...
3
votes
1answer
215 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.
6
votes
0answers
383 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 ...
6
votes
1answer
118 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 ...
4
votes
1answer
270 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: <...
7
votes
1answer
156 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 ...
2
votes
0answers
60 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 ...
10
votes
0answers
244 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 ...
3
votes
0answers
79 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 ...
1
vote
0answers
795 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 ...
1
vote
2answers
88 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 , ...
23
votes
1answer
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 ...
1
vote
1answer
107 views

How to use alphabetical autocomplete?

Mathematica maintains a file with the history of commands input by the user (under ...
3
votes
0answers
31 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 ...
11
votes
1answer
249 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 ...
4
votes
0answers
252 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 ...
10
votes
0answers
118 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 ...
3
votes
0answers
106 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 ...
5
votes
0answers
131 views

More frugal display of usage messages in auto-completion popup – possible? [duplicate]

Update: I think the more general question I should have asked is: How should I write usage messages to work well with auto-completion? Is there documentation on how to prepare a package for convenient ...
7
votes
0answers
88 views

Strange behavior of autocomplete for ColorData [closed]

I'm seeing very weird behavior when autocompleting: Not sure if this is a bug. Is it? (I have OSX v10.2)
4
votes
1answer
216 views

Some symbols do not auto-complete in version 10 and version 11

When I input Backsub in Mathematica 10.2 and press Ctrl+K after, I couldn't get Backsubstitution. My OS is Windows 8 32-bit. ...
7
votes
1answer
211 views

Completion in terminal?

I know that it is possible to run Mathematica in Terminal. But I didn't find a way to get completion work in Terminal. I mean completion by ...
24
votes
1answer
464 views

Prompt a set of possible options

Recent versions of Mathematica dynamically prompt a list of possible options. For example, when typing Plot[x, {x,0,1}, PlotStyle-> After typing the arrow, ...
1
vote
0answers
81 views

Can mathematica be configured to auto pair different parenthese?

In DrRacket, the editor can auto pair different parentheses, for example code like (let [(x 3 and whether press ) or ...
1
vote
0answers
103 views

Auto-completion for option values in user-defined functions [duplicate]

In here, and all it's closely related links, I cant find anything that tells me how to set a list of the optional arguments. All I want is something like this ...
36
votes
3answers
872 views

Argument completions for user-defined functions

Mathematica 10 has introduced file name completion for the arguments of certain built-in functions, such as Import, SetDirectory,...
12
votes
0answers
214 views

Autocomplete of non-global functions

In Mathematica 9 and 10 they added autocompletion. Out of the box this works great, but when I set the CellContext to "Notebook" ...
7
votes
1answer
186 views

Remove variable from autocomplete - version 10 issue?

I've got a program that's fairly long. Occasionally I ClearAll some lists that I created. That works fine, but those lists continue to show up in the autocomplete. Is there anyway to remove them ...
4
votes
1answer
203 views

Can tab just mean “insert tab character”?

Is there a way to set the tab key to simply insert the tab character in a notebook? I often find the sometimes mysterious "features" bound to that key detrimental.
3
votes
2answers
241 views

ContextPath and autocompletion with subpackages

I'm developing a larger package which includes several subpackages. My problem is, that I can't introduce the symbols in the subpackages to the autocompletion by loading the main package, but by ...