Visual Studio Code formatting plug-ins (automatic alignment of the equals sign, automatic annotation alignment, etc.)

Source: Internet
Author: User
Tags visual studio 2010

1.

Plugin: Code Alignment

2. Introduction

Based on principles borrowed from mathematics and other disciplines, code alignment gives extra meaning to your code by Li Ning up similar data in columns. This is something we does naturally when working with tables and spreadsheets, but unfortunately it doesn ' t get applied to C Ode often enough.

The usual excuses is, "It's Too hard." It takes too long. They don ' t pay me enough. " With this extension, these excuses is no longer valid.

Supports automatic alignment of equals sign, annotation automatic alignment, custom alignment mode and other functions;

3. Installation method

Download the file as shown in:

Double-click to install; Note: The minimum version is: Visual Studio 2010

After installation, restart Visual Studio. You can see the toolbar as shown:

4. Effect

To automatically align notes:

For Zimai:

Action: Select the content you want to align, click the Align by button, and the custom alignment mode is "//":

For Zi:

Equal sign Alignment:

For Zimai:

Action: Select the content you want to align, click the = sign on the toolbar:

Post-Alignment effect:

4. Advanced Features

Regular expressions

Visual Studio Code formatting plug-ins (automatic alignment of the equals sign, automatic annotation alignment, etc.)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.