Creating a VSCode extension for the search blade - visual-studio-code

I'd like to create a VSCode extension that would allow me to display the search results of global search (ctrl shift f) in a tree view just like webstorm does it.
Unfortunately didn't find any extensions that would do similar.
Can someone point me in the right direction?

So it turned out that it's not possible, I opened a feature request
feature request
on their github

Related

In VSCode how to stick the explorer to the sidebar?

In VSCode i'd like to make the explorer view always visible even when other sidebar windows are open. Is there an extension or setting that I can change to achieve such behaivour?
I've tried to find extensions or setting but I could not found any.
Sorry, this is not possible in VS Code.
Several people have made feature requests, e.g. https://github.com/Microsoft/vscode/issues/26777, which you could upvote.

Fuzzy file opening in vscode

I am exploring vscode after using atom for a long while. One of the things I'm missing is an equivalent of the lovely package advanced-open-file. Is there something similar to this in vscode?
I found the advanced-new-file extension, but it is only helpful when it comes to new files. I would like to be able to quickly open files from all over my local files (not only the workspace).
Edit: I found the option of workbench.action.quickOpen; but it doesn't allow opening files from the whole file system.
Sorry, but currently the answer is no. The problem is that input box doesn't provide a way to listen to key events:
GitHub issue,
so even the extensions can't do that currently. Here's the comment from advanced-new-file extension creator:
Because VSCode extensions don't yet have the ability to do type-ahead autocomplete within the text input box (See https://github.com/Microsoft/vscode/issues/426), we work around this limitation and provide autocomplete using a two-step workflow of selecting existing path, then providing new filename/path relative to the selection.
The good news is that there is a new API addressing this issue, but it's currently in 'proposed' state and can't be used for published extensions.
One workaround could be typing code -r some/path in integrated terminal and using 'tab' for autocomplete.
The Fuzzy search extension seems to work for me.
It adds a new action to the command palette which allows you to search for files in the current project and open them.

Which vscode API provide functionality like "Find all reference", and allowed implemented in my vscode extension?

I am now working out a plugin which shows events information of static code analysis defect. My ideal user interface to present looks like "Find all reference", (please refer below picture). It supposed shows the list of event in right panel, and while click on one of event, it will move focus of source code panel on left.
click on "find all reference" in context menu will display like this.
But the problem now is that I can't find which existing vscode API I can use or find any useful information by google or from VSCode extension development document.
Could any one help?
The best place to learn about available APIs is the vscode namespace API page. There is a ReferenceProvider class which might be what you are looking for.

Is there a Keyboard Shortcut in Chrome Developer Tools to switch Source File?

Checking the list
https://developers.google.com/chrome-developer-tools/docs/shortcuts?csw=1#sources-panel
I cannot find any way to navigate through the source files inside Chrome Dev Tools. Anyone with an idea how to switch source files without using the mouse?
Ctrl-P / Ctrl-O shortcut will bring up a Goto-Source dialog.
To my knowledge there is no keyboard shortcut for doing this. I would know since I have recently updated that page multiple times to add or change some shortcuts.
I'm pretty sure there's no command you can configure either.
I'd suggest opening a ticket for it if you would like to see this added.

how modify the already installed content-assist?

First of, how can I see what plugin manages the CTRL + SPACE content-assist? And how can I modify it in other to add my own stuff. Any help/idea is gladly welcome.
Thanks.
I think you're looking for "Templates". Assuming you're using Java, this is in the Windows -> Preferences menu, then Java->Editor->Templates. For example, the screenshot below shows the CTRL-SPACE content assist when you type "sysout".
If i would have this task, I would go to preferences. Look for content assist settings. Write down some specific text you see in dialog box. Then go to plugins folder, and start to search inside archives. When match is present, open the plugin.xml of that plugin, and you will see the extension points of the plugin. Based on its name, I am pretty sure you will find the appropiate one. Then you can either google it, or look for plugins extending the extension point. Using JDGui or fetching source code of the extension example plugin will help you in disassembling. Eclipse usually not well documented as for extension points, so i do it this way.