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

Bug 9003

Summary: Editors too simple, not smart enough
Product: [Eclipse Project] Platform Reporter: Marcio <mqm>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P5 CC: mistria, nobody
Version: 2.0   
Target Milestone: 4.7 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Marcio CLA 2002-02-02 16:56:14 EST
I'd like to suggest that the Eclipse team take a look at jEdit 
http://www.jedit.org/ 

 It has many features that Eclipse should support. Among them are:

- Can syntax highlight the most common file types 
(http://www.jedit.org/index.php?page=features): 
ActionScript Ada 95 ASP Assembly AWK B formal method Batch 
BBj BCEL BeanShell BibTeX C C++ C# 
COBOL ColdFusion CSS DSSSL Eiffel Haskell HTML 
IDL Inform INI Java JavaScript JHTML JMK 
JSP Lisp Makefile ML NetRexx Objective C Occam 
Omnimark Pascal Patch Perl PHP PL-SQL PostScript 
Povray Prolog Progress 4GL Properties PV-WAVE Python RelationalView 
RPM spec Ruby SGML Shell Script SHTML SQR TCL 
TeX Texinfo Transact-SQL VBScript Velocity Verilog VHDL 
Visual Foxpro XML XSL 

(it is frustrating to open a PHP or JavaScript or XML file in Eclipse and see 
no syntax highlighting)

- It can collapse/expand blocks. These blocks can be functions, if/the/else, 
HTML tags, XML tags, etc. Very useful to hide subparts you're not interested in.

- It has an XML support that supports DTD-driven auto-completion, highlights 
corresponding close tag, shows XML problems on-the-fly, etc.


marcio
Comment 1 Marcio CLA 2002-02-05 13:30:40 EST
Another good one to look at is EditPlus - http://www.editplus.com

New syntax highlighting can be defined with very simple TXT files (.STX). Many 
are available for download from their site, built by end users.

Eclipse should have a similar feature, where syntax highlighting should be easy 
to add. If it were compatible with EditPlus, Eclipse would automatically be 
able to syntax highlight many different file formats.

marcio
Comment 2 Chris Aniszczyk CLA 2005-12-31 22:02:14 EST
How about close this bug? I was doing a search for something else and came across this bug. I think it's invalidated now...
Comment 3 Dani Megert CLA 2006-01-02 09:07:13 EST
>I think it's invalidated now...
Why?
Comment 4 Dani Megert CLA 2006-01-02 09:08:22 EST
Currently no plans to provide this. Some of the suggested features are provided by WTP.
Comment 5 Dani Megert CLA 2007-06-22 09:59:12 EDT
Get rid of deprecated state.
Comment 6 Mickael Istria CLA 2016-11-10 11:48:22 EST
Very encouraging to see that 14 years ago, people were mentioning other tools as examples to follow, just like they mention Sublime, Atom or VSCode now; and in the end, Eclipse IDE is still there when other tools have vanished ;)
That said, Eclipse IDE now has many extensions for many languages, several are shipped together with vanilla packages, many others can be easily discovered from marketplace, some of them do cover the exact request of this bug, and there have been improvement in Platform Text to keep improving support for new languages (bug 497871 is an instance).

So let's mark it a WORKSFORME as most of the examples of the request have dedicated rich editors.
Comment 7 Nobody - feel free to take it CLA 2019-08-21 10:32:46 EDT
Mickael, the WORKSFORME status indicate failure to reproduce an issue. It is not intended for a situation like this one.

I filed a follow-up ticket for shell scripts: https://bugs.eclipse.org/bugs/show_bug.cgi?id=550303
Comment 8 Mickael Istria CLA 2019-08-21 10:38:42 EDT
(In reply to Filipus Klutiero from comment #7)
> Mickael, the WORKSFORME status indicate failure to reproduce an issue. It is
> not intended for a situation like this one.

By using the Eclipse IDE as intended and installing the dedicated extension for the listed fileformats, you cannot reproduce this issue.
The Eclipse IDE (if using EPP packages) will pop-up a suggestion of what to install in case of a not-yet-supported file.
Hence, the use case is IMO not reproducible any more with newer releases, and has good solutions. It's a WORKSFORME.
Comment 9 Nobody - feel free to take it CLA 2019-08-24 11:43:52 EDT
(In reply to Mickael Istria from comment #8)
> (In reply to Filipus Klutiero from comment #7)
> [...]
> Hence, the use case is IMO not reproducible any more with newer releases,
> and has good solutions. It's a WORKSFORME.

The fact that "it works for me" does not mean "it's a WORKSFORME", at least if you don't pay attention to "it". In this case, "it" is Eclipse 2.0. If you had failed to reproduce with Eclipse 2.0, this could have been set to WORKSFORME. But that you fail to reproduce with a newer Eclipse release only suggests the issue was solved. In this case, part of the issue persists and part was solved, so there is nothing which represents the proper status, but Status certainly should not be WORKSFORME.