Reactions to story from JetBrains .NET Tools Blog
Generating object initializers with ReSharper
http://blogs.jetbrains.com/ dotnet/ 2008/ 04/ generating-object-initializers-with-re...
ReSharper provides both a quick-fix and a context action to transform assignment statements into C# object initializers, and both are called “Use object initializer”. So what’s the difference between them? Suppose that you create an object with three assignment statements: Putting the caret over the “new” keyword lets you apply a quick-fix that will put all assigned fields into an object initializer: Putting the caret over the object variable or a field name in any of the tree assignment statements lets you apply a context action that will put only this assignment in the object initializer: That is, using the context action, you can selectively put field assignments into the object initializer, leaving some of them to be declared explicitly.
Reactions / posts that link to this post
-
Visual Studio Links #19
http://visualstudiohacks.com/blog/visual-studio-links-19/My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. The VSX Team announced the availability of PowerCommands 1.1. PowerCommands adds many new helpful commands to Visual Studio 2008. VS 2005 KB: Hotfix available for instances when the IDE stops responding when you work with Visual C++ Projects (during navigation with Go To Definition or Find All References). VS 2008 KB: What do to when you encounter Security Exceptions during debug of .Net application. Also applicable to 2005. JetBrains .Net Tools Blog has a post explaining Generating object initializers with ReSharper. US ISV Developer Evangelism Team announced the availability of the Rosario April 2008 CTP. Rosario is the MS internal code name for the next version of Visual Studio Team System. Scott Guthrie posted his April 11th Links. Good stuff on ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, and Silverlight. Via Jason Haley: Neil Cowburn posted a Debugging Tip: Get a pointer to a managed object while debugging. David Betz released NetFXHarmonics DevServer on CodePlex. The product allows multiple embedded webservers to be started and monitored for testing purposes. US ISV Developer Evangelism Team posted a link to the registration for the Launch Party in Second Life. Technorati Tags: visualstudiolinks,visualstudio,dotnet
-
Visual Studio Links #19
http://visualstudiohacks.com/blog/visual-studio-links-19/My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. The VSX Team announced the availability of PowerCommands 1.1. PowerCommands adds many new helpful commands to Visual Studio 2008. VS 2005 KB: Hotfix available for instances when the IDE stops responding when you work with Visual C++ Projects (during navigation with Go To Definition or Find All References). VS 2008 KB: What do to when you encounter Security Exceptions during debug of .Net application. Also applicable to 2005. JetBrains .Net Tools Blog has a post explaining Generating object initializers with ReSharper. US ISV Developer Evangelism Team announced the availability of the Rosario April 2008 CTP. Rosario is the MS internal code name for the next version of Visual Studio Team System. Scott Guthrie posted his April 11th Links. Good stuff on ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, and Silverlight. Via Jason Haley: Neil Cowburn posted a Debugging Tip: Get a pointer to a managed object while debugging. David Betz released NetFXHarmonics DevServer on CodePlex. The product allows multiple embedded webservers to be started and monitored for testing purposes. US ISV Developer Evangelism Team posted a link to the registration for the Launch Party in Second Life. Technorati Tags: visualstudiolinks,visualstudio,dotnet
-
Visual Studio Links #19
http://visualstudiohacks.com/blog/visual-studio-links-19/My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. The VSX Team announced the availability of PowerCommands 1.1. PowerCommands adds many new helpful commands to Visual Studio 2008. VS 2005 KB: Hotfix available for instances when the IDE stops responding when you work with Visual C++ Projects (during navigation with Go To Definition or Find All References). VS 2008 KB: What do to when you encounter Security Exceptions during debug of .Net application. Also applicable to 2005. JetBrains .Net Tools Blog has a post explaining Generating object initializers with ReSharper. US ISV Developer Evangelism Team announced the availability of the Rosario April 2008 CTP. Rosario is the MS internal code name for the next version of Visual Studio Team System. Scott Guthrie posted his April 11th Links. Good stuff on ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, and Silverlight. Via Jason Haley: Neil Cowburn posted a Debugging Tip: Get a pointer to a managed object while debugging. David Betz released NetFXHarmonics DevServer on CodePlex. The product allows multiple embedded webservers to be started and monitored for testing purposes. US ISV Developer Evangelism Team posted a link to the registration for the Launch Party in Second Life. Technorati Tags: visualstudiolinks,visualstudio,dotnet
More rising blog posts
-
Entertainment »
Venus Williams Suffers Wardrobe Malfunction (Photos) -
Business »
WIN: Early Adopters Always Pay -
Lifestyle »
Wafergate Starter on Freethought Radio This Weekend -
Politics »
Why Are We Late to Know Obama is Leading McCain? -
Sports »
Rams News and Notes -
Technology »
Touchscreens at Oakland As Stadium
More rising news stories
-
Entertainment »
Marilyn Manson: Overrated, Underrated, Or Just Freakin' Weird? -
Business »
What the FDIC is Doing to Stabilize Troubled Banks -
Lifestyle »
Gore's Bold Plan to Save the Planet -
Politics »
Statement by the Press Secretary on Iraq -
Sports »
Wirtz scores, with assist from McDonough -
Technology »
Virtual Theaters for Documentaries
Recent posts from JetBrains .NET Tools Blog
-
JetBrains Development Academy To Serve the Community
79 days ago -
Feedback received
98 days ago -
Feedback wanted
102 days ago