-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
File search doesn't open files as preview #7589
Comments
It should be easy to fix by passing |
@akosyakov if so, please add |
I think this line should be changed: https://github.com/maksimr/theia/blob/eabdf8800811c56435c499b84792f360616e360c/packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx#L708 But please pay attention there is some cc @vince-fugnitto @elaihau @marechal-p I remember you tried to improve it last time? |
I thought such a behavior would not be possible without coupling |
@vince-fugnitto what's about dynamical detection of required services and using preview if it's available? Sorry if it's impossible, didn't dig into those parts of code. |
You don't need to add a dependency. If |
Signed-off-by: Nisar Hassan Naqvi <[email protected]>
|
Description
When you click (1 time) on any search result, the file is opened in edit mode, not preview one.
Reproduction Steps
Ctrl
+Shift
+F
OS and Theia version:
OS: Ubuntu 19.10
Theia:
master
Diagnostics:
The text was updated successfully, but these errors were encountered: