Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368641

Summary: [ptp-user] External editors in Indigo
Product: [Tools] Target Management Reporter: Yevgeny Shifrin <yevshif>
Component: RSEAssignee: dsdp.tm.rse-inbox <tm.rse-inbox>
Status: REOPENED --- QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Yevgeny Shifrin CLA 2012-01-16 02:07:23 EST
Build Identifier: 20110615-0604

By default, files should be opened using eclipse internal editor.


Mail thread:

Hi,

The new behavior is really annoying.

Why the default behavior was changed to using external editor? Is there a bug for this issue? 

Please let me know if you want me to open a bug for this.

Thanks,
Yevgeny 

From: ptp-user-bounces@eclipse.org [mailto:ptp-user-bounces@eclipse.org] On Behalf Of Beth Tibbitts
Sent: Tuesday, June 28, 2011 6:02 PM
To: PTP User list
Subject: Re: [ptp-user] External editors in Indigo

I set the file associations within Eclipse to open stuff within the internal editors instead of external editors.
one example is *.psf (project set files) which my Mac thinks are Photoshop files so it tries to use photoshop.
Bring up the Preferences Dialog, and in upper left search bar type "file assoc" (because I can never remember where it is)
If there isn't a file extension/filetype for the type of file, add one. then while it's selected, make sure there's an "associated editor" in the bottom
pane that you want it to open with.


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

 Greg Watson ---06/28/2011 09:27:34 AM---I set the finder preference to use Eclipse to open files ending in .c, .h, etc. That seems to work.
 
From:	 
Greg Watson <g.watson@computer.org>
 
To:	 
PTP User list <ptp-user@eclipse.org>

 
Date:	 
06/28/2011 09:27 AM
 
Subject:	 
Re: [ptp-user] External editors in Indigo
 
Sent by:	 
ptp-user-bounces@eclipse.org

________________________________________



I set the finder preference to use Eclipse to open files ending in .c, .h, etc. That seems to work. Use "Get Info" (command-I) on one of the files, set the "Open with:" option, then click on "Change All...".

Greg


On Jun 28, 2011, at 8:52 AM, David E Hudak wrote:

> Hi All,
> 
> I downloaded the Indigo "IDE for Parallel Application Developers" from www.eclipse.org/downloads. I am not done with my evaluation, but so far it looks EXACTLY like what I want to roll out to our users at OSC. 
> 
> I have one problem. I am using the Mac OS X 64-bit build, and the remote system explorer file browser shows files on my cluster. When I double click on one of those files, it automatically launches external editors (emacs or XCode or TextEdit or GEdit) based on the file type associations in the Finder. I would prefer eclipse to just open files with the internal text editor. Is there a big switch to turn this on/off?
> 
> Thanks,
> Dave
> ---
> David E. Hudak, Ph.D. dhudak@osc.edu
> Program Director, HPC Engineering
> Ohio Supercomputer Center
> http://www.osc.edu
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> ptp-user mailing list
> ptp-user@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@eclipse.org
https://dev.eclipse.org/mailman/listinfo/ptp-user
This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete the original and all copies thereof. 


Reproducible: Always
Comment 1 Martin Oberhuber CLA 2012-01-16 11:02:08 EST
I think that this is a duplicate of bug 142228 in Eclipse Platform, which is as old as 2006.

As of today, Eclipse Preferences and extension points provide a way associating file extensions with editors. If a file extension is not registered with Eclipse, the operating system's default action is performed (typically opening in some external editor). This is often not the expected behavior, and bug 142228 seeks to improve the situation.

In my understanding there's nothing that RSE does differently than Eclipse Platform, and nothing that's "new behavior".

Please let me know if you disagree.

We _could_ theoretically do things differently in RSE than in Eclipse Platform but I don't think that would be a good idea.

*** This bug has been marked as a duplicate of bug 142228 ***
Comment 2 Yevgeny Shifrin CLA 2012-01-16 11:18:52 EST
Hi,

Thank you for looking into this issue.

In my case I do have CDT installed. So why when opening ".h" file from RSE connection it uses external editor?

Thanks,
Yevgeny