Alt+o is used on Windows/Linux and Option+Cmd+o on macOS.
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
Differential D54781
[clangd] Add 'Switch header/source' command in clangd-vscode malaperle on Nov 20 2018, 8:25 PM. Authored by
Details Alt+o is used on Windows/Linux and Option+Cmd+o on macOS. Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
Diff Detail
Event TimelineComment Actions Overall LG, merely stylistic NITs.
Comment Actions And many thanks for the change! I've tried it out, will definitely be one of the most-used clangd features for me :-)
Comment Actions I didn't know clang-format could be used for Typescript. I ran it and it's a bit inconsistent with the rest of the file but I don't want to format the whole file.
Comment Actions This is great! I'm slightly nervous - the way we've extended the protocol with textDocument/switchSourceHeader is pretty hard to extend, itself (since the response is a string directly). I think this is fine. We may want to revise the protocol to wrap the URI in a struct (which should be soon!). Since VSCode plugin can be assumed to be newer than clangd, we can make it accept both versions. Comment Actions I think it does make the to revise it. I don't think anything outside Theia and this vscode extension uses it. This might be a good opportunity to make it a proper protocol extension as explained here: https://github.com/Microsoft/language-server-protocol/blob/master/contributing.md#how-to-create-a-protocol-extension Comment Actions I don't plan on doing changes for a little while in vscode-clangd so it would be good indeed to have a new release. Unless you know of some upcoming change that could also piggy back a new release? Thanks! Comment Actions +1 to the new release D52311 (documentSymbol) needs a bump of the dependencies' versions. |