-
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
[proposal] add 'References' widget #4784
Comments
We should use vscode extension: https://github.com/Microsoft/vscode-references-view |
Oh great! It looks like its the official extension and is shipped with vscode, it'd be great to try it in Theia :) |
But there are many missing things yet to run it: ],
"missingSymbols": [
"\"vscode\".Clipboard",
"\"vscode\".Clipboard.writeText",
"\"vscode\".ThemeIcon.File",
"\"vscode\".TreeItem.description",
"\"vscode\".TreeView.message",
"\"vscode\".TreeView.onDidChangeVisibility",
"\"vscode\".TreeView.visible",
"\"vscode\".TreeViewVisibilityChangeEvent",
"\"vscode\".TreeViewVisibilityChangeEvent.visible",
"\"vscode\".env.clipboard"
],
"missingCommands": [
"editor.action.showReferences",
"editor.findMatchHighlightBackground",
"vscode.executeReferenceProvider"
],
"dynamicCommanCalls": [
"`${viewId}.focus` (/workspace/vscode-references-view/src/extension.ts 58:39)"
] Someone has to look into them. Complete |
TreeView.message and the commands "editor.findMatchingHighlightBackground" and "vscode.executeReferenceProvider" seem to be missing, the rest seems to work in master as of today |
See in plugin-vscode-commands-contribution.ts |
Btw: view.message is the text that shows "20 results in 12 files" at the top of the view. |
resolved by #7055 |
I propose we implement and introduce the
References
widget in Theia.The widget (triggered by the
Find All References
command) offers a more persistent option as compared to thePeek References
command. It opens the search results in a designated widget as compared to the peek, and is great for todo lists. Since it is a widget, it is also possible to save it's state in local storage to easily be able to recover on startup.The text was updated successfully, but these errors were encountered: