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 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 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)

贡献者指南