dotnet/roslyn

IntelliSense auto completion for known format string values

開放

#29,921 建立於 2018年9月16日

 (12 則留言) (1 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEDeveloper CommunityIntelliSense-Completionhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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)

貢獻者指南