Bug 31850 - .sql files cannot be edited
Summary: .sql files cannot be edited
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 5.9
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2015-07-11 03:58 UTC by Ben
Modified: 2015-07-28 01:58 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Ben 2015-07-11 03:58:26 UTC
Description of Problem:

My solution contains some .sql files which form part of the deployment.  Visual studio will let me edit these no problem.  Xamarin Studio will only open these using the Hex Editor.  Which is not very useful.

Steps to reproduce the problem:
1. Create a file.sql
2. Try to open it


Actual Results:

Will only open with hex-editor

Expected Results:

Want to open with ext editor

How often does this happen? 

Consistently

Additional Information:
Comment 1 Abhishek 2015-07-13 10:34:36 UTC
I have checked this issue but I am unable to reproduce this issue.

If you have a chance, it might also be helpful to include sample application, environment info and IDE logs. So that we can reproduce this issue at our end.

You can environment info from here:
Xamarin Studio=> Help=> About  => Show Details => Copy Information

You can get IDE logs from here:
Xamarin Studio=> Help=> Open Log Directory => Ide logs( with latest timestamp)

Screencast: http://www.screencast.com/t/6oeS07vH1

Environment Info:

XVS: 3.11.666.0 

=== Xamarin Studio ===

Version 5.9.4 (build 5)
Installation UUID: b6495454-eed9-49ee-a97b-abf8a686d664
Runtime:
 Microsoft .NET 4.0.30319.34003
 GTK+ 2.24.22 (MS-Windows theme)
 GTK# 2.12.26

=== Xamarin.Android ===

Version: 5.1.4 (Enterprise Edition)
Android SDK: D:\android-sdk\android-sdk
 Supported Android versions:
  2.3    (API level 10)
  4.0.3  (API level 15)
  4.1    (API level 16)
  4.2    (API level 17)
  4.3    (API level 18)
  4.4    (API level 19)
  4.4.87 (API level 20)
  5.0    (API level 21)
Java SDK: C:\Program Files (x86)\Java\jdk1.7.0_71
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.3.7.2
Location: C:\Program Files\Xamarin Android Player\DeviceManager.exe

=== Build Information ===

Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 17:16:25-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Windows 6.2.9200.0 (64-bit)
Comment 2 Ben 2015-07-13 10:38:53 UTC
I will get full details when I can.  I can tell you it's on a recent installation of OS X version 10.10.
Comment 3 Ben 2015-07-13 13:27:23 UTC
Full details:

=== Xamarin Studio ===

Version 5.9.4 (build 5)
Installation UUID: 3ea1048f-b5f3-4fd3-ac84-59d1c110ec21
Runtime:
	Mono 4.0.2 ((detached/c99aa0c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020005

=== Apple Developer Tools ===

Xcode 6.4 (7720)
Build 6E35b

=== Xamarin.iOS ===

Not Installed

=== Xamarin.Mac ===

Not Installed

=== Xamarin.Android ===

Not Installed

=== Xamarin Android Player ===

Not Installed

=== Build Information ===

Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.10.4
Darwin Bens-MacBook-Pro.local 14.4.0 Darwin Kernel Version 14.4.0
    Thu May 28 11:35:04 PDT 2015
    root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
Comment 4 Ram Chandra 2015-07-14 07:36:13 UTC
@Ben: Thanks for providing the environment details.

I have checked this issue and I am able to reproduce this issue. I observed that on OS X, I am not getting the "Source code editor" option.

Screencast: http://www.screencast.com/t/oXqXTyNrYd

IDE logs: https://gist.github.com/RamChBachkheti/623d3b2939ddc6a77f25

Additional Info: I am not getting this behavior on windows environment.
Screencast: http://www.screencast.com/t/6oeS07vH1

Environment Info:

=== Xamarin Studio ===

Version 5.9.4 (build 5)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 4.0.2 ((detached/c99aa0c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020005

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: 8.10.3.2 (Enterprise Edition)
Hash: 8b265d6
Branch: master
Build date: 2015-06-30 15:19:13-0400

=== Xamarin.Mac ===

Version: 2.0.1.64 (Enterprise Edition)

=== Xamarin.Android ===

Version: 5.1.5.1 (Enterprise Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Build Information ===

Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.10.3
Darwin Dalvik.local 14.3.0 Darwin Kernel Version 14.3.0
    Mon Mar 23 11:59:05 PDT 2015
    root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
Comment 5 xamarin-release-manager 2015-07-28 01:58:20 UTC
Fixed in version 5.10.0.455 (master)

Author: Mike Kr??ger
Commit: 95bc0d8ba31bc6ce9de0facca588bddf8d962160 (mono/monodevelop)