Line delimiters [message #204741] |
Tue, 20 November 2007 08:50 |
Eclipse User |
|
|
|
Originally posted by: jan.bares.ips-ag.net
Hi,
can I configure Eclipse line delimiters for jsp files to use the same
delimiters as are already present in edited file? There are no such
settings in Web and XML/JSP files, line delimiters. When I open jsp file
with UNIX line delimiters, I want to use UNIX line delimiters for new
lines and vice versa no matter the platform Eclipse is running on. This
feature works fine for *.java files, why is this changed in wtp?
Thanks Jan
|
|
|
Re: Line delimiters [message #204792 is a reply to message #204741] |
Wed, 21 November 2007 13:24 |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <089bf703f60427cee8c3c970c102fccf$1@www.eclipse.org>,
jan.bares@ips-ag.net says...
> Hi,
>
> can I configure Eclipse line delimiters for jsp files to use the same
> delimiters as are already present in edited file? There are no such
> settings in Web and XML/JSP files, line delimiters. When I open jsp file
> with UNIX line delimiters, I want to use UNIX line delimiters for new
> lines and vice versa no matter the platform Eclipse is running on. This
> feature works fine for *.java files, why is this changed in wtp?
There are lots of things in the UI that don't work the same for .java
files as they do .jsp files.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
Re: Line delimiters [message #204799 is a reply to message #204792] |
Wed, 21 November 2007 14:07 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------060106040902080407030602
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
I'm sure that's true, but I think the desire to preserve the line feed
conventions of an existing file is a reasonable one and this is
supported by most of the rest of Eclipse. If that's not working
properly in this context, I'd open a bugzilla about it. I know for
EMF's generator we added support so that regenerating a file matches the
conventions already used by that file rather that using some global
preference or the OS's default.
ns_dkerber@ns_WarrenRogersAssociates.com wrote:
> In article <089bf703f60427cee8c3c970c102fccf$1@www.eclipse.org>,
> jan.bares@ips-ag.net says...
>
>> Hi,
>>
>> can I configure Eclipse line delimiters for jsp files to use the same
>> delimiters as are already present in edited file? There are no such
>> settings in Web and XML/JSP files, line delimiters. When I open jsp file
>> with UNIX line delimiters, I want to use UNIX line delimiters for new
>> lines and vice versa no matter the platform Eclipse is running on. This
>> feature works fine for *.java files, why is this changed in wtp?
>>
>
> There are lots of things in the UI that don't work the same for .java
> files as they do .jsp files.
>
>
>
--------------060106040902080407030602
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm sure that's true, but I think the desire to preserve the line feed
conventions of an existing file is a reasonable one and this is
supported by most of the rest of Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.03460 seconds