Description
Describe the bug
First, the infix multiplication operator (*)
is highlighted in red, differently from the other operators.
And second, likely as a result of not being captured as a parenthesized operator, the opening paren of the operator is not counted, and the closing paren is counted for the purposes of matching corresponding parentheses. In this screenshot, the closing paren of the operator is matched with the parenthesis before Seq.fold
:
To Reproduce
Steps to reproduce the behaviour:
-
Open up a new file and type
(*)
to show the red-highlighted operator.(*)
-
Call the
(*)
operator inside of another parenthesized expression, which will cause the operator's closing paren to match with the opening paren of the outer expression.(Seq.fold (*) 1 [1;2;3])
Expected behaviour
The (*)
operator should be treated identically to the other operators. At a minimum, it should not affect the parenthesis coloring of outer expressions.
Environment (please complete the following information):
- OS: Any
- Ionide version: v7.16.1
- VSCode version: 1.85.1
- dotnet SDK version: 8.0.100
- mono / .Net Framework version: (N/A)
Activity