-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "go-imports-alphabetical",
"displayName": "Go Imports Alphabetical",
"description": "organize your go imports in alphabetical",
"version": "0.0.24",
"engines": {
"vscode": "^1.86.0"
},
"categories": [
"Other",
"Formatters"
],
"activationEvents": [
"onLanguage:go"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "go-imports-alphabetical.sortImportsInAlphabetical",
"title": "Sort Go Imports in Alphabetical"
},
{
"command": "go-imports-alphabetical.sortImportsInAlphabeticalKeepEmptyLine",
"title": "Sort Go Imports in Alphabetical : keep empty line"
}
],
"configuration": {
"title": "GoImportsAlphabetical",
"properties": {
"goImportsAlphabetical.keepEmptyLine": {
"type": "boolean",
"default": false,
"description": "Whether to keep empty line or not.If enabled,all imports will be separated by empty lines,grouped into each group,then sorted within groups while keeping the empty lines."
},
"goImportsAlphabetical.ignoreImportAlias": {
"type": "boolean",
"default": true,
"description": "Choose whether to sort by import package aliases.If enabled,ignore imports aliases and then sort."
},
"goImportsAlphabetical.printDebugLog": {
"type": "boolean",
"default": false,
"description": "for debug,print debug log"
},
"goImportsAlphabetical.moveToTopAfterSort": {
"type": "boolean",
"default": true,
"description": "move to top of document when sort is successful"
},
"goImportsAlphabetical.preformatTool": {
"type": "string",
"default": "gofmt",
"description": "define preformat tool,by default it is gofmt.Sorting imports alphabetical will be executed after preformat tool is executed"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.86.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"eslint": "^8.56.0",
"typescript": "^5.3.3",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9"
},
"icon": "assets/golang_logo.png",
"repository": {
"url": "github.com/AlpsMonaco/go-imports-alphabetical"
},
"publisher": "alpsmonaco"
}