bracket-lens-vscode icon indicating copy to clipboard operation
bracket-lens-vscode copied to clipboard

multiline grave marker turns off lens in Powershell

Open jeffshumphreys opened this issue 7 months ago • 0 comments

Just to inform: The default setting for open/close graves, grave is a multiline marker in PowerShell Visual Code. There is no closing marker, and so I think the tool is looking for a closing grave and never finds one. The default setting is:

           "multiline": [
                {
                    "opening": "`",
                    "closing": "`",
                    "escape": [
                        "\\\\",
                        "\\`"
                    ]
                }

I tried commenting out "//" c++ style but I doubt JSON-LD(?) is supported here.

So I just made them not match by injecting "zzz".

           "multiline": [
                {
                    "opening": "zzz`",
                    "closing": "zzz`",
                    "escape": [
                        "\\\\",
                        "\\`"
                    ]
                }

Mostly just posting a helpful workaround.

jeffshumphreys avatar Jul 17 '24 03:07 jeffshumphreys