Skip to content

Show format string completion options when the initial quote is typed#45309

Merged
CyrusNajmabadi merged 3 commits intodotnet:masterfrom
jnm2:show_formatting_intellisense_after_initial_quote
Jun 22, 2020
Merged

Show format string completion options when the initial quote is typed#45309
CyrusNajmabadi merged 3 commits intodotnet:masterfrom
jnm2:show_formatting_intellisense_after_initial_quote

Conversation

@jnm2
Copy link
Contributor

@jnm2 jnm2 commented Jun 19, 2020

This reminds me that the feature exists and that I don't need to search my way over to the docs to remember what I want.

fyi @CyrusNajmabadi

list_after_initial_quote

@jnm2 jnm2 requested a review from a team as a code owner June 19, 2020 02:17
]]></Document>, showCompletionInArgumentLists:=showCompletionInArgumentLists)

state.SendTypeChars("""")
Await state.AssertNoCompletionSession()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome. i was hoping you'd have this tes t:)

context.AddStandard("F", FeaturesResources.full_long_date_time, FeaturesResources.full_long_date_time_description);
context.AddStandard("g", FeaturesResources.general_short_date_time, FeaturesResources.general_short_date_time_description);
context.AddStandard("G", FeaturesResources.general_long_date_time, FeaturesResources.general_long_date_time_description);
context.AddStandard("G", FeaturesResources.general_long_date_time, FeaturesResources.general_long_date_time_description, isDefault: true); // This is what DateTime.ToString() uses
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. let's try this out for now :)

@jinujoseph jinujoseph added Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. labels Jun 19, 2020
@jnm2
Copy link
Contributor Author

jnm2 commented Jun 22, 2020

Why is this PR in the Completed column of https://github.com/dotnet/roslyn/projects/36 if it has not merged?

@jinujoseph
Copy link
Contributor

@jnm2 that was a mistake, have corrected it. thanks for catching

@CyrusNajmabadi
Copy link
Contributor

Awesome thanks!

@CyrusNajmabadi CyrusNajmabadi merged commit 730e634 into dotnet:master Jun 22, 2020
@ghost ghost added this to the Next milestone Jun 22, 2020
@jnm2 jnm2 deleted the show_formatting_intellisense_after_initial_quote branch June 22, 2020 18:15
@jnm2
Copy link
Contributor Author

jnm2 commented Jun 22, 2020

🎉 Thank you Jinu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants