Skip to content

Commit e81d087

Browse files
committed
bump v1.0.0
- [new] ability to theme every single regexp match, resolve #42, resolve #88 - [new] `list annotations` now support multiple select - [new] autocompletion for annotations based on the config - [new] tons of predefined annotations: "AVOID:", "BUG:", "CAUTION:", "CONFIGURATION:", "DEBUG:", "DEPRECATED:", "DO_NOT_REMOVE:", "HACK:", "IMPORTANT:", "IMPROVE:", "INFO:", "ISSUE:", "KEEP:", "LEGACY:", "NOTE:", "OPTIMIZE:", "PERFORMANCE:", "PLACEHOLDER:", "PREFER:", "REFACTOR:", "REMOVE:", "REVIEW:", "RFC:", "TEMP:", "WARNING:", resolve #74 - [new] include all file types by default, the extension will catch the exception when working with binary file. no manual configuration needed. - [new] list annotations for current file only, fix #74 - [new] predefined annotations `TODO:` and `FIXME:` now can be override, resolve #87 - [fix] fix partial match problem. now the end user need to define what should be matched exactlly by custom every annotation with RegExp. resolve #48, resolve #63, resolve #102, resolve #106 - [fix] by using the built-in `Uri` to get the path of a file, fix #81 - [fix] update the doc and the reference link for styling the annotations, resolve #97 - [improve] cancelation support is added as well some improvements for the file searching. possiblely resolve #55, resolve #59. for reason of vscode it's self, `workspace.openTextDocument` will trigger `onDidOpen` events and then other extensions may react with it. this is main reason for the high cpu. see vscode issues for more info: [#15723](microsoft/vscode#15723), [#33046](microsoft/vscode#33046) - [chore] rewrite with TypeScript
1 parent b0af747 commit e81d087

40 files changed

+3576
-836
lines changed

.eslintrc.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
It's recommend to file an issue via the build in tool of vscode witch you can access from `Help-> Report Issue`.

.gitignore

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

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ install:
1111
before_script:
1212
- git config --global user.name 'wayou'
1313
- git config --global user.email 'liuwayong@gmail.com'
14+
- git checkout next
1415
- rm -f *.vsix
1516

1617
script:
@@ -19,5 +20,5 @@ script:
1920
after_success:
2021
- git add -A .
2122
- git commit -m "[skip ci]vsix generated via travis-ci at $(date -u +'%Y-%m-%d %H:%M:%S') $TRAVIS_COMMIT"
22-
- git push -q $GH_TOKEN HEAD:master
23+
- git push origin next -q $GH_TOKEN HEAD:master
2324

.vscode/extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
5-
"dbaeumer.vscode-eslint"
5+
"eg2.tslint"
66
]
77
}

.vscode/launch.json

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
1-
// A launch configuration that launches the extension inside a new window
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
25
{
3-
"version": "0.1.0",
6+
"version": "0.2.0",
47
"configurations": [
58
{
6-
"name": "Launch Extension",
9+
"name": "Extension",
710
"type": "extensionHost",
811
"request": "launch",
912
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
11-
"stopOnEntry": false
13+
"args": [
14+
"--extensionDevelopmentPath=${workspaceFolder}"
15+
],
16+
"outFiles": [
17+
"${workspaceFolder}/out/**/*.js"
18+
],
19+
"preLaunchTask": "npm: watch"
1220
},
1321
{
14-
"name": "Launch Tests",
22+
"name": "Extension Tests",
1523
"type": "extensionHost",
1624
"request": "launch",
1725
"runtimeExecutable": "${execPath}",
18-
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/test" ],
19-
"stopOnEntry": false
26+
"args": [
27+
"--extensionDevelopmentPath=${workspaceFolder}",
28+
"--extensionTestsPath=${workspaceFolder}/out/test"
29+
],
30+
"outFiles": [
31+
"${workspaceFolder}/out/test/**/*.js"
32+
],
33+
"preLaunchTask": "npm: watch"
2034
}
2135
]
22-
}
36+
}

.vscode/settings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
3-
"typescript.tsdk": "./node_modules/typescript/lib",
4-
"editor.formatOnPaste": true,
5-
"editor.minimap.enabled": true,
6-
"editor.snippetSuggestions": "top" // we want to use the TS server from our node_modules folder to control its version
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"
711
}

.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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.vscode/**
22
.vscode-test/**
3-
test/**
3+
out/test/**
4+
out/**/*.map
5+
src/**
46
.gitignore
5-
jsconfig.json
7+
tsconfig.json
68
vsc-extension-quickstart.md
7-
.eslintrc.json
9+
tslint.json

0 commit comments

Comments
 (0)