Skip to content

Commit

Permalink
bump v1.0.0
Browse files Browse the repository at this point in the history
- [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
  • Loading branch information
wayou committed Jul 21, 2018
1 parent b0af747 commit e81d087
Show file tree
Hide file tree
Showing 40 changed files with 3,576 additions and 836 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Set default behavior to automatically normalize line endings.
* text=auto

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
It's recommend to file an issue via the build in tool of vscode witch you can access from `Help-> Report Issue`.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
out
node_modules
.vscode-test/
*.vsix
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ install:
before_script:
- git config --global user.name 'wayou'
- git config --global user.email '[email protected]'
- git checkout next
- rm -f *.vsix

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

4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
"eg2.tslint"
]
}
32 changes: 23 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
// A launch configuration that launches the extension inside a new window
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.1.0",
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Launch Tests",
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/test" ],
"stopOnEntry": false
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
}
12 changes: 8 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// Place your settings in this file to overwrite default and user settings.
{
"typescript.tsdk": "./node_modules/typescript/lib",
"editor.formatOnPaste": true,
"editor.minimap.enabled": true,
"editor.snippetSuggestions": "top" // we want to use the TS server from our node_modules folder to control its version
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
20 changes: 20 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
8 changes: 5 additions & 3 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.vscode/**
.vscode-test/**
test/**
out/test/**
out/**/*.map
src/**
.gitignore
jsconfig.json
tsconfig.json
vsc-extension-quickstart.md
.eslintrc.json
tslint.json
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## 1.0.0 - 2018-07-21
- [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](https://github.com/Microsoft/vscode/issues/15723), [#33046](https://github.com/Microsoft/vscode/issues/33046)
- [chore] rewrite with TypeScript

## 0.5.12 - 2018-03-16
- merge #77
- update doc for the refer for DecorationRenderOptions
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Wayou Liu
Copyright (c) 2016-2018 Wayou Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit e81d087

Please sign in to comment.