Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » completion request
completion request [message #212413] Sat, 22 March 2008 20:53 Go to next message
Eclipse UserFriend
Originally posted by: 1atq3jvqc8cnt24.jetable.net

Hi,

With JDT, you can type only the capitalized letters of a name (camel case)
to get this name from the completion box. For example, if you type "NPE"
and hit Ctrl+Space, you get NullPointerException as a completion proposal.

This would be great if CDT implemented this too, since I find it to be
such a time saver feature.
Re: completion request [message #212598 is a reply to message #212413] Tue, 25 March 2008 15:11 Go to previous messageGo to next message
Mike Jackson is currently offline Mike JacksonFriend
Messages: 128
Registered: July 2009
Senior Member
On 2008-03-22 16:53:52 -0400, 1atq3jvqc8cnt24@jetable.net (Exquisitus) said:

> Hi,
>
> With JDT, you can type only the capitalized letters of a name (camel
> case) to get this name from the completion box. For example, if you
> type "NPE" and hit Ctrl+Space, you get NullPointerException as a
> completion proposal.
>
> This would be great if CDT implemented this too, since I find it to be
> such a time saver feature.

Open the Preferences, do to C++, then editors, then templates, and
create your own.


I have one for :

std::cout << "" << std::endl; that I invoke with sout then ctrl-space..


Works great.

Mike
Re: completion request [message #212626 is a reply to message #212598] Tue, 25 March 2008 18:33 Go to previous message
Eclipse UserFriend
Originally posted by: not.my.mail

This is nice, but what I was suggesting was a more general completion
feature.
Templates are useful, but it wouldn't be reasonable to create a template
for each class name, variable name, etc.
Previous Topic:Build Problem
Next Topic:Announcement: CleanC plugin for analyzing C cide
Goto Forum:
  


Current Time: Sat Jul 27 18:26:40 GMT 2024

Powered by FUDForum. Page generated in 0.03122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top