diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-13 14:20:11 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-13 14:20:11 +0000 |
commit | 917d56273db8b117896c31a0766de6d8c0b5827b (patch) | |
tree | 52822c019b884b2f2f21688e1c72af738672be3e /crates/ide/src/hover.rs | |
parent | fbad1b8a2496b703876f9e09072f217cc3cde84b (diff) | |
parent | 612be092826ad6654fd7f8a337c49a39754e9293 (diff) |
Merge #6840
6840: Add a language configuration file for VS Code r=matklad a=dustypomerleau
There has been recent discussion in #6451 and #6682 about the need to include angle brackets in auto-close and auto-surround functionality. This PR will accomplish that, but only for users of VS Code, as it uses the VS Code-specific `language-configuration.json` to get the job done. Since there are a large number of VS Code users in the Rust Analyzer cohort, it may be reasonable to fix the issue for them, while waiting on a more comprehensive solution in the language server. In addition to the usual brackets, I've added auto-closing of block comments. I avoided autoclosing single quotes, given that lifetimes are more common than chars.
Co-authored-by: Dusty Pomerleau <[email protected]>
Diffstat (limited to 'crates/ide/src/hover.rs')
0 files changed, 0 insertions, 0 deletions