|
(no subject) [message #675507 is a reply to message #674758] |
Tue, 31 May 2011 17:30 |
Eric Rizzo Messages: 3070 Registered: July 2009 |
Senior Member |
|
|
On 5/28/11 6:02 AM, Mark wrote:
> Hello, I was wondering if there is a way to automatically open
> auto-complete (ctrl+space) when I start typing a word, and I would like
> TAB to select the current suggestion in auto-complete. I searched for
> ages and couldn't find this in options. I use Eclipse Helios with CDT
> plug-in, but this will be useful for all languages. This is something
> that greatly speeds up typing code. They have this in Visual Studio +
> Visual Assist X plugin.
>
> And another awesome suggestion for auto-completion is for it to
> understand acronyms.
> For example: I type in tspo{TAB}.dsis{TAB} and Visual Assist would
> replace it with theSecondParameterObject.doSomeInterestingStuff()
> It even works if you make some typos in the name/acronym (search google:
> visual assist acronyms)
> Is there any chance there is a plug-in to eclipse that does these things?
> Thanks for the help! :)
I don't use CDT, but for Java you can set up auto-activation triggered
by whatever characters you want (the default is .). In Preferences, go
to Java > Editor > Content Assist. CDT probably has a similar option.
As for acronyms, the closest thing is editor templates. I use code
templates, defined in Preferences > Java > Editor > Templates. For
example, I can type "lazy: followed by Ctrl+Space and it inserts the
template for a lazy-initializing getter. It's not quite as context-aware
as what you're describing, but somewhat similar. I don't know of any
plugin that does exactly what you describe, but hey, that's an
opportunity for you to learn plugin development and contribute such a
thing! :-)
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.07637 seconds