-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removed copy-paste lib and use new clipboard API - solved issue in application state when there are multiple VsCode instances
- Loading branch information
Showing
27 changed files
with
357 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import { selectValues } from '../services'; | ||
import { changeStateProject } from '../store/state'; | ||
import { selectValues, store } from '../services'; | ||
|
||
export default async function setWorkingProjectCommand(): Promise<void> { | ||
changeStateProject(await selectValues.selectProject()); | ||
store.changeStateProject(await selectValues.selectProject()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
import * as vscode from 'vscode'; | ||
import commands from './commands'; | ||
import './services'; | ||
import { gitIntegration, issuesExplorer, statusBar } from './services'; | ||
import { gitIntegration, issuesExplorer, statusBar, store } from './services'; | ||
import { CONFIG_NAME } from './shared/constants'; | ||
import state, { connectToJira } from './store/state'; | ||
|
||
let channel: vscode.OutputChannel; | ||
|
||
export const activate = async (context: vscode.ExtensionContext): Promise<void> => { | ||
channel = vscode.window.createOutputChannel(CONFIG_NAME.toUpperCase()); | ||
state.channel = channel; | ||
const channel: vscode.OutputChannel = vscode.window.createOutputChannel(CONFIG_NAME.toUpperCase()); | ||
context.subscriptions.push(channel); | ||
state.context = context; | ||
store.state.channel = channel; | ||
store.state.context = context; | ||
vscode.window.registerTreeDataProvider('issuesExplorer', issuesExplorer); | ||
context.subscriptions.push(statusBar); | ||
context.subscriptions.push(gitIntegration); | ||
context.subscriptions.push(...commands.register()); | ||
// create Jira Instance and try to connect | ||
await connectToJira(); | ||
await store.connectToJira(); | ||
}; |
Oops, something went wrong.