Fork me on GitHub
#cursive
<
2022-05-23
>
chrisbroome15:05:41

Is there a keyboard shortcut to convert a string to a keyword?

Jordan Robinson15:05:48

like shift + ; ?

chrisbroome15:05:35

That just puts a : before the string - I want to also get rid of the surrounding double quotes. For example, I want "path" to become :path .

mike_ananev19:05:52

Try “String manipulation” plugin.

chrisbroome12:05:08

I don't see this option int he key bindings section

imre08:05:56

signing up

imre08:05:10

have you tried it yourself, or has it not started to roll out yet?

cfleming08:05:38

I’ve signed up for it to see how Cursive works with it, but I haven’t heard back yet.

imre08:05:51

oh, and have you any info on fleet? are you planning to support it?

cfleming08:05:06

Personally I’m a fan of default everything, so I doubt I’ll use it, but I’d like to kick the tyres.

cfleming08:05:02

Not much is known about Fleet yet. Supporting it will probably be a pretty major rewrite, so I’m not sure whether that will happen or not.

cfleming08:05:13

There’s no information for plugin devs yet, really.

imre08:05:33

gotcha, thanks for the insight

imre08:05:08

I'm looking forward to anything that can make intellij (or fleet) work better as a general editor in addition to being a great Clojure ide

cfleming08:05:53

For myself, I think I’d use fleet as a general editor which will feel more familiar, but not as my main driver.

cfleming08:05:50

But maybe it will surprise me. Currently I use Sublime Text, which is nice but feels weird when I’m so used to IntelliJ. I expect Fleet to feel much more familiar.

imre08:05:00

Yeah I'm also running sublime for some general stuff. I envy those who can stay in their favourite editor the entire time but I'm not prepared to give Cursive up so I'm hoping Cursive and its host ide(s) will move in a direction that enables me to ditch everything else for them

cfleming08:05:28

Have you tried the IntelliJ Light Edit mode?

cfleming08:05:44

It’s still not what you’d call super light, but better.

cfleming09:05:05

I should probably try to use that more, actually.

imre09:05:41

I have tried it, but unfortunately it isn't light enough and it's still too lean in terms of features. For example I like to write commit messages in an editor with https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---verbose so I see the diff right there. IJ light doesn't highlight stuff in that diff while Sublime but even Micro do.

imre09:05:01

And both of those load quicker and much more reliably than IJ LE

cfleming09:05:19

Yeah, I can believe that.

imre09:05:56

(I prefer using git from the command line and not via my ide. I would try magit but that's bound to emacs unfortunately)

cfleming09:05:32

I do most of my git from the command line, but I use the Git Toolwindow a lot because the graph is really nice, and makes it easy to see what’s going on. I also do some things from the IDE these days, like checkout+rebase, and updating forks from Github.

imre09:05:03

> checkout+rebase, and updating forks from Github These are the things I'm probably most uncomfortable trusting the IDE with, partly due to IJ putting its own vocabulary on top of git vocab

cfleming09:05:43

Sure, I get that, but I’ve found it convenient and reliable.

imre09:05:37

I do use it for file history and inline annotation and "open on github"