I wonder if it is possible to improve the front-end's autocomplete capability. Compared with some other more sophisticated editors/IDEs, such as eclipse, Mathematica's front-end does not provide a good autocomplete capability.
The front-end provides an autocomplete feature through (Control|Command)[+Shift]+K
key bindings. But it has several different shortcomings. First off, the key binding is not the easiest one to use. I really prefer Control+Space
or tab
key combination which is used in many other editors rather than the Mathematica's unique Control+K
. However, one can modify the key binding to his own choice.
Second, the function/variable name autocomplete feature, shows a list of options just over the line that you are typing rather than underneath the line. So, you cannot see what you have already typed in:
Compare it with eclipse:
Another nice feature of eclipse, that Mathematica supports a simpler version of through Control+Shift+K
, is the parameter suggestion feature. Once you choose a function/class name from the above list, it shows you another list with all possible function/constructor parameters, which makes the life much more easier.
Eclipse even provides camel case notation:
Is that possible to modify the Mathematica's front-end to support such capabilities?
Note: Here is a list of Mathematica functions/options that might be useful:
NotebookEventActions
,
NotebookSelection
,
CurrentValue
,
Names
.
FE``FC
. Which is a very simple and naive function. Rewriting it could be the basis for an answer here. That having been said, this is radically revamped in v9 (coming soon!), and I wouldn't recommend any answer based upon this notion be applied to v9. $\endgroup$