-
Notifications
You must be signed in to change notification settings - Fork 26
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
Search by filename #20
Comments
Been demoing metadoc at Scala World, missing this functionality a lot! |
Yes. Are all file names in the workbench index? |
Yes they're in the workspace index.
…On Tue, 19 Sep 2017 at 13:27, Jonas Fonseca ***@***.***> wrote:
Yes. Are all file names in the workbench index?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABV8XXiqEAj7OmOZsBScdAl43C2LZ7tpks5sj7McgaJpZM4OIfzV>
.
|
A few relevant links
One idea, I'm wondering if it is possible to use |
I tried to use DocumentSymbolProvider to switch URI but it seems monaco doesn't like that. It looks very promising however since there exists a Seems we may need to register our own command using I tried @JSGlobal("monaco.CommonEditorRegistry")
@js.native
object CommonEditorRegistry extends js.Object {
def registerEditorAction(editorAction: IEditorAction): Unit = js.native
} but hit on |
The objective is to reproduce the following typescript snippet https://github.com/Microsoft/vscode/blob/047b88c39ccb5875356276ae98b7429e4b279d6a/src/vs/editor/standalone/browser/quickOpen/quickOutline.ts#L113-L130 to register a custom command "Open file" |
Registration of commands seems to have been changed in the latest monaco version https://github.com/Microsoft/vscode/blob/d328fec640d2f2b78faa501ecd613cb0312c8472/src/vs/workbench/parts/quickopen/browser/quickopen.contribution.ts#L37-L39 and it seems |
It would be nice if it was possible to open a particular file by searching its name. Ideally, this should be possible in a similar way as vscode does it with Cmd+P
Also, the url hash should ideally follow the active filename so that it's possible to share a link to a specific filename (+ line number)
The text was updated successfully, but these errors were encountered: