Space is a commit character...?

I was trying to figure out how to turn this off for a while, and this setting did not make it clear that space is also considered a commit character in this context. A lot of people have had this issue and simply didn't turn it off because the description wasn't clear enough.
This commit is contained in:
jamespjohnson 2021-06-09 15:26:51 -07:00 committed by GitHub
parent 5266c72cd9
commit 83d76533b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3956,7 +3956,7 @@ export const enum EditorOption {
export const EditorOptions = {
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(
EditorOption.acceptSuggestionOnCommitCharacter, 'acceptSuggestionOnCommitCharacter', true,
{ markdownDescription: nls.localize('acceptSuggestionOnCommitCharacter', "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.") }
{ markdownDescription: nls.localize('acceptSuggestionOnCommitCharacter', "Controls whether suggestions should be accepted on commit characters, including space (` `). For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.") }
)),
acceptSuggestionOnEnter: register(new EditorStringEnumOption(
EditorOption.acceptSuggestionOnEnter, 'acceptSuggestionOnEnter',