diff --git a/README.md b/README.md index a5016f8..e7214e8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ * press `F1` then type `Open Recent Files` ## Screenshot -![Screenshot of open recent files](screenshot.png) +![Screenshot of open recent files](https://github.com/wahyd4/vscode-plugin-recent-files/raw/master/screenshot.png) ## Source Code diff --git a/extension.js b/extension.js index 21962b5..7bbcfed 100644 --- a/extension.js +++ b/extension.js @@ -68,6 +68,7 @@ function handleChangeAcitveWindow(e) { //ignore invalid item if (!e._documentData || !e._documentData._uri) return; let uri = e._documentData._uri.path + if(!uri || uri.trim() === "") return //only allow to show 20 files. if (list.length === 20) list = _.tail(list); if (isFileNameExist(uri)) _.remove(list, (item) => { return item === uri }); diff --git a/logo.png b/logo.png new file mode 100755 index 0000000..67507df Binary files /dev/null and b/logo.png differ diff --git a/package.json b/package.json index 192437a..fc8382c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "recent-files", "displayName": "Open Recent Files", "description": "Open recent files like you do in Intellij idea.", - "version": "1.0.0", + "version": "1.0.2", + "icon": "logo.png", "publisher": "junv", "engines": { "vscode": "^1.10.0" @@ -13,6 +14,16 @@ "activationEvents": [ "*" ], + "keywords": [ + "intellij", + "idea", + "recent", + "file" + ], + "repository": { + "type": "git", + "url": "https://github.com/wahyd4/vscode-plugin-recent-files.git" + }, "main": "./extension", "contributes": { "commands": [ diff --git a/screenshot.png b/screenshot.png index b5b743b..ca0a59d 100644 Binary files a/screenshot.png and b/screenshot.png differ