mshr-h / vscode-systemverilog-support

[deprecated]use mshr-h/vscode-verilog-hdl-support
https://github.com/mshr-h/vscode-verilog-hdl-support
MIT License
23 stars 12 forks source link

Feature/lite #31

Closed thingnotok closed 7 years ago

thingnotok commented 7 years ago

Hi I did some modifications, and added a code alignment feature.

  1. 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.
  2. Modify the module instantiation : The instantiation snippet is formatted (port alignment) before the insertion.
  3. 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
mshr-h commented 7 years ago

Thank you for sending me your PR.

I'll review it ASAP.

mshr-h commented 7 years ago

Pulled.