-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 5.38 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "go-to-character-position",
"displayName": "Go to Character Position",
"publisher": "davidfreer",
"description": "Quickly jump to an absolute position of the active editor, regardless of the line or column number. Can configure it to be zero based or 1 based",
"version": "2.0.1",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"sponsor": {
"url": "https://github.com/sponsors/soulshined"
},
"keywords": [
"character",
"jump",
"goto",
"go to",
"position",
"index"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"bugs": {
"url": "https://github.com/soulshined/vscode-jump-to-character-position"
},
"homepage": "https://github.com/soulshined/vscode-jump-to-character-position",
"repository": {
"type": "git",
"url": "https://github.com/soulshined/vscode-jump-to-character-position"
},
"contributes": {
"commands": [
{
"command": "go-to-character-position.go-to-character-position",
"title": "Go to Character Position/Index"
}
],
"keybindings": [
{
"command": "go-to-character-position.go-to-character-position",
"key": "ctrl+k ctrl+g",
"mac": "cmd+k cmd+g",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "Go to Character Position/Index",
"properties": {
"go-to-character-position.defaultIndex": {
"type": "string",
"default": "zero based",
"enum": [
"zero based",
"one based"
],
"enumDescriptions": [
"The index is zero-based, mostly used by programmers or developers, counts by 1, starting at 0. For example, the first character index in the text body will be at index 0. Therefore, if you enter 2 in the prompt, your cursor will jump to the 3rd character",
"One based indexes are natural language indices, that counts by 1, starting at 1. For example, the first character index in the text body will be at index 1. Therefore, if you enter 2 in the prompt, your cursor will jump to the 2nd character"
]
},
"go-to-character-position.revealType": {
"type": "string",
"default": "Top",
"description": "This determines the behavior of how your viewport will scroll to an index that isn't currently within the bounds of what you see",
"enum": [
"Default",
"Top",
"Center",
"CenterIfOutsideTheViewport"
],
"enumDescriptions": [
"The range will be revealed with as little scrolling as possible",
"The range will always be revealed at the top of the viewport",
"The range will always be revealed in the center of the viewport",
"If the range of the position is outside the viewport, it will be revealed in the center of the viewport. Otherwise, it will be revealed with as little scrolling as possible"
]
},
"go-to-character-position.statusbar": {
"type" : "object",
"markdownDescription": "The 'Go To Character Position' status bar item will display the current index of your cursor intuitively, based on your index zero-based setting. Just like the editor selection status bar item will show something like `Ln 84, Col 274` the Go To Character Position status bar item will show something like `↷ 1,200`. The number is cast to a localized string",
"properties": {
"priority" : {
"type": "integer",
"minimum": 0,
"default": 101,
"description": "This allows you to move the status bar item from right to left. The lower the number to 0, the farther right the status bar item will be, the higher the number from 0 the farther left the item will be."
}
}
}
}
}
},
"icon": "images/icon.png",
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map && vsce package"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.60.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"ts-loader": "^9.2.7",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"license": "MIT"
}