Carl Morris
Carl Morris
Actually I have run in to a place where this is affecting me. In VS Code's Batchfile syntax from https://github.com/mmims/language-batchfile, numbers must either start at the beginning of the line,...
I didn't notice this at first, but there is definitely an internal error in the rule engine, as in the above example, when the END finally comes along, the engine...
FYI, the use of backticks in the example are totally unnecessary If one removes the backticks, all lines will lose their indention. The second line's backtick fails to cause the...
Note that when I mention PipeLine, I am referring to a AST type, for which almost every command and expression result in, even when no `|` is present. Going to...
The two levels of indent on the second line makes the last two lines being indented 1 level make more sense. The reason all the lines are expected to be...
Another example from my code base: (current formatter) ```PowerShell (Get-Item 'aFilePathWildCard*').foreach{ Get-ChildItem $_ }.where{ $_.Name -match '^\p{L}\w*,' }.foreach{ [pscustomobject]@{ LastName = $_.Name.Remove($_.Name.IndexOf(', ')) FirstName = $_.BaseName.SubString($_.Name.IndexOf(', ') + 2) File...
I just rewrote my prior example, and it gives another variation. The first sample of the set actually formats as expected with the PipelineIndention option, unless I merge the first...
I've revised my expected results above, regarding hashtable assignments, as I missed that those are really just pipeline expressions, so according to what I propose, they would receive the double...
I did find a dirty hack for getting consistent results between Atom and VSCode-TextMate. It requires wrapping as many capture groups around the text to capture, as there are scopes...
Correct, spaces works well in VS Code, but it does not work in Atom. Atom seems to treat the scope as one single entity when selections are made by themes,...