-
Notifications
You must be signed in to change notification settings - Fork 188
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
DEV2-4340 - inline chat interaction added #1406
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
a few small comments
description: string; | ||
scope: SCOPE[]; | ||
multistep: boolean; | ||
lensOrder?: LensOrder | undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lensOrder?: LensOrder | undefined; | |
lensOrder?: LensOrder; |
@@ -0,0 +1,73 @@ | |||
type SCOPE = "block" | "selection" | "none"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type SCOPE = "block" | "selection" | "none"; | |
type Scope = "block" | "selection" | "none"; |
?
is this a known type in vscode sdk? I don't see its usage
lensOrder?: LensOrder | undefined; | ||
}; | ||
|
||
export const COMANDS: Command[] = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about splitting it to CODE_LENS_COMMANDS
and spread it into COMMANDS
, so you won't need this lint ignore:
COMANDS.filter(
({ text, lensOrder }) =>
lensOrder && filterRelevantActions(text, location, diagnostics)
)
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
.sort((a, b) => a.lensOrder! - b.lensOrder!)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Dev2 4340 - inline chat interaction added