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)

The editor association problem is a known platform defect:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=251776

When RDT is installed the Remote C/C++ editor always takes precedence. However the remote editor extends the local editor and can default back to working locally, and when it does this it works exactly the same as the normal CDT editor. The check that causes this fallback behaviour to be enabled needs to be updated. Take a look at RemoteCEditor.isRemote(), right now its just checking for the remote nature, that check needs to be changed to take synched projects into account.

As a temporary workaround you can right click a file and select Open With and then select the normal CDT editor.


Regards,


Mike Kucera
Rational Multicore Tooling
UI Team Lead
IBM Toronto Lab
mkucera@xxxxxxxxxx


Inactive hide details for Beth Tibbitts ---11/02/2011 08:04:00 AM---Anybody know how we can fix the remote C/C++ editor to haveBeth Tibbitts ---11/02/2011 08:04:00 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

GIF image

GIF image

GIF image


Back to the top