Skip to content

Commit

Permalink
bump prettier version
Browse files Browse the repository at this point in the history
  • Loading branch information
esbenp committed Jan 11, 2017
1 parent ab63729 commit 2d1531e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out/src/**/*.js" ],
"preLaunchTask": "npm"
},
{
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out/test/**/*.js" ],
"preLaunchTask": "npm"
}
]
}
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"showOutput": "silent",

// we run the custom script "compile" as defined in package.json
"args": ["run", "compile", "--loglevel", "silent"],
"args": ["run", "compile"],

// The tsc compiler is started in watching mode
"isWatching": true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "prettier-vscode",
"displayName": "Prettier - JavaScript formatter",
"description": "VS Code plugin for jlongster/prettier",
"version": "0.1.4",
"version": "0.1.5",
"publisher": "esbenp",
"engines": {
"vscode": "^1.5.0"
Expand Down Expand Up @@ -47,6 +47,6 @@
"@types/mocha": "^2.2.32"
},
"dependencies": {
"prettier": "0.0.3"
"prettier": "0.0.4"
}
}
2 changes: 2 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import { commands, ExtensionContext, Range, Position, TextEdit, window, workspace } from 'vscode';
const prettier = require('prettier')

console.log('test')

export function activate(context: ExtensionContext) {

console.log('activate vscode prettier');
Expand Down

0 comments on commit 2d1531e

Please sign in to comment.