Hi
I did some modifications, and added a code alignment feature.
File rearrangement : extension.ts is divided into three files : extension.ts, hover.ts, instantiation.ts. hover.ts and instantiation.ts contain only codes for their own function. extension.ts imports main function from these files and is responsible for only command registration stuff.
Modify the module instantiation : The instantiation snippet is formatted (port alignment) before the insertion.
A new command to align the selected codes. The command can be activated from menus or keybind. Here's the using example http://gph.is/2ezF7wX
Hi I did some modifications, and added a code alignment feature.
extension.ts
is divided into three files :extension.ts
,hover.ts
,instantiation.ts
.hover.ts
andinstantiation.ts
contain only codes for their own function.extension.ts
imports main function from these files and is responsible for only command registration stuff.