Skip to main content

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

>Mark occurrences would have to be remote-ized to get it to truly work properly.
But it is editing a local file.  I'm using a synchronized project so the file is local.

>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.
Actually, it doesn't.  The normal CDT editor has mark occurrences in the toolbar and the remote editor doesn't. I think there are a couple more icons different too, because things shift when i switch editors.

Note Anton shows how to put mark occurrences in the remote editor in https://bugs.eclipse.org/bugs/show_bug.cgi?id=362499

I know how to do the work-arounds.  I'm trying to get things to work simply for a new user (like at our upcoming tutorial)

Summary: Mark occurrences kicks in when you double-click.  I want a consistent, documented way to realize what it is and turn it off (like the button does).


...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


Inactive hide details for Chris Recoskie ---11/02/2011 10:24:46 AM---Mark occurrences would have to be remote-ized to get it toChris Recoskie ---11/02/2011 10:24:46 AM---Mark occurrences would have to be remote-ized to get it to truly work properly.


    From:

Chris Recoskie <recoskie@xxxxxxxxxx>

    To:

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

    Date:

11/02/2011 10:24 AM

    Subject:

Re: [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




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

GIF image


Back to the top