VSCode does not work when entering closing partners

Using recent Visual Studio code, if I have something like this:

(defn add [x y]
  (+ x y)

and then enter the final parsers as the last character of the second line, the editor crosses out the second line in the left field. I mostly come up with editing this type of Clojure, but I tried the above in the Plain Text file to try to eliminate extension problems, and I got the same outdenting behavior.

Does anyone know a setting that I can change to disable this automatic outdenting?

+4
source share
1 answer

Set Parinferfor the following indentation behavior:

The resulting behavior

CTRL-p (Linux Windows) CMD-p (macOS) ext install vscode-parinfer

+3

Source: https://habr.com/ru/post/1665055/


All Articles