I am having pretty annoying issues getting Calva working under Windows 11 (work machine, don't ask). Smart App is blocking clojure-lsp.exe as far as I can tell. Does anyone know how I can get around this, please..?
What is Smart App? I think the solution may be to figure out how to tell Smart App that it should leave clojure-lsp alone. May take that you manage the clojure-lsp executable download yourself, to a known place, and configure Calva to use that instead of downloading its own.
Thanks, I am looking into that at the moment. Smart App Control (to give it it's full name) is a software security function of Windows 11, a bit like the features that came in on macOS that tries to limit the ability of the user to accidentally execute malicious code by requiring executables be from "known" sources that are signed and identified etc. Being my "work" machine, I don't want to turn it off, but it has less granular control than the version of the same feature on macOS that allows a clued in user to tell the machine they know better on a case by case basis.
There's a reason I do all my dev on WSL2 instead of natively on Windows π
Well, there are many reasons. But using VS Code on Windows in client/server mode with everything running on Ubuntu/WSL2 is pretty slick.
I've fixed it - I am using the WSL extension to VSCode and it's all working VERY nicely now, thanks!
I would love to have IntelliJ + Cursive working in the same way, but it's still broken, so I need something that works and WSL + VSCode + Calva is really nice
The nice thing about going with WSL2 is that everything in the Clojure world is kind of Mac/Linux first, Windows last, so you don't run into problems with CLI quoting or quirks of the (Windows) file system etc.
And it gets around Smart App Control too π
If I ever need to use IntelliJ, I run it directly on WSL2 and use the UI that way (Wayland/X/whatever tech it is).
Yep, I am loving it now that I've found it. I am going to use IntelliJ+Cursive on my Mac for personal projects so I will still get something out of it.
I would use the Linux build of IntelliJ as you suggest, but the rendering is rubbish on the high def display on my work laptop, whereas VSCode with the WSL Extension is LOVELY
True, Linux UIs suffer due to the cross-platform rendering stuff but it's quite usable on my 27" Dell desktop system π I can't use IntelliJ on my laptop -- I just find the UI too cluttered for a small screen.
I used IntellilJ + Cursive in the past, but IntelliJ has gotten more and more buggy with long durations before things are fixed. It seems like they are focusing much more on "AI" and not giving the existing products the care they need. VSCode UI in Linux is identical to the UI in MacOS and Windows, other than OS specific menu items. Perhaps you are referring to a difference due to a Linux window manager? I believe I recall a setting to use native UI window decoration or not, but could be mistaken.
@mike.j.cusack I'm specifically talking about running UI-based programs on WSL2, where you're relying on the Linux/WSL2-to-Windows UI rendering. I'm not talking about a native Linux machine.
> I would use the Linux build of IntelliJ as you suggest, but the rendering is rubbish on the high def display on my work laptop This is what I was responding to. Sorry that wasn't clear. The quoted bit was not clear it was referring specifically to WSL. Pardon me and carry on.
(I don't want to turn off Smart App)
Hi! Has anyone figured out how to enable word-wrap when I set Calva to output here?
"calva.outputDestinations": {
"evalResults": "output-view",
"evalOutput": "output-view",
"otherOutput": "output-view"
}Hi! I donβt think we have wrapping for that view.
Okay. Is this a VSCode limitation? In general I like the output-view best for its snappiness, but I find myself scrolling horizontally a lot when looking through logged stuff etc..
No, itβs a Calva limitation that we havenβt fixed. But you are the second one I hear from that want line wrap there so maybe weβll fix it soon. π We could start with an issue?
The terminal output is also very snappy. Tried?
I have tried the terminal, but I do like the eye candy of the output-view. Will open an issue π