diff --git a/CHANGELOG.md b/CHANGELOG.md index 0305268..478aadf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Change Log +## 0.0.2 (19 Jan 2019) +- Fix for Linux Mint - "command not found" error + ## 0.0.1 (06 Jan 2019) - Initial release \ No newline at end of file diff --git a/README.md b/README.md index 7624c88..76b6118 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # VS Code - Trello Viewer -[![](https://vsmarketplacebadge.apphb.com/version-short/ho-wan.vscode-trello-viewer.svg)](https://marketplace.visualstudio.com/items?itemName=Ho-Wan.vscode-trello-viewer) + + + + Welcome to Trello Viewer for VS Code! This extension provides the following features: @@ -7,7 +10,7 @@ Welcome to Trello Viewer for VS Code! This extension provides the following feat - View selected card using the markdown previewer and open to the side. - See formatted checklists and cover image for the card. - Assign a favourite list to easily access cards. -- Saves credentials to use between sessions. +- Saves credentials to use between sessions.>>> - Shows only starred boards as default. ## Authenication diff --git a/package.json b/package.json index 6169509..077fcec 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-trello-viewer", "displayName": "Trello Viewer", "description": "View Trello cards in VS Code, browse user's boards and lists.", - "version": "0.0.1", + "version": "0.0.2", "publisher": "Ho-Wan", "author": { "name": "Ho-Wan To", diff --git a/src/extension.ts b/src/extension.ts index 68f5626..a12227f 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -15,20 +15,17 @@ export function activate(context: vscode.ExtensionContext) { vscode.window.registerTreeDataProvider("trelloTreeView", trelloTreeView); vscode.window.registerTreeDataProvider("trelloViewFavoriteList", trelloViewFavoriteList); - const commandsToRegister: [string, Function][] = [ - ["trelloViewer.refresh", () => trelloTreeView.refresh()], - ["trelloViewer.refreshFavoriteList", () => trelloViewFavoriteList.refresh()], - ["trelloViewer.authenticate", () => trello.authenticate()], - ["trelloViewer.setCredentials", () => trello.setCredentials()], - ["trelloViewer.resetCredentials", () => trello.resetCredentials()], - ["trelloViewer.showTrelloInfo", () => trello.showTrelloInfo()], - ["trelloViewer.resetFavoriteList", () => trello.resetFavoriteList()], - ["trelloViewer.setFavoriteListByClick", (trelloItem: TrelloItem) => trello.setFavoriteListByClick(trelloItem)], - ["trelloViewer.showCard", (card: TrelloCard) => trello.showCard(card)], - ]; - commandsToRegister.map((command: [string, any]) => - context.subscriptions.push(vscode.commands.registerCommand(command[0], command[1])) + vscode.commands.registerCommand("trelloViewer.refresh", () => trelloTreeView.refresh()); + vscode.commands.registerCommand("trelloViewer.refreshFavoriteList", () => trelloViewFavoriteList.refresh()); + vscode.commands.registerCommand("trelloViewer.authenticate", () => trello.authenticate()); + vscode.commands.registerCommand("trelloViewer.setCredentials", () => trello.setCredentials()); + vscode.commands.registerCommand("trelloViewer.resetCredentials", () => trello.resetCredentials()); + vscode.commands.registerCommand("trelloViewer.showTrelloInfo", () => trello.showTrelloInfo()); + vscode.commands.registerCommand("trelloViewer.resetFavoriteList", () => trello.resetFavoriteList()); + vscode.commands.registerCommand("trelloViewer.setFavoriteListByClick", (trelloItem: TrelloItem) => + trello.setFavoriteListByClick(trelloItem) ); + vscode.commands.registerCommand("trelloViewer.showCard", (card: TrelloCard) => trello.showCard(card)); } export function deactivate() {