clojure-lsp-intellij
clojure-lsp-intellij copied to clipboard
Extend selection not working correctly when having multiple lines
trafficstars
Describe the bug
When using the Extend Selection (opt + UP) feature in a form that contains more than one line, it is not selecting only the form but also the begin of the line
To Reproduce Steps to reproduce the behavior:
- Add the following code
(def a
(do (println "")
(println "")))
- Put the cursor inside the form
printlnform - Extend the selection until the
doform - Check that the whitespace in the begin of the line is also selected
Expected behavior
Select only the form () not the entire line.
Screenshots
With Calva this not occurs (shortcut is Ctrl+W)
Desktop (please complete the following information):
- OS: Mac OS
- Intellij version: IntelliJ IDEA 2023.3.8 (Community Edition)
- Plugin version: 3.4.0
Additional context
- It also happens for maps
- Calva has a more granular selection, would be good to have the same behavior