Open chouzz opened 1 year ago
What's the use case?
The same use case as call hierarchy panel. For myself, I would like to enable find widget to find text in my webview.
What type of content does your webview show?
For myself, I would like to show call hierarchy or find all reference results for symbols. If there are lots of results, find widget should help user find symbols in the panel.
This is the use case for me, but I think there are many other use cases if the panel shows lots of content. It will be very useful.
I could build a find widget by myself, but it's nice if vscode support this built-in, because webview panel supports this option, it makes sense also support for WebviewViewProvider
.
@chouzz Can you use a tree view instead of a webview view? Call hierarchy and find all references are both good fits for that API
I can't, my extension should be an alternative to tree view. I would like to implement something like https://yaobinouyang.gallerycdn.vsassets.io/extensions/yaobinouyang/codeatlas/1.3.34/1635120555850/273052/1/main.png
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
@mjbvz Same issue here. My webview show results of adb logcat
with textarea by WebViewProvider
(contributed to panel), needs a find widget
to search specify log.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
This feature would be very helpful for the BrightScript Language extension as well.
:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
VSCode already has an options(https://github.com/microsoft/vscode/blob/main/src/vscode-dts/vscode.d.ts#L8620) to enable find widget in webview panel, but seems there is no way to enable it via webviewViewProvider(https://github.com/microsoft/vscode/blob/main/src/vscode-dts/vscode.d.ts#L8892)
Hope VSCode can provide an option to enable find widget for WebviewViewProvider!