cursive 2025-06-12

When I right-click on the project view and hover over 'New >' I get a drop down full of new files I could create in my project. Currently 'Clojure Namespace' is buried down at position 20 out of 25. Is there anyway this could be a bit more obvious inside a Clojure project? I appreciate this might be more of an IntelliJ issue, but it's prioritising file types I've never heard of over the most common file type I work with.

➕ 1

workaround: I usually just do cmd-n to initiate file creation, then start typing clojure and hit enter

💡 1

Yip Cmd-n c l [Enter]

Yes, narrowing down on typing is usually the way to handle most things like this in IntelliJ, it works basically everywhere. I'll check, but I don't think I can influence the order of that list.

👍 1

Is there a way to preserve tab characters on formatting? Currently working on an old project that occasionally mixes the two, don't want to balloon my commits.

I know this doesn't answer your question, but if it's an option I'd recommend a separate commit first to fix the whitespace.

By "balloon" I also meant quantity of commits. :) I want Ctrl+Alt+L to work in a reliable manner that changes only specific things, with tabs not being one of them.

I'll check this, since I don't think I specify how this should work, it's the IntelliJ engine that does that. But it's possible that it has a flag somewhere about preserving that.