-
Notifications
You must be signed in to change notification settings - Fork 24
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
chore: Add askUserForFileSelection() in KaotoEditorChannelApi #1528
Conversation
@@ -45,4 +45,16 @@ export interface KaotoEditorChannelApi extends KogitoEditorChannelApi { | |||
* @return If the deletion was done succesfully | |||
*/ | |||
deleteResource(path: string): Promise<boolean>; | |||
|
|||
/** | |||
* Show a Quick Pick widget and ask the user to select one or more files available in the workspace. |
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.
Just a bit of food for thought, it's possible that this API might be implemented differently in the browser, perhaps in the form of a standard file picker
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.
Good point, updated the doc not to be too specific to VS Code.
9bc779d
to
081b19f
Compare
081b19f
to
0b0556f
Compare
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1528 +/- ##
=======================================
Coverage ? 69.73%
Complexity ? 62
=======================================
Files ? 276
Lines ? 7752
Branches ? 1518
=======================================
Hits ? 5406
Misses ? 2344
Partials ? 2 ☔ View full report in Codecov by Sentry. |
No description provided.