diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/cs/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/cs/string-resources.json new file mode 100644 index 00000000..6db87760 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/cs/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galerie funkcí VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/de/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/de/string-resources.json new file mode 100644 index 00000000..8d71a16e --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/de/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "VisualStudio.Extensibility-Funktionsgalerie" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/es/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/es/string-resources.json new file mode 100644 index 00000000..a4cc8e58 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/es/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galería de funciones de VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/fr/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/fr/string-resources.json new file mode 100644 index 00000000..d30c3b08 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/fr/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galerie de fonctionnalités VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/it/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/it/string-resources.json new file mode 100644 index 00000000..520dca83 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/it/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Raccolta di funzionalità di VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ja/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ja/string-resources.json new file mode 100644 index 00000000..edf58cec --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ja/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "VisualStudio.Extensibility 機能ギャラリー" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ko/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ko/string-resources.json new file mode 100644 index 00000000..cfd2ec06 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ko/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "VisualStudio.Extensibility 기능 갤러리" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/pl/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/pl/string-resources.json new file mode 100644 index 00000000..a2fe7823 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/pl/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galeria funkcji VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/pt-BR/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/pt-BR/string-resources.json new file mode 100644 index 00000000..e13bfde0 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/pt-BR/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galeria de recursos do VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ru/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ru/string-resources.json new file mode 100644 index 00000000..2191dca0 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/ru/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Галерея функций VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/tr/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/tr/string-resources.json new file mode 100644 index 00000000..aefe0778 --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/tr/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "VisualStudio.Extensibility özellik galerisi" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/zh-Hans/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/zh-Hans/string-resources.json new file mode 100644 index 00000000..72d08b8d --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/zh-Hans/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "VisualStudio.Extensibility 功能库" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/zh-Hant/string-resources.json b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/zh-Hant/string-resources.json new file mode 100644 index 00000000..fd4cb3ad --- /dev/null +++ b/New_Extensibility_Model/Samples/FeatureGallery/.vsextension/zh-Hant/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "VisualStudio.Extensibility 功能庫" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/FeatureGallery/EditorMargin/EditorMarginTest.cs b/New_Extensibility_Model/Samples/FeatureGallery/EditorMargin/EditorMarginTest.cs index b605e1ef..88caea82 100644 --- a/New_Extensibility_Model/Samples/FeatureGallery/EditorMargin/EditorMarginTest.cs +++ b/New_Extensibility_Model/Samples/FeatureGallery/EditorMargin/EditorMarginTest.cs @@ -41,7 +41,7 @@ public EditorMarginTest(VisualStudioExtensibility extensibility) public override string ButtonText => "Editor margin"; [DataMember] - public override string Description => $"This command opens a text document with a custom editor margin counting the words in the document. A prompt will ask to close the file."; + public override string Description => $"This command opens a text document with a custom editor margin, in the bottom-right corner, counting the words in the document. A prompt will ask to close the file."; protected override async Task RunAsync(IClientContext clientContext, CancellationToken cancellationToken) { diff --git a/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServer.cs b/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServer.cs index 8f0f5f35..5331d40c 100644 --- a/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServer.cs +++ b/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServer.cs @@ -69,7 +69,7 @@ private async Task VerifyDocumentAsync(Uri uri, string text) List diagnostics = new(); using StringReader reader = new(text); - string line; + string? line; for (int lineCounter = 0; (line = await reader.ReadLineAsync()) != null; lineCounter++) @@ -81,7 +81,7 @@ private async Task VerifyDocumentAsync(Uri uri, string text) diagnostics.Add(new() { - Severity = DiagnosticSeverity.Error, + Severity = DiagnosticSeverity.Warning, Code = "TODO", #if INPROC Source = "In-proc TODO Language Server", diff --git a/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServerTest.cs b/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServerTest.cs index 07daf67d..8270472a 100644 --- a/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServerTest.cs +++ b/New_Extensibility_Model/Samples/FeatureGallery/LanguageServer/LanguageServerTest.cs @@ -44,7 +44,7 @@ public LanguageServerTest(VisualStudioExtensibility extensibility) public override string ButtonText => "Language Server"; [DataMember] - public override string Description => $"This command opens a new file, warning diagnostics will be generated for each line containing `TODO:`. A prompt will ask to close the file."; + public override string Description => $"This command opens a new file, green squiggles (warning diagnostics) will be generated for each line containing `TODO:`. A prompt will ask to close the file."; protected override async Task RunAsync(IClientContext clientContext, CancellationToken cancellationToken) { diff --git a/New_Extensibility_Model/Samples/FeatureGallery/MainToolWindowCommand.cs b/New_Extensibility_Model/Samples/FeatureGallery/MainToolWindowCommand.cs index 09bb55b0..f88666ce 100644 --- a/New_Extensibility_Model/Samples/FeatureGallery/MainToolWindowCommand.cs +++ b/New_Extensibility_Model/Samples/FeatureGallery/MainToolWindowCommand.cs @@ -26,13 +26,12 @@ public MainToolWindowCommand() } /// - public override CommandConfiguration CommandConfiguration => new( + public override CommandConfiguration CommandConfiguration => #if INPROC - "%InProcFeatureGallery.MainToolWindowCommand.DisplayName%" + new("%InProcFeatureGallery.MainToolWindowCommand.DisplayName%") #else - "%FeatureGallery.MainToolWindowCommand.DisplayName%" + new("%FeatureGallery.MainToolWindowCommand.DisplayName%") #endif - ) { Placements = new[] { CommandPlacement.KnownPlacements.ExtensionsMenu }, Icon = new(ImageMoniker.KnownValues.Extension, IconSettings.IconAndText), diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/cs/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/cs/string-resources.json new file mode 100644 index 00000000..75b6bfa5 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/cs/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Průběžná galerie funkcí VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/de/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/de/string-resources.json new file mode 100644 index 00000000..073e7e67 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/de/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "In-Process-VisualStudio.Extensibility-Funktionsgalerie" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/es/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/es/string-resources.json new file mode 100644 index 00000000..2900ea26 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/es/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galería de funciones de VisualStudio.Extensibility en proceso" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/fr/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/fr/string-resources.json new file mode 100644 index 00000000..c8c6d200 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/fr/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galerie de fonctionnalités VisualStudio.Extensibility en cours" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/it/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/it/string-resources.json new file mode 100644 index 00000000..b58dd3a9 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/it/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Raccolta di funzionalità di VisualStudio.Extensibility in-process" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ja/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ja/string-resources.json new file mode 100644 index 00000000..bab81600 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ja/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "インプロセス VisualStudio.Extensibility 機能ギャラリー" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ko/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ko/string-resources.json new file mode 100644 index 00000000..1c897438 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ko/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "진행 중인 VisualStudio.Extensibility 기능 갤러리" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/pl/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/pl/string-resources.json new file mode 100644 index 00000000..f45efe2e --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/pl/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galeria funkcji programu VisualStudio.Extensibility w procesie" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/pt-BR/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/pt-BR/string-resources.json new file mode 100644 index 00000000..445e8769 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/pt-BR/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Galeria de recursos do VisualStudio.Extensibility em processo" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ru/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ru/string-resources.json new file mode 100644 index 00000000..b334d7c1 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/ru/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Галерея встроенных функций VisualStudio.Extensibility" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/tr/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/tr/string-resources.json new file mode 100644 index 00000000..b8f0b17f --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/tr/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "Süreç içi VisualStudio.Extensibility özellik galerisi" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/zh-Hans/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/zh-Hans/string-resources.json new file mode 100644 index 00000000..d7dfd6c7 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/zh-Hans/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "进程内 VisualStudio.Extensibility 功能库" +} \ No newline at end of file diff --git a/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/zh-Hant/string-resources.json b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/zh-Hant/string-resources.json new file mode 100644 index 00000000..f0db3fc9 --- /dev/null +++ b/New_Extensibility_Model/Samples/InProcFeatureGallery/.vsextension/zh-Hant/string-resources.json @@ -0,0 +1,3 @@ +{ + "FeatureGallery.MainToolWindowCommand.DisplayName": "進程內 VisualStudio.Extensibility 功能庫" +} \ No newline at end of file