Bug #71013 Would like ability to choose between Windows and Unix file formats in Workbench
Submitted: 26 Nov 2013 13:27 Modified: 31 Jan 2018 8:11
Reporter: Paul Keenan Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[26 Nov 2013 13:27] Paul Keenan
Description:
Would like the ability to choose the file format to be used when creating SQL files.

This would help users who work in mixed environments and need to work with both formats.

How to repeat:
Feature request.

Suggested fix:
The two formats to support would be 

   Windows format  : all lines except the final one terminated by CR+LF

   Unix format : all lines including the final line terminated by CR

If you aren't familiar with either of these formats, you can easily verify by creating a short text file in the standard editor on each platform - Notepad on Microsoft Windows and vi (or vim) on Unix.

The SQL editor would allow the user to choose which format to use when saving a new SQL file.

The SQL editor should be able to recognise the format type when an existing SQL file is opened and stick to the same format, unless the user asks to save the file as the other format.
[26 Nov 2013 13:29] Paul Keenan
Sorry, that should have read

   Unix format : all lines including the final line terminated by LF
[5 Dec 2013 14:26] Alfredo Kojima
Thank you for the feature request
[31 Jan 2018 8:11] Mike Lischke
Posted by developer:
 
The way line ends are handled is by intention. We have no plans to change that.