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

misc fixes #704

Merged
merged 3 commits into from
Mar 23, 2022
Merged

misc fixes #704

merged 3 commits into from
Mar 23, 2022

Conversation

MiccWan
Copy link
Collaborator

@MiccWan MiccWan commented Mar 23, 2022

@MiccWan MiccWan requested a review from Domiii March 23, 2022 11:28
if (parent) {
children = parent.children;
}
getChildByClass(clazz, parent) {
Copy link
Owner

Choose a reason for hiding this comment

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

@MiccWan move to BaseTreeViewNode

const searchResultNode = this.treeDataProvider.getNodeByClass(GlobalSearchNode);
await this.treeView.reveal(searchResultNode, { select: false, expand: 1 });
const searchResultNode = this.treeDataProvider.getRootByClass(GlobalSearchNode);
try {
Copy link
Owner

Choose a reason for hiding this comment

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

@MiccWan if (!this.treeView.visible) { return; }

@@ -0,0 +1,55 @@
import sleep from './sleep';

export default class TriggerablePromise {
Copy link
Owner

Choose a reason for hiding this comment

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

rename to SyncPromise . These are generally used to let outside threads/actors wait for/synchronize against an asynchronous operation.

contexts = node.group.contexts;
}
else {
throw new Error(`Calling "_handleContextNodeDisposed" with non-ContextNode parameter`);
Copy link
Owner

Choose a reason for hiding this comment

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

add node to the message, so we (kinda) know what it is?

@Domiii Domiii merged commit 85a6496 into master Mar 23, 2022
MiccWan added a commit that referenced this pull request Mar 28, 2022
Domiii added a commit that referenced this pull request Mar 28, 2022
misc fixes for PR reviews #703, #704
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