Skip to content

Commit 2516c49

Browse files
committed
Put resources in package resources
1 parent 52e0e1f commit 2516c49

15 files changed

+411
-3
lines changed

src/VisualStudio/VisualBasic/Impl/UnifiedSettings/visualBasicSettings.registration.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"title": "@Snippets_behavior;..\\Microsoft.VisualStudio.LanguageServices.VisualBasic.dll",
6666
"type": "string",
6767
"enum": [ "neverInclude", "alwaysInclude", "includeAfterTypingIdentifierQuestionTab" ],
68-
"enumItemLabels": [ "@Never_include_snippets;..\\Microsoft.VisualStudio.LanguageServices.VisualBasic.dll", "@Always_include_snippets;..\\Microsoft.VisualStudio.LanguageServices.VisualBasic.dll", "@Include_snippets_when_Tab_is_typed_after_an_identifier;..\\Microsoft.VisualStudio.LanguageServices.VisualBasic.dll" ],
68+
"enumItemLabels": [ "@Never_include_snippets;{574fc912-f74f-4b4e-92c3-f695c208a2bb}", "@Always_include_snippets;{574fc912-f74f-4b4e-92c3-f695c208a2bb}", "@Include_snippets_when_Tab_is_typed_after_an_identifier;{574fc912-f74f-4b4e-92c3-f695c208a2bb}" ],
6969
"default": "includeAfterTypingIdentifierQuestionTab",
7070
"order": 30,
7171
"migration": {
@@ -79,7 +79,7 @@
7979
"result": "neverInclude",
8080
"match": 1
8181
},
82-
// '0' matches to SnippetsRule.Default. Means the behavior is decided by langauge.
82+
// '0' matches to SnippetsRule.Default. Means the behavior is decided by language.
8383
// '3' matches to SnippetsRule.IncludeAfterTypingIdentifierQuestionTab. It's the default behavior for Visual Basic
8484
// Put both mapping here, so it's possible for unified setting to load '0' from the storage.
8585
// Put '3' in front, so unifed settings would persist '3' to storage when 'includeAfterTypingIdentifierQuestionTab' is selected.
@@ -104,7 +104,7 @@
104104
"title": "@Enter_key_behavior_colon;..\\Microsoft.VisualStudio.LanguageServices.VisualBasic.dll",
105105
"type": "string",
106106
"enum": [ "never", "afterFullyTypedWord", "always" ],
107-
"enumItemLabels": [ "@Never_add_new_line_on_enter;{13c3bbb4-f18f-4111-9f54-a0fb010d9194}", "@Only_add_new_line_on_enter_after_end_of_fully_typed_word;{13c3bbb4-f18f-4111-9f54-a0fb010d9194}", "@Always_add_new_line_on_enter;{13c3bbb4-f18f-4111-9f54-a0fb010d9194}" ],
107+
"enumItemLabels": [ "@Never_add_new_line_on_enter;{574fc912-f74f-4b4e-92c3-f695c208a2bb}", "@Only_add_new_line_on_enter_after_end_of_fully_typed_word;{574fc912-f74f-4b4e-92c3-f695c208a2bb}", "@Always_add_new_line_on_enter;{574fc912-f74f-4b4e-92c3-f695c208a2bb}" ],
108108
"default": "always",
109109
"order": 40,
110110
"migration": {

src/VisualStudio/VisualBasic/Impl/VSPackage.resx

+18
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,22 @@ Use enhanced colors;Editor Color Scheme;Inheritance Margin;Import Directives;</v
214214
<data name="An_empty_Visual_Basic_script_file" xml:space="preserve">
215215
<value>An empty Visual Basic script file.</value>
216216
</data>
217+
<data name="Always_add_new_line_on_enter" xml:space="preserve">
218+
<value>Always add new line on enter</value>
219+
</data>
220+
<data name="Always_include_snippets" xml:space="preserve">
221+
<value>Always include snippets</value>
222+
</data>
223+
<data name="Include_snippets_when_Tab_is_typed_after_an_identifier" xml:space="preserve">
224+
<value>Include snippets when ?-Tab is typed after an identifier</value>
225+
</data>
226+
<data name="Never_add_new_line_on_enter" xml:space="preserve">
227+
<value>Never add new line on enter</value>
228+
</data>
229+
<data name="Never_include_snippets" xml:space="preserve">
230+
<value>Never include snippets</value>
231+
</data>
232+
<data name="Only_add_new_line_on_enter_after_end_of_fully_typed_word" xml:space="preserve">
233+
<value>Only add new line on enter after end of fully typed word</value>
234+
</data>
217235
</root>

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.cs.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.de.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.es.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.fr.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.it.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ja.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.ko.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VisualStudio/VisualBasic/Impl/xlf/VSPackage.pl.xlf

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)