Added settings
This commit is contained in:
Родитель
fd062d6440
Коммит
d23c54fe5a
|
@ -1,5 +1,7 @@
|
|||
## Releases
|
||||
|
||||
2.0 - Added settings: minimap, format on paste.
|
||||
|
||||
1.5.0 - New keybindings and nit fixes per [@bhancock8](https://github.com/bhancock8)
|
||||
|
||||
1.4.0 - Added Windows / Linux key bindings and a number of missing commands. Updated the README.
|
||||
|
|
14
package.json
14
package.json
|
@ -2,7 +2,7 @@
|
|||
"name": "sublime-keybindings",
|
||||
"displayName": "Sublime Text Keymap",
|
||||
"description": "Popular Sublime Text keybindings for VS Code.",
|
||||
"version": "1.9.2",
|
||||
"version": "2.0.0",
|
||||
"publisher": "ms-vscode",
|
||||
"engines": {
|
||||
"vscode": "^1.6.0"
|
||||
|
@ -13,6 +13,10 @@
|
|||
"keywords": [
|
||||
"keymap"
|
||||
],
|
||||
"activationEvents": [
|
||||
"*"
|
||||
],
|
||||
"main": "./out/src/extension",
|
||||
"preview": true,
|
||||
"icon": "sublime_keyboard.svg",
|
||||
"repository": {
|
||||
|
@ -469,12 +473,12 @@
|
|||
]
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "tsc -p ./",
|
||||
"compile": "tsc -watch -p ./",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vscode": "^1.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"jsonfile": "^2.2.3"
|
||||
"vscode": "^1.0.3",
|
||||
"typescript": "^2.0.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
let config = vscode.workspace.getConfiguration('editor');
|
||||
config.update('formatOnPaste', true);
|
||||
config.update('minimap.enabled', true);
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"outDir": "out",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"rootDir": "."
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
".vscode-test"
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче