Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Enhanced extensibility for the default text editor in Eclipse

Inline comments.

> 
> >   - it will interfere with other editors
> 
> This is one concern.
>
>
> [...]
>  
> I *don't* have any concerns that you interfere with other editor
> implementations.
> 

Just to make sure I understand, do you or do you not have any concern?

> There are good chances that you'll won't
maybe, maybe not. and there's absolutely no need
> to impose the smartness you think is cool (and so do I most of the time)
> to any existing customer of TextEditor and in the same vein remove the
> option to open a file to just see its content.
>

We can work on the names, whether it's called a default editor, raw or text editor. As Mickael said, TextEditor is just an 'unexploited by default' source code editor and this is why we're plugging in there. If you're using an IDE and you open a file which is source code, by default I think you'd expect highlighting, even if it's 1 billion lines. To open it in a raw editor is the special case here, not the opposite. This is why I think there is a need to impose the smartness to the TextEditor, as I think by default people should get the 'notepad++ experience' in the IDE.

> 
> Suppose there's the following situation: I open Text-File with 150_000
> lines of code, your smart stuff kicks in but unfortunately the
> TextMate-Grammer for this specific file is so slow that it takes 1
> minutes to open (not to mention I'm not even able to edit it).
> 
> I know I just want to change a single char. How do I go about that if
> you push your solution?


To handle this special case, I'd expect adding a super-raw editor (disconnected from all source editor infrastructure making faster than TextEditor) should not be a big effort. That way you can do right-click->open with raw editor. 'Smartening' the TextEditor and adding a raw editor to conserve the raw editing functionality looks like a reasonable compromise.

 
> Tom
> 
> --
> Thomas Schindl, CTO
> BestSolution.at EDV Systemhaus GmbH
> Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
> http://www.bestsolution.at/
> Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
> 


Back to the top