-
Notifications
You must be signed in to change notification settings - Fork 844
Description
I think, it should be clear what this is all about. Probably everybody knows and rememers that already.
For now there is no automatic closing of: () , [] , {} , "" , ''. And "Automatic brace completion" setting in "Options → Text Editor → F# → General" is not available to turn on/off.
Repro steps
-
Type
(,[,{,"or'in VS F# text editor. -
See that there is no corresponding completion pair
),],},"or'respectively.
Expected behavior
Get () , [] , {} , "" , '' typed with a cursor between braces/quotes by manual typing only ( , [ , { , " , ' respectively (however single quote ' is allowed in identifiers so, maybe, in such cases it should not be auto-paired). Perhaps it could be also good to have completion for <>, [<>], [||], but as I understand, these cases are more complex (e.g. < should be auto-paired only in case of generic, statically resolved types' and Type providers' parameters list) and used less often (so having these completions is less important, probably).
Actual behavior
No automatic completion of ) , ] , } , " , ' for ( , [ , { , " , ' respectively.
Known workarounds
Type both open and closing braces/quotes manually.
Related information
- Visual Studio 2017 Community
- Visual F# Tools (Nightly) v15.4.1.17062102