KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
All Visual Studios (2012 too) do not format the following: _messageProcessor = new Dictionary<ServerDataTypes, MessageProcessor>() { {ServerDataTypes.FrameData, ProcessFrameData } , { ServerDataTypes.ServerStatusResult,ProcessServerStatusResult }, { ServerDataTypes.PlayerMessage, ProcessPlayerMessage}, .... }; How can I make my Visual Studio 2010 (or 2012) to auto-format that? I need the following result: _messageProcessor = new Dictionary<ServerDataTypes, MessageProcessor>() { { ServerDataTypes.FrameData, ProcessFrameData }, { ServerDataTypes.ServerStatusResult, ProcessServerStatusResult }, { ServerDataTypes.PlayerMessage, ProcessPlayerMessage }, ... }; It's like in the auto-properties for the newly created objects. The format is working for that. But not for this. So, how to fix it?
Tags (comma-separated)
Save Edits
Cancel