Merge #5927
5927: Document VS Code setting needed for on-typing assists r=matklad a=arzg Fixes #5925. Co-authored-by: Aramis Razzaghipour <aramisnoah@gmail.com>
This commit is contained in:
commit
e9841f0311
1 changed files with 8 additions and 0 deletions
|
|
@ -39,6 +39,14 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>";
|
|||
//
|
||||
// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression
|
||||
// - typing `.` in a chain method call auto-indents
|
||||
//
|
||||
// VS Code::
|
||||
//
|
||||
// Add the following to `settings.json`:
|
||||
// [source,json]
|
||||
// ----
|
||||
// "editor.formatOnType": true,
|
||||
// ----
|
||||
pub(crate) fn on_char_typed(
|
||||
db: &RootDatabase,
|
||||
position: FilePosition,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue