Bug 16089 - [Editor Mgmt] Some editors can't be used on Linux
Summary: [Editor Mgmt] Some editors can't be used on Linux
Status: RESOLVED DUPLICATE of bug 22752
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux-Motif
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-05-15 17:50 EDT by OTI Support CLA
Modified: 2002-08-28 12:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OTI Support CLA 2002-05-15 17:50:54 EDT
Eclipse allows you to specify the editor to be used to edit files. However, some 
editors don't work on Linux. I tried:

/usr/bin/X11/xedit - works
/usr/bin/gedit - works
/usr/bin/X11/xjed - doesn't work
/bin/vi - doesn't work
/usr/bin/pico - doesn't work

Steps to reproduce:

1. Create a .txt file.
2. Workspace -> Preferences -> File Editors
3. Assign the above editors to .txt
4. Try to open using each editor from the workbench.

I could make a guess that the X Window editors work and the console ones don't, 
but xjed is an X editor. Really, though, any editor should work.
Comment 1 Tod Creasey CLA 2002-05-16 10:45:58 EDT
None of these editors appear in my external editors list for my File Editor
Preferences. The only way to add them on my install of Linux 7.1 was to enter
them manually.

Did they show up when your browsed external programs?

Of the ones mentioned vi and pico are opened in the terminal you are working in
- xedit and gedit are applications that are launched amnd hence can be launched
by Eclipse.
Comment 2 OTI Support CLA 2002-05-16 11:56:03 EDT
Yes, I added the browsers manually by selecting "Browse". Most Unix users prefer 
the console editors to applications - this seems to be a limitation of Eclipse.

If applications with their own windows are required, why didn't xjed work?
Comment 3 Tod Creasey CLA 2002-05-16 11:58:58 EDT
I cannot run xjed on my install in or out of Eclipse so I could not verify its 
behaviour.
Comment 4 Tod Creasey CLA 2002-05-16 13:51:58 EDT
xjed also works from Eclipse. The issue is only with the editors that open in
the prompt.
Comment 5 Tod Creasey CLA 2002-05-16 14:07:59 EDT
SWT does not currently support opening editors that are created with shell
commands. Marking as Later for consideration when support for shell based
editors becaomes available.
Comment 6 Randy Giffen CLA 2002-08-12 09:55:00 EDT
Reopen for investigation
Comment 7 Tod Creasey CLA 2002-08-28 12:46:18 EDT

*** This bug has been marked as a duplicate of 22752 ***