Hi Norberto,
There is OK CEDET support for MATLAB on the sourceforge site, but it isn’t very
broad. As such, you should be able to setup autocomplete and CEDET for MATLAB
the same as C or some of the other supported languages. If you also want
MATLAB shell based completions, no one has tried to link those two things
together.
To use auto-complete with M-shell, someone would need to write an auto-complete
backend that just calls to the same routine that TAB in M-shell uses. I’ve
never created a backend for that, but on the MATLAB shell side you can use `
matlab-shell-completion-list’ to get completions from a string, or copy out
chunks of ` matlab-shell-tab’ to get the current text from the shell buffer.
Eric
From: Norberto Degara [mailto:norberto.deg...@gmail.com]
Sent: Thursday, July 03, 2014 12:23 PM
To: matlab-emacs-discuss@lists.sourceforge.net
Subject: [Matlab-emacs-discuss] Tab-completion (auto-complete) in matlab-mode,
not in M-shell
Hi all,
I'm new to the use of matlab+emacs. I've configured my .emacs so as I'm able to
get tab competition in M-shell. However, I'd like to have auto-complete to work
together with cedet semantic to get competition suggestions when editing my .m
files in matlab-mode (not in M-shell mode).
How do I tell autocomplete to use Matlab sources? Is this possible?
Also, I would like to keep the default mode of auto-completition in M-shell.
That is, a pop-up window and a yellow win help information instead of having a
separate mini-buffer when hitting twice tab. Any ideas/suggestions?
Thanks!
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss