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.)