InfoQ

News

Proposed VS 10 Features Released as a VS 2008 Add-On

Posted by Jonathan Allen on Mar 05, 2008 12:03 PM

Community
.NET
Topics
Artifacts & Tools
Tags
Productivity ,
Visual Studio ,
IDEs

Microsoft has released a demo of potential Visual Studio 10 features as an extension for VS 2008. The features, collectively called PowerCommands for Visual Studio 2008, include the source code.

Copy and Paste Commands

These commands make it easier to move information between projects via the clipboard. They include:

  • Copy and Paste Class – This is a bit of a misnomer as it copies all the classes in a specific project item. If the project item has sub-files (e.g. page.aspx and page.aspx.cs) then they will also be copied
  • Copy and Paste References – This should prove useful when making similar projects.
  • Copy As Project Reference – Combined with the above, this is much faster than the Add References dialog.

Projects

  • Collapse Projects – Just a shortcut for collapsing the project tree.
  • Edit Project File – This opens the MSBuild for the selected project. Warning, this will cause the project to be unloaded.

Refactoring

  • These new refactoring are only available for C#. VB gets its refactoring support from third-party vendors.
  • Extract Constant – This turns a string into a constant. VB has this through the free version of Refactor.
  • Remove and Sort Usings – This sorts the "using" statements for all files in a project, removing the ones that are not in use. VB has this through the paid version of Refactor.
    Note: The documentation incorrectly states this is equivalent to VB's Remove Unused References. It is not and C# still has no way to automatically remove references to DLLs that are not actually used.

Miscellaneous

  • Open Containing Folder – This opens the Explorer the same as if you opened the file and right-clicked on its tab.
  • Open Command Prompt – This opens a Visual Studio command prompt.
  • Unload/Reload Projects – These commands may be useful when dealing with non-integrated source control. Perhaps unloading projects not currently needed also has a performance impact.

For a full list see the readme file that comes with the installer and source code.

No comments

Reply

Exclusive Content

Diary of a Fence Sitting SOA Geek

In this presentation, Mark Little explains the history of SOAP/WSDL/WS-*-based web services and RESTful HTTP and highlights how the two approaches might converge into a single solution.

Flex for XML and JSON

Platforms need interoperability. In this article Flex interoperability with JSON and XML is explored including direct mapping to chart and grid components.

Measuring Agile in the Enterprise: 5 Success Factors for Large-Scale Agile Adoption

Michael Mah analyzes the development process in 5 companies: 2 Agile (one of them BMC) and 3 classic. He presents the factors which contributed to the success of BMC's Agile adoption.

Tom Preston-Werner on Powerset, GitHub, Ruby and Erlang

In this interview filmed at RubyFringe 2008, Tom Preston-Werner talks about how both Powerset and GitHub use Ruby and Erlang, as well as tools like Fuzed, god, and more.

David Laribee on Alt.NET and its Mission

David Laribee discusses the purpose of ALT.NET, its mission and future.

Discover RailsKits and Stop Writing Redundant Code

Ruby on Rails has become a popular Ruby framework for creating web applications in recent years. An aspect of creating a web application is the need to repeatedly create the same base functionality.

A Formal Performance Tuning Methodology: Wait-Based Tuning

Steven Haines talks about tackling web application performance tuning by proposing a method called wait-based tuning.

Shaw and Fowler About Forging a New Alliance

Shaw and Fowler talk about the need for a new relationship between the business department and the IT department. Studies have shown that projects mostly fail due to miscommunication between the two.