products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: STU-2196
Type: Bug Bug
Status: Reviewed Reviewed
Priority: Unprioritized Unprioritized
Assignee: Sandip Chitale
Reporter: Greg Houston
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Aptana Studio

Inconsistent line ending style

Created: 24/Aug/08 01:41 AM   Updated: 25/Jun/09 06:11 PM
Return to search
Component/s: Editor: JS
Affects Version/s: Aptana Studio 1.1.7
Fix Version/s: Aptana studio 1.5.2

File Attachments: 1. File Layout.js (32 kb)
2. File Window.js (51 kb)


Impact on Workflow: Major
Specific Build Number: 1.1.7.015414
Studio Install Type: Standalone
Operating System: Windows XP
Participants: Greg Houston and Sandip Chitale


 Description  « Hide
Since I started using Aptana I am often getting an "inconsistent line ending" error when attempting to commit files to my SVN at Google Code. There are a lot of files in this SVN, but there are about five that I modify frequently. They are javascript files and I will often copy/paste code from one to another. I think this may contribute to the "inconsistent line ending" error, but am not certain.

If I do a diff of my code to see what lines I have changed and then select and format those lines, this will usually fix the problem though this is sort of a pain since format turns all of my tabs into spaces, and I have to go back and turn the spaces back into tabs. Also, sometimes this doesn't work, and I have to revert the file completely and start over.

I was using Dreamweaver before Aptana, and both on Windows, no Linux, so I am not sure where these inconsistent line endings are coming from. Also, these five files that it keeps occurring in have all successfully been committed, and they have all had the format option done to at least part of their code and successfully committed, so they should all have consistent line endings. Somewhere in the editing process in Aptana, either from copy/paste between these files are something else is creating inconsistent line endings.

Another ticket that may be related is PHP-56. My code is often getting scrambled due to this issue. Perhaps it is also causing inconsistent line endings. For example, if I have a line such as:

alert('This is a bug');

the issue in PHP-56 could turn that into:

alert('Ths a bug');is i



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.