dotnet/roslyn

IntelliSense auto completion for known format string values

Open

#29,921 opened on Sep 16, 2018

View on GitHub
 (12 comments) (1 reaction) (0 assignees)C# (4,257 forks)batch import
Area-IDEDeveloper CommunityIntelliSense-Completionhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

For objects like DateTime or Int32 there's a known list of supported format strings, such as "s" for DateTime or "N0" for Int32. It'd be really helpful if IntelliSense knew about these and gave auto completion for them.

Outside of the few I use regularly I always have to refer back to the docs to see what the available options are along with the resulting output. What I'd like to see is a list of values such as: o - 2018-09-10T20:44:10.3523872-04:00 s - 2018-09-10T20:44:10

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/332710/intellisense-auto-completion-for-known-format-stri.html VSTS ticketId: 681722 These are the original issue comments: (no comments) These are the original issue solutions: (no solutions)

Contributor guide