Code editing in Visual Studio like it is in Aptana

2019-05-12 00:36发布

问题:

Is there any plugins to Visual Studio that enables you to have the wonderful type-style you get in Aptana Studio, ie:

  • Auto brace completion
  • Auto indentation of braces (and other characters) whenever 'enter' is pressed inside the braces, like so:

Before enter:

{*}

After enter:

{
    *
}

Is it possible to make this work in Visual Studio (via plugin or otherwise)?

回答1:

You can use, for instance, Resharper, http://www.jetbrains.com/resharper, which is a pay-for plugin for code style, code refactoring and formatting. Rather advanced.

There's also Visual Assist X, http://www.wholetomato.com/, as well as JustCode, http://www.telerik.com/products/justcode.aspx and a whole lot more. Several products available, most of them for money, most of them good. =)



回答2:

Check Productivity Power Tools. It has plenty of nice stuff:

  • Auto Brace Completion
  • Quick Find
  • Enhanced Scrollbar
  • Searchable Add Reference Dialog

and others.