Fork me on GitHub
#calva
<
2019-08-11
>
johnjelinek02:08:52

@pez: in latest release on linux, I'm getting the following during Jack-in:

> Executing task in folder me.yellowthe: clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/cider-nrepl {:mvn/version "0.21.1"}}}'  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" <

Error while parsing option "--config-data {:deps {nrepl {:mvn/version 0.6.0} cider/cider-nrepl {:mvn/version 0.21.1}}}": java.lang.NumberFormatException: Invalid number: 0.6.0
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

pez06:08:16

@gerred Well, it was I who added that comment syntax highlighting to Clojure Warrior, so you weren't totally asking the wrong guy. 😎

pez06:08:42

I make comment forms italic in my settings, btw.

pez06:08:04

@johnjelinek , that's latest release on the marketplace?

johnjelinek13:08:17

but also on another windows computer:

> Executing task in folder me.yellowthe: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe clojure -Sdeps '{:deps {nrepl {:mvn/version ""0.6.0""} cider/cider-nrepl {:mvn/version ""0.21.1""}}}'  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" <

clojure : The 'clojure' command was found in the module 'ClojureTools', but the module could not be loaded. For more information, run 'Import-Module ClojureTools'.
At line:1 char:1
+ clojure -Sdeps '{:deps {nrepl {:mvn/version ""0.6.0""} cider/cider-nr ...
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (clojure:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
 
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it

pez14:08:03

Please file the linux thing as an issue. And give details on what shell is used and such.

pez14:08:44

As for the windows issue. Does it work if you run the command manually?

johnjelinek20:08:03

note: both (linux and windows) are running pwsh (Powershell Core 6), in my case

pez20:08:52

Ah. I don't think there is an easy way to support using powershell on Linux for jack-in. At least not with the current vs code api.

pez05:08:13

I couldn't get the quoting to work when using the mechanism for controlling which shell is used on *nix. So it relies on the user using some reasonably *nix like shell.

gerred11:08:49

@pez oh italic would be cool, especially with something like operator mono.

gerred11:08:40

i may try to open a PR to get that alternating active/inactive depending on whether your cursor is in the comment form or not

pez11:08:43

My settings look like so:

"clojureWarrior.commentFormStyle": {
        "fontStyle": "italic",
    },
What do you mean by operator mono?

gerred11:08:32

see some of the screenshots there, they make the attributes italicized/cursive-ifised and it looks nice with that font

pez11:08:05

Indeed. If you have the font installed you should be able to use it in the styling.

pez11:08:17

Screenshot? 😃

gerred11:08:42

haha someday when I buy the font. 😉 I use fira code, seems insane to pay $200 for a font

gerred11:08:49

wonder if there's any FOSS ones with that property..

pez11:08:04

Haha. I use FIRA too.

gerred11:08:20

https://github.com/kosimst/Firicico interesting, but a little too much

pez11:08:05

OMG. But it is quite beautiful!

pez12:08:01

Maybe a tad too much. 😃

8