Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Context senistive help for c/c++ if using Cygwin?
Context senistive help for c/c++ if using Cygwin? [message #175034] Fri, 18 August 2006 14:51 Go to next message
Eclipse UserFriend
Originally posted by: use.net.cakruege.neverbox.com

Hello,

is it possible to get a context sensitive help in CDT like in java?
If I hover "System.out.println();" in java I get:
void java.io.PrintStream.println()
Terminate the current line by writing the line separator string. The line
separator string is defined by the system property line.separator, and is
not necessarily a single newline character ('\n').

greetings
Carsten
--
http://got.to/quote - richtig zitieren | http://oe-faq.de/ - OE im Usenet
http://www.realname-diskussion.info - Realnames sind keine Pflicht
http://www.spamgourmet.com/ + http://www.despammed.com/ - Antispam-Email
cakruege (at) gmail (dot) com | http://www.geocities.com/mungfaq/
Re: Context senistive help for c/c++ if using Cygwin? [message #175115 is a reply to message #175034] Mon, 21 August 2006 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Carsten,

CDT does not have this sort of "documentation hover" out of the box. You
could supply your own help provider but that takes writing your own plug-in
with the right extensions and Java classes. (Ask me if you want more
information ...)

Cheers,


Norbert
Re: Context senistive help for c/c++ if using Cygwin? [message #175188 is a reply to message #175115] Tue, 22 August 2006 08:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: use.net.cakruege.neverbox.com

Am Mon, 21 Aug 2006 18:01:07 +0200 schrieb Norbert Ploett:
>
> CDT does not have this sort of "documentation hover" out of the box.

oh, I tought that version 3 is so mature that it has such a feature.

> You could supply your own help provider but that takes writing your own plug-in
> with the right extensions and Java classes. (Ask me if you want more
> information ...)

I don't think that I could do that.

greetings
Carsten
--
http://got.to/quote - richtig zitieren | http://oe-faq.de/ - OE im Usenet
http://www.realname-diskussion.info - Realnames sind keine Pflicht
http://www.spamgourmet.com/ + http://www.despammed.com/ - Antispam-Email
cakruege (at) gmail (dot) com | http://www.geocities.com/mungfaq/
Re: Context senistive help for c/c++ if using Cygwin? [message #175272 is a reply to message #175188] Wed, 23 August 2006 01:44 Go to previous messageGo to next message
Eclipse UserFriend
Carsten,

> oh, I tought that version 3 is so mature that it has such a feature.

this is not only a question of maturity but also a question of who has
authoritative documentation of the C/C++ language and the standard libraries
and is willing to publish them under the eclipse license. There was an
interesting post in thread "Re: C++ Language Reference within CDT" on
2006-08-22 about such online documentation.

(see message id <d75d78ec7158bf696941cef3d3cc323a$1@www.eclipse.org>)

Cheers,


Norbert
Re: Context senistive help for c/c++ if using Cygwin? [message #175302 is a reply to message #175272] Wed, 23 August 2006 06:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: use.net.cakruege.neverbox.com

Am Wed, 23 Aug 2006 07:44:02 +0200 schrieb Norbert Ploett:

> this is not only a question of maturity but also a question of who has
> authoritative documentation of the C/C++ language and the standard libraries
> and is willing to publish them under the eclipse license.

Why should this matter?
It should be extracted from the original documentation of the used
compiler.
The ISO-Standard-help would be little bit to few.
No POSIX, no windows-API etc.
Problematic are third party classes because their is no defined helpformat.

greetings
Carsten
--
http://got.to/quote - richtig zitieren | http://oe-faq.de/ - OE im Usenet
http://www.realname-diskussion.info - Realnames sind keine Pflicht
http://www.spamgourmet.com/ + http://www.despammed.com/ - Antispam-Email
cakruege (at) gmail (dot) com | http://www.geocities.com/mungfaq/
Re: Context senistive help for c/c++ if using Cygwin? [message #175310 is a reply to message #175302] Wed, 23 August 2006 07:08 Go to previous messageGo to next message
Eclipse UserFriend
What you suggest is clearly a copyright violation of the material from
the "original documentation of the used compiler."

http://en.wikipedia.org/wiki/Copyright_violation

If the license holder of the original compiler contributed this
documentation to the CDT under EPL, then this feature would be possible
-- otherwise there is little chance of it happening.

- Dave


Carsten Krueger wrote:
> Am Wed, 23 Aug 2006 07:44:02 +0200 schrieb Norbert Ploett:
>
>> this is not only a question of maturity but also a question of who has
>> authoritative documentation of the C/C++ language and the standard libraries
>> and is willing to publish them under the eclipse license.
>
> Why should this matter?
> It should be extracted from the original documentation of the used
> compiler.
> The ISO-Standard-help would be little bit to few.
> No POSIX, no windows-API etc.
> Problematic are third party classes because their is no defined helpformat.
>
> greetings
> Carsten
Re: Context senistive help for c/c++ if using Cygwin? [message #175318 is a reply to message #175310] Wed, 23 August 2006 07:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: use.net.cakruege.neverbox.com

Am Wed, 23 Aug 2006 07:08:41 -0400 schrieb David Daoust:

> What you suggest is clearly a copyright violation of the material from
> the "original documentation of the used compiler."

No.
It should not be copied and distributed with CDT but extracted in realtime
like with java.

greetings
Carsten
--
http://got.to/quote - richtig zitieren | http://oe-faq.de/ - OE im Usenet
http://www.realname-diskussion.info - Realnames sind keine Pflicht
http://www.spamgourmet.com/ + http://www.despammed.com/ - Antispam-Email
cakruege (at) gmail (dot) com | http://www.geocities.com/mungfaq/
Re: Context senistive help for c/c++ if using Cygwin? [message #175350 is a reply to message #175318] Thu, 24 August 2006 00:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ahanwadi+cdt.gmail.com

Maybe we can use the "man pages" as a reference for system and library
calls. Also, I know vim has a plugin that comes with C/C++ reference.
Re: Context senistive help for c/c++ if using Cygwin? [message #175365 is a reply to message #175350] Thu, 24 August 2006 02:01 Go to previous messageGo to next message
Eclipse UserFriend
Ashish,

I think your approach is valid if man is called in the background and it's
output is reworked in an eclipse plugin to become a html help page. This is
because calling a tool and using it via a pipe is allowed by the GPL.
On the other hand it would not be allowed to package the man documentation
files inside the plugin and extract the information directly.

Actually I have thought of creating such a man page help provider but have
not yet found the time. I think that man based help is pretty generic and
available on most platforms. Any volunteers? Post suggestions to cdt-dev,
create a bugzilla and submit your patches. I'll evaluate them and commit
them if they are good :-)

Similar thoughts are valid, e.g. for .chm help provider ...

Cheers,

Norbert


"Ashish" <ahanwadi+cdt@gmail.com> wrote in message
news:e89111c40b0b3986119b31b9b473d7a5$1@www.eclipse.org...
> Maybe we can use the "man pages" as a reference for system and library
> calls. Also, I know vim has a plugin that comes with C/C++ reference.
>
>
Re: Context senistive help for c/c++ if using Cygwin? [message #175493 is a reply to message #175365] Fri, 25 August 2006 07:27 Go to previous message
Eclipse UserFriend
Originally posted by: use.net.cakruege.neverbox.com

Am Thu, 24 Aug 2006 08:01:19 +0200 schrieb Norbert Ploett:

> I think your approach is valid if man is called in the background and it's
> output is reworked in an eclipse plugin to become a html help page. This is
> because calling a tool and using it via a pipe is allowed by the GPL.

Exact that is my idea, I didn't explained ist good. But maybe not calling
the command "man" but building a manpage reader for CDT.

> On the other hand it would not be allowed to package the man documentation
> files inside the plugin and extract the information directly.

ACK

> Similar thoughts are valid, e.g. for .chm help provider ...

ACK

greetings
Carsten
--
http://got.to/quote - richtig zitieren | http://oe-faq.de/ - OE im Usenet
http://www.realname-diskussion.info - Realnames sind keine Pflicht
http://www.spamgourmet.com/ + http://www.despammed.com/ - Antispam-Email
cakruege (at) gmail (dot) com | http://www.geocities.com/mungfaq/
Previous Topic:Adding New Tab Extension to CDT
Next Topic:CDT builds all C projects before launch
Goto Forum:
  


Current Time: Sun Jun 08 02:30:37 EDT 2025

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

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

Back to the top