Hello! I have recently updated IntelliJ and Cursive and some things are messed up: the horizontal visual guides are suddenly at 59 and 72 characters (instead of the 100, 120 as before, and as Editor - Code Style - EditorConfig shows). More importantly, formatting seems to have stopped, or behaved very weirdly. F.ex. in this code:
(mymymy-service/search! (:mymymy-service @system)
ctx)
BEWARE: ☝️ is how it shows up when I copy paste. Actually in the editor it looks different, see screenshot 👇
After I added newline at the end of first line, where ctx is, is where the editor put me. Invoking Reformat Code does nothing. (Perhaps understandably, if the editor things this is the right way.)
Versions: IntelliJ IDEA 2025.1.1.1 (Community Edition), Build #IC-251.25410.129,
com.cursiveclojure.cursive (2025.2-eap2-251). OS: Mac.
Any tips how to troubleshoot what went wrong? 🙏SOLVED: both problems were indeed solved by the IDE having switched to variable-width font. Many thanks, @imre!
that screenshot seems to be using a variable-width font?
Well noticed, sir! That could perhaps explain both my problems, and I see it has happened before https://stackoverflow.com/questions/61396203/ide-update-changed-font-how-i-can-reset-the-font-back#61396259 Will try&report back! 🙏
Another thing related to IdeaVim - Ctrl+[ works in the main editor as Esc, but in the REPL input panel it has stopped working like that some time recently. By default, it triggers the Wrap with [] action, and if I remove that key combination from the action, nothing happens at all.
So now I can't use Vim with the REPL input at all.