Skip to content

Commit c339b3b

Browse files
committed
Init
0 parents  commit c339b3b

18 files changed

+1431
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
out
2+
node_modules
3+
.vscode-test/
4+
*.vsix

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 120,
3+
"semi": false,
4+
"singleQuote": false,
5+
"trailingComma": "es5",
6+
"bracketSpacing": true,
7+
"proseWrap": "always"
8+
}

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"ms-vscode.vscode-typescript-tslint-plugin"
6+
]
7+
}

.vscode/launch.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"runtimeExecutable": "${execPath}",
13+
"args": [
14+
"--extensionDevelopmentPath=${workspaceFolder}"
15+
],
16+
"outFiles": [
17+
"${workspaceFolder}/out/**/*.js"
18+
],
19+
"preLaunchTask": "npm: watch"
20+
},
21+
{
22+
"name": "Extension Tests",
23+
"type": "extensionHost",
24+
"request": "launch",
25+
"runtimeExecutable": "${execPath}",
26+
"args": [
27+
"--extensionDevelopmentPath=${workspaceFolder}",
28+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
29+
],
30+
"outFiles": [
31+
"${workspaceFolder}/out/test/**/*.js"
32+
],
33+
"preLaunchTask": "npm: watch"
34+
}
35+
]
36+
}

.vscode/settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off",
11+
"editor.formatOnSave": true
12+
}

.vscode/tasks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

.vscodeignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.vscode/**
2+
.vscode-test/**
3+
out/test/**
4+
src/**
5+
.gitignore
6+
vsc-extension-quickstart.md
7+
**/tsconfig.json
8+
**/tslint.json
9+
**/*.map
10+
**/*.ts

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Change Log
2+
3+
All notable changes to the "vscode-typescript-dev" extension will be documented in this file.
4+
5+
## 0.0.1
6+
7+
- Let's you keep track of a test file via the commant

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# VS Code TypeScript Dev
2+
3+
An extension for working in the TypeScript codebase.
4+
5+
## Features
6+
7+
It's not too smart yet, but it lets you choose a test file and re-run that file easily from anywhere in your editor.
8+
9+
### For more information
10+
11+
- [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
12+
- [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
13+
14+
**Enjoy!**

package.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "vscode-typescript-dev",
3+
"displayName": "TSC Dev",
4+
"description": "An extension for working in the TypeScript codebasegh",
5+
"version": "0.0.1",
6+
"repository": {
7+
"type": "git",
8+
"url": ""
9+
},
10+
"publisher": "Orta",
11+
"engines": {
12+
"vscode": "^1.36.0"
13+
},
14+
"categories": [
15+
"Other"
16+
],
17+
"activationEvents": [
18+
"workspaceContains:**/src/compiler/checker.ts"
19+
],
20+
"main": "./out/extension.js",
21+
"contributes": {
22+
"commands": [
23+
{
24+
"command": "io.orta.typescript-dev.declare-current-test-file",
25+
"title": "TSC: Declare current test file",
26+
"category": "TSC"
27+
},
28+
{
29+
"command": "io.orta.typescript-dev.run-current-test-file",
30+
"title": "TSC: Run tests",
31+
"category": "TSC"
32+
}
33+
]
34+
},
35+
"scripts": {
36+
"vscode:prepublish": "yarn run compile",
37+
"compile": "tsc -p ./",
38+
"watch": "tsc -watch -p ./",
39+
"pretest": "yarn run compile",
40+
"test": "node ./out/test/runTest.js"
41+
},
42+
"devDependencies": {
43+
"@types/glob": "^7.1.1",
44+
"@types/mocha": "^5.2.6",
45+
"@types/node": "^10.12.21",
46+
"@types/vscode": "^1.36.0",
47+
"glob": "^7.1.4",
48+
"mocha": "^6.1.4",
49+
"typescript": "^3.3.1",
50+
"tslint": "^5.12.1",
51+
"vscode-test": "^1.0.0-next.0"
52+
}
53+
}

0 commit comments

Comments
 (0)