Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] FW: [ptp-dev] Regular vs. Remote C/C++ editor ( [Bug 362499] C/C++ Mark Occurrences is difficult to turn off)

FYI.

 

From: Doug Schaefer [mailto:cdtdoug@xxxxxxxxx]
Sent: Wednesday, November 02, 2011 11:15 AM
To: Parallel Tools Platform general developers; Schaefer, Doug
Subject: Re: [ptp-dev] Regular vs. Remote C/C++ editor ( [Bug 362499] C/C++ Mark Occurrences is difficult to turn off)

 

It's too bad the RDT isn't architected as an extension of CDT rather than a replacement. Server-side C++ development is going to be hot in the web app world, IMHO, and it would be nice to have a pretty good solution for it that plays well with client side at the same time, e.g. with Google's Native Client (NaCl).

On Wed, Nov 2, 2011 at 10:22 AM, Chris Recoskie <recoskie@xxxxxxxxxx> wrote:

Mark occurrences would have to be remote-ized to get it to truly work properly.

The Remote C/C++ editor will be the default but if you do not have a remote project it will default to the existing local C/C++ behaviour.

You can't really mess with the file associations right now. The platform guys are talking about putting an arbitration mechanism in, in order to allow ISVs to specify how they want to associate editors, but this does not exist yet. Right now the last editor association to a content type wins and is the default.

===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto

Inactive hide details for Beth Tibbitts ---11/02/2011 08:04:05 AM---Anybody know how we can fix the remote C/C++ editor to haveBeth Tibbitts ---11/02/2011 08:04:05 AM---Anybody know how we can fix the remote C/C++ editor to have the mark occurrences button (and behavio


From:


Beth Tibbitts <tibbitts@xxxxxxxxxx>


To:


ptp-dev@xxxxxxxxxxx


Date:


11/02/2011 08:04 AM


Subject:


[ptp-dev] Regular vs. Remote C/C++ editor ( [Bug 362499] C/C++ Mark Occurrences is difficult to turn off)


Sent by:


ptp-dev-bounces@xxxxxxxxxxx





Anybody know how we can fix the remote C/C++ editor to have the mark occurrences button (and behavior) of the regular C/C++ editor?
Do we still need the remote editor if we are doing sync projects?
I guess we can fix the file assoc? The content types pages says ".c(locked)" and it won't let me change anything, plus I can't see the association with the remote editor.

When RDT is installed the Remote C/C++ editor is the default.


...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
----- Forwarded by Beth Tibbitts/Watson/IBM on 11/02/2011 07:53 AM -----

From:


bugzilla-daemon@xxxxxxxxxxx

To:


Beth Tibbitts/Watson/IBM@IBMUS

Date:


11/02/2011 06:29 AM

Subject:


[Bug 362499] C/C++ Mark Occurrences is difficult to turn off





https://bugs.eclipse.org/bugs/show_bug.cgi?id=362499
Product/Component: CDT / cdt-editor

--- Comment #1 from Anton Leherbauer <anton.leherbauer@xxxxxxxxxxxxx> 2011-11-02 06:28:47 EDT ---
(In reply to comment #0)
> Mark Occurrences formerly had a button in the toolbar (looks like a yellow
> highlighter) to toggle it on/off.
> But it's been missing for a while.

This works for me.
Note that the button appears and enables only when a C/C++ Editor has the
focus.
We haven't changed that behavior for a very long time and it is exactly the
same as JDT's.

> I used to turn it off with
> Alt-shift-O   but on my Mac this *also* adds an 'o' character in the file being
> edited.
> But it does turn it off.
> Upon further investigation (like reading the hover help on the button in the
> Plug-in Dev Perspective, where it still resides) maybe I'm supposed to do
> Alt-Cmd-O (aka Option-Cmd-O on Mac)
> and this does toggle it without inserting a character.

Since bug 298696 we have aligned key bindings with those of JDT, ie. on carbon
you need to press Option+Command+O to toggle mark occurrences.

> I always like to show this in tutorials and I'm about to do another one.
> How *should* the user be turning it off - does something work consistently in
> all platforms?
> Can we put the button back into the C/C++ perspective?

Are you maybe using some C/C++ Editor derivative?

--
Configure bugmail:
https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

 

GIF image


Back to the top