Open mmartin24 opened 5 months ago
I could still reproduce this in v2.9-a84c3a2f
, which contains the fix for both #11020 and #11225.
It seems this is an issue with the editor. Lines cannot start with #
, but char can be inserted at other places in the line. Adding one after the first and before text will correctly comment out the line
Holding off on a backport until we know what the solution is. The fact that this involves the YAML editor does put pause of what we can do based on past experiences.
Setup
v2.9-03e149351b6877d02ffe6f32be8b896708132f08-head
(it also happens in2.8.4
,2-8-head
)Brave v1.66.118
Describe the bug Several issues here:
#
before the text it won't if this one is somehow indented. You have to prepend the hash exactly before the text without spaceI will illustrate these 2 in a video
To Reproduce
2.8-head
or2.9-head
(possibly also in 2.7)Edit YAML
Issue 1:
#
at the very beginning of textrepo
Issue 2:
revision: string
#
at the beginning of the lineResult Issue 1: Observe is not possible Issue 2: Observe is not possible and that one must add a space
Expected Result Issue 1: I should be able to add a
#
at the beginning of the line regardless of indentation Issue 2: I shold be able to comment adding the#
in the same place it was shown at the beginning.Screenshots
Screencast from 13-06-24 17:11:40.webm
Additional context