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

learn more… | top users | synonyms

2
votes
0answers
19 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 ...
3
votes
0answers
68 views
+50

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 ...
11
votes
1answer
238 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 ...
3
votes
0answers
40 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
107 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
45 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 , ...
1
vote
0answers
39 views

How to use alphabetical autocomplete?

Mathematica maintains a file with the history of commands input by the user (under ...
2
votes
0answers
23 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 ...
10
votes
0answers
157 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 ...
3
votes
0answers
111 views

Autocomplete not working with tab key on Mathematica 10.3 Linux

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 ...
8
votes
0answers
84 views

How can autocomplete entries be added for DownValues and Properties?

I'd like to assign DownValues to a symbol like this x["firstvalue"] = 1; x["secondvalue"] = 2; And then have the ...
10
votes
0answers
154 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" ...
9
votes
0answers
78 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
58 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
102 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
75 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)
12
votes
4answers
562 views

Autocomplete InputField

Is there a way to define a InputField that displays a list of options as you type? More specifically I'm looking for an ...
16
votes
1answer
203 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, ...
6
votes
1answer
90 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 ...
3
votes
2answers
140 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 ...
1
vote
0answers
61 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
80 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 ...
21
votes
1answer
281 views

File-name completion for custom functions

Mathematica 10 has introduces file name completion. It works only with certain built-in functions such as Import, SetDirectory, ...
7
votes
1answer
170 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 ...
3
votes
1answer
96 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.
1
vote
0answers
101 views

Auto-complete for user defined functions [duplicate]

If I define a symbol in Mathematica, it doesn't show up in the autocomplete list that works for symbols in System. Test code: ...
3
votes
0answers
60 views

Autocomplete from inside Module and SetDelayed

Autocomplete in Mathematica 9 offers suggestions from inside SetDelayed and Module. For example, after running: ...
6
votes
0answers
97 views

Mathematica 9 Autocomplete Pop-up issue

I've just installed Mathematica 9.0.1 Student Edition on my Laptop and my Home PC. On my Laptop, it works just fine. But on my Home PC I get this weird issue of the pop-up command autocomplete window ...
3
votes
1answer
261 views

Autocomplete short symbol names in non-global context

Is it possible in v9 to autocomplete the short symbol names when one is operating in a context other than Global`? I.e. after evaluating the following: ...
2
votes
1answer
320 views

Function definitions in init.m don't work

I can't get any function defined in $UserBaseDirectory/Kernel/init.m to work. For example: ...
1
vote
1answer
163 views

Function input assistance not working in Mathematica 8?

I'm sorry if this not allowed here. On one computer (maybe with a newer version of Mathematica?) the autocomplete/input assistance for functions works perfectly: when I start typing one like ...
1
vote
0answers
157 views

Question about variable name autocompletion in $Mathematica$ 9 on OS X

For the command autocompletion, I can simply use Ctrk+K and then use Return or Tab to choose the completion. But when I want to autocomplete the local variables I have input, Ctrk+K works, but both ...
11
votes
1answer
171 views

Functions returns Command Completion Output

Is there a function that returns the output as if you invoked Command Completion. To help clarify I am looking for a function that returns the Cell Data as if you invoked ...
9
votes
0answers
126 views

Esc-esc for special characters and autocomplete in Mathematica 9 [duplicate]

I recently upgraded to Mathematica 9 and have noticed a slightly annoying behavior that I was looking to remedy. In the past I would type special characters, e.g. ...
9
votes
1answer
139 views

Is it possible to make v9 ignore case when completing names?

In v8, I could type, say, fulls or texf to get FullSimplify or ...
55
votes
2answers
2k views

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

In this answer Brett Champion describes how one can intercept and modify the suggestions used for auto-completion. Question: Is it possible to modify the suggestion for the automatic auto-completion ...
0
votes
1answer
198 views

Autocomplete not working on Mma9 on Linux

I started using Mathematica 9 on Ubuntu 12.10 and, sometimes, autocomplete doesn't work. The suggestions window shows up for just a fraction of second, and quickly disappears. Do you have any idea on ...
25
votes
2answers
788 views

Template completion

In version 8, if one evaluates test::usage="test[x,y]"; then types test, then shift-cmd-k (or shift-ctrl-k), a template ...
11
votes
2answers
449 views

How can I overload autocompletion to work with full contexts?

I would like for the autocomplete feature to search through contexts, for example if I have a symbol named A`B`C`MyFunction, when I type A` and press "cmd + shift + k" it will complete it. Edit To ...
12
votes
3answers
608 views

How to make the suggestion box appear?

When you type a function in Matlab, quickly a suggestion box comes up showing functions similar to the one you're typing. I thought that Mathematica didn't have this but one day, I typed half of a ...
15
votes
2answers
779 views

Command Completion

Note: As of version 9, this functionality is available and works out of the box. I've a few questions about Command Completion in Mathematica. I recently discovered this feature, and it's really ...
15
votes
2answers
392 views

Auto-completion doesn't work as my expectation in version 9.0

When I input the following line in version 8, and press Ctrl+K after Re, I can get a drop-down auto-completion list including ...