Skip to content

Commit 6b3ab19

Browse files
authored
Merge pull request #17 from darkriszty/refactor/SRP
Refactor/srp
2 parents 5e81d09 + 70c4a8e commit 6b3ab19

82 files changed

Lines changed: 6323 additions & 1070 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// A launch configuration that compiles the extension and then opens it inside a new window
22
{
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"configurations": [
55
{
66
"name": "Launch Extension",
@@ -11,7 +11,7 @@
1111
"stopOnEntry": false,
1212
"sourceMaps": true,
1313
"outFiles": [ "${workspaceRoot}/out/src/**/*.js" ],
14-
"preLaunchTask": "npm"
14+
"preLaunchTask": "compile"
1515
},
1616
{
1717
"name": "Launch Tests",
@@ -22,7 +22,7 @@
2222
"stopOnEntry": false,
2323
"sourceMaps": true,
2424
"outFiles": [ "${workspaceRoot}/out/test/**/*.js" ],
25-
"preLaunchTask": "npm"
25+
"preLaunchTask": "compileAndCopyTestResources"
2626
}
2727
]
2828
}

.vscode/tasks.json

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,34 @@
55
// ${fileDirname}: the current opened file's dirname
66
// ${fileExtname}: the current opened file's extension
77
// ${cwd}: the current working directory of the spawned process
8-
9-
// A task runner that calls a custom npm script that compiles the extension.
108
{
11-
"version": "0.1.0",
12-
13-
// we want to run npm
14-
"command": "npm",
15-
16-
// the command is a shell script
17-
"isShellCommand": true,
18-
19-
// show the output window only if unrecognized errors occur.
20-
"showOutput": "silent",
21-
22-
// we run the custom script "compile" as defined in package.json
23-
"args": ["run", "compile", "--loglevel", "silent"],
24-
25-
// The tsc compiler is started in watching mode
26-
"isWatching": true,
27-
28-
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
29-
"problemMatcher": "$tsc-watch"
9+
"version": "2.0.0",
10+
"tasks": [
11+
{
12+
"label": "compile",
13+
"type": "shell",
14+
"problemMatcher": [ "$tsc" ],
15+
"isBackground": false,
16+
"presentation": {
17+
"reveal": "never",
18+
"panel": "new",
19+
"echo": false,
20+
"focus": false
21+
},
22+
"command": "npm run compile --loglevel silent"
23+
},
24+
{
25+
"label": "compileAndCopyTestResources",
26+
"type": "shell",
27+
"problemMatcher": [ "$tsc" ],
28+
"isBackground": false,
29+
"presentation": {
30+
"reveal": "never",
31+
"panel": "new",
32+
"echo": false,
33+
"focus": false
34+
},
35+
"command": "npm run compile --loglevel silent && gulp copy-systemTest-resources"
36+
}
37+
]
3038
}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Change Log
2+
23
All notable changes to the `markdowntableprettify` extension will be documented in this file.
34

45
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
@@ -21,4 +22,4 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2122

2223
## 1.0.0 - 2017-04-03
2324
### Added
24-
- Support to format individual tables with right click -> `Format Selection`.
25+
- Support to format individual tables with right click -> `Format Selection`.

gulpfile.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var gulp = require("gulp");
2+
3+
gulp.task("copy-systemTest-resources", function() {
4+
return gulp
5+
.src("test/systemTests/resources/*")
6+
.pipe(gulp.dest("out/test/systemTests/resources"));
7+
});

0 commit comments

Comments
 (0)