We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c291360 commit c9b5f34Copy full SHA for c9b5f34
src/languageSupport/languages/flux/monaco.flux.hotkeys.ts
@@ -32,7 +32,7 @@ export function comments(editor: EditorType) {
32
// if any of the lines in the selection is uncommented then toggle commenting on
33
isTogglingCommentingOn = values
34
.slice(startLineNumber - 1, endLineNumber)
35
- .some(v => !(v === '') && !isCommented(v)),
+ .some(v => !(v.trim() === '') && !isCommented(v)),
36
updatedValues = values.map((v, i) => {
37
if (i < startLineNumber - 1 || i > endLineNumber - 1) {
38
return v
0 commit comments