-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onboard VB intellisense page to Unified Settings #72471
Conversation
2516c49
to
b12cc1c
Compare
b12cc1c
to
c3ef061
Compare
0f52a71
to
6b32646
Compare
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
@@ -214,4 +214,22 @@ Use enhanced colors;Editor Color Scheme;Inheritance Margin;Import Directives;</v | |||
<data name="An_empty_Visual_Basic_script_file" xml:space="preserve"> | |||
<value>An empty Visual Basic script file.</value> | |||
</data> | |||
<data name="Always_add_new_line_on_enter" xml:space="preserve"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need this because unified settings's enum label can only read from package resources now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the corresponding strings from their original location, and reference these from the legacy settings page instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible, let me check the LOC time line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dim snippetValue = Me.OptionStore.GetOption(CompletionOptionsStorage.EnterKeyBehavior, LanguageNames.VisualBasic) | ||
If snippetValue = SnippetsRule.Default Then | ||
Dim enterKeyRule = Me.OptionStore.GetOption(CompletionOptionsStorage.EnterKeyBehavior, LanguageNames.VisualBasic) | ||
If enterKeyRule = EnterKeyRule.Default Then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so in the previous code
snippetValue
is EnterKeyRule
but compared to a SnippetsRule.Default
Here change it to the correct type EnterKeyRule
(Complier think it's OK, emm? )
But since they all default to value 0
, so no functional change in fact.
Tag @sharwell to revisit this, I remember we used to think there is no test coverage for the json registration file. |
We have already done this for C# #71780
This is based on #72429 because we use the new attribute to specify the registration.json file