Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore server port change, ignore server state outside vscode #85

Merged
merged 4 commits into from
Jan 23, 2018

Conversation

SummerSun
Copy link
Contributor

No description provided.

@SummerSun SummerSun requested review from adashen, Eskibear, jdneo and andxu and removed request for adashen January 23, 2018 05:16
src/Constants.ts Outdated
@@ -22,3 +22,9 @@ export enum ServerState {
RunningServer = 'runningserver',
IdleServer = 'idleserver'
}

export enum Port {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about renaming it to : PortKind

private disposeResource(resource: vscode.Disposable | undefined): void {
if (resource) {
resource.dispose();
private disposeResources(resources: vscode.Disposable[]): void {
Copy link
Collaborator

@jdneo jdneo Jan 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this method only has one argument, how about making it as an open-ended function arguments:

private disposeResources(...resources: vscode.Disposable[])

then no need to wrap arguments in [] when calling it

@SummerSun SummerSun merged commit 892ca55 into develop Jan 23, 2018
@SummerSun SummerSun deleted the qisun_ignore branch January 23, 2018 08:57
@SummerSun
Copy link
Contributor Author

#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants