This commit is contained in:
Wade Anderson 2017-02-27 13:47:49 -08:00
Родитель fd062d6440
Коммит d23c54fe5a
4 изменённых файлов: 36 добавлений и 5 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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"
}
}

9
src/extension.ts Normal file
Просмотреть файл

@ -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);
}

16
tsconfig.json Normal file
Просмотреть файл

@ -0,0 +1,16 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "out",
"lib": [
"es6"
],
"sourceMap": true,
"rootDir": "."
},
"exclude": [
"node_modules",
".vscode-test"
]
}