From 7dcd2747737a86f99d073798b9d38a6e96157436 Mon Sep 17 00:00:00 2001 From: Mikayla Hutchinson Date: Wed, 16 Jan 2019 20:04:00 -0500 Subject: Add new MonoDevelop.TextEditor project This is where code shared between the WPF and Cocoa implementations will live, along with any public API and extension point surface. --- main/Main.sln | 19 ++ .../MonoDevelop.TextEditor.csproj | 15 ++ .../MonoDevelop.TextEditor/Properties/AddinInfo.cs | 39 ++++ .../Properties/MonoDevelop.TextEditor.addin.xml | 200 +++++++++++++++++++++ 4 files changed, 273 insertions(+) create mode 100644 main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/MonoDevelop.TextEditor.csproj create mode 100644 main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/AddinInfo.cs create mode 100644 main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/MonoDevelop.TextEditor.addin.xml (limited to 'main') diff --git a/main/Main.sln b/main/Main.sln index 20a98a746f..a8354cb132 100644 --- a/main/Main.sln +++ b/main/Main.sln @@ -341,6 +341,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonoDevelop.TextEditor", "M EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.TextEditor.Wpf", "src\addins\MonoDevelop.TextEditor\MonoDevelop.TextEditor.Wpf\MonoDevelop.TextEditor.Wpf.csproj", "{29D34EA6-D312-4690-9FE9-1EA1F2EBAC2E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.TextEditor", "src\addins\MonoDevelop.TextEditor\MonoDevelop.TextEditor\MonoDevelop.TextEditor.csproj", "{3F5B5BDA-69D5-441A-8142-AA25C998A997}" +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "vs-editor-core", "vs-editor-core", "{669BD438-1BDC-40C6-83CA-CEC133D036A0}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Editor", "Editor", "{5A92B792-BF17-4748-B29E-34C99B2E8722}" @@ -2218,6 +2220,22 @@ Global {29D34EA6-D312-4690-9FE9-1EA1F2EBAC2E}.ReleaseMac|Any CPU.ActiveCfg = Release|Any CPU {29D34EA6-D312-4690-9FE9-1EA1F2EBAC2E}.ReleaseWin32|Any CPU.ActiveCfg = Release|Any CPU {29D34EA6-D312-4690-9FE9-1EA1F2EBAC2E}.ReleaseWin32|Any CPU.Build.0 = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.DebugGnome|Any CPU.Build.0 = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.DebugMac|Any CPU.ActiveCfg = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.DebugMac|Any CPU.Build.0 = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.DebugWin32|Any CPU.ActiveCfg = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.DebugWin32|Any CPU.Build.0 = Debug|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.Release|Any CPU.Build.0 = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.ReleaseGnome|Any CPU.ActiveCfg = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.ReleaseGnome|Any CPU.Build.0 = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.ReleaseMac|Any CPU.ActiveCfg = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.ReleaseMac|Any CPU.Build.0 = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.ReleaseWin32|Any CPU.ActiveCfg = Release|Any CPU + {3F5B5BDA-69D5-441A-8142-AA25C998A997}.ReleaseWin32|Any CPU.Build.0 = Release|Any CPU {E397B9E6-BFF5-4BBB-B465-7CFE2AC96BF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E397B9E6-BFF5-4BBB-B465-7CFE2AC96BF6}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU {E397B9E6-BFF5-4BBB-B465-7CFE2AC96BF6}.DebugMac|Any CPU.ActiveCfg = Debug|Any CPU @@ -2835,6 +2853,7 @@ Global {44FFFDDA-156F-49F9-AE6A-BA640C198B33} = {1DEFDD53-2677-439D-906E-141ED2AEC19B} {C14B06AC-905A-47AB-BAD9-652E3499CFE0} = {D417E929-2B3A-46AC-BBE8-027ADB63A790} {29D34EA6-D312-4690-9FE9-1EA1F2EBAC2E} = {C14B06AC-905A-47AB-BAD9-652E3499CFE0} + {3F5B5BDA-69D5-441A-8142-AA25C998A997} = {C14B06AC-905A-47AB-BAD9-652E3499CFE0} {669BD438-1BDC-40C6-83CA-CEC133D036A0} = {C14B06AC-905A-47AB-BAD9-652E3499CFE0} {5A92B792-BF17-4748-B29E-34C99B2E8722} = {669BD438-1BDC-40C6-83CA-CEC133D036A0} {378D061D-D16E-408F-8E01-68B04D77258A} = {669BD438-1BDC-40C6-83CA-CEC133D036A0} diff --git a/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/MonoDevelop.TextEditor.csproj b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/MonoDevelop.TextEditor.csproj new file mode 100644 index 0000000000..938aaa9d77 --- /dev/null +++ b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/MonoDevelop.TextEditor.csproj @@ -0,0 +1,15 @@ + + + + + + MonoDevelop Text Editor + Integrates the Visual Studio Editor into MonoDevelop + ..\..\..\..\build\AddIns\DisplayBindings\TextEditor + true + + + + + + \ No newline at end of file diff --git a/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/AddinInfo.cs b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/AddinInfo.cs new file mode 100644 index 0000000000..f3d62c6875 --- /dev/null +++ b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/AddinInfo.cs @@ -0,0 +1,39 @@ +// +// Copyright (c) Microsoft Corp. (https://www.microsoft.com) +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +using System; +using Mono.Addins; +using Mono.Addins.Description; + +[assembly:Addin ("TextEditor", + Namespace = "MonoDevelop", + Version = MonoDevelop.BuildInfo.Version, + Category = "MonoDevelop Core")] + +[assembly:AddinName ("MonoDevelop Text Editor")] +[assembly:AddinDescription ("Integrates the Visual Studio text editor")] +[assembly: AddinFlags (AddinFlags.Hidden)] + +[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)] +[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)] +[assembly:AddinDependency ("Debugger", MonoDevelop.BuildInfo.Version)] +[assembly:AddinDependency ("DesignerSupport", MonoDevelop.BuildInfo.Version)] +[assembly:AddinDependency ("Refactoring", MonoDevelop.BuildInfo.Version)] diff --git a/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/MonoDevelop.TextEditor.addin.xml b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/MonoDevelop.TextEditor.addin.xml new file mode 100644 index 0000000000..61d6b6badf --- /dev/null +++ b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor/Properties/MonoDevelop.TextEditor.addin.xml @@ -0,0 +1,200 @@ + + + + + Context menu for the editor.; + + + Type of the file being edited. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + --> + -- cgit v1.2.3