update readme

This commit is contained in:
2021-02-08 11:51:00 +08:00
parent 4d5ad8d9bc
commit 533ac0aa60
+5 -5
View File
@@ -1,4 +1,5 @@
# vsc-sort-import README # vsc-sort-import
A personal opinionated EcmaScript import sorting extension for VSCode.
Thanks to [Renke Grunwald](https://github.com/renke)'s [nice work](https://github.com/renke/import-sort), it really save me a lot of time so that I can easily make this. Thanks to [Renke Grunwald](https://github.com/renke)'s [nice work](https://github.com/renke/import-sort), it really save me a lot of time so that I can easily make this.
@@ -50,10 +51,6 @@ If the above rule didn't determine the order, then use the first member's name (
For imports having no member, sort them by module name with same rule. For imports having no member, sort them by module name with same rule.
## Extension Settings
None.
## Usage ## Usage
This didn't be published to extension marketplace since it doesn't suitable for most people. So you have to install manually. This didn't be published to extension marketplace since it doesn't suitable for most people. So you have to install manually.
@@ -66,12 +63,15 @@ This didn't be published to extension marketplace since it doesn't suitable for
## Build ## Build
clone this repo: clone this repo:
> `git clone https://github.com/mattuylee/vsc-sort-import` > `git clone https://github.com/mattuylee/vsc-sort-import`
change into repo directory and install dependencies: change into repo directory and install dependencies:
> `cd vsc-sort-import && npm install` > `cd vsc-sort-import && npm install`
package VSIX file: package VSIX file:
> `npx vsce package` > `npx vsce package`
## Debug ## Debug