chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
fabrao 2020-11-04T01:00:22.144900Z

hello all, I started shadow-cljs with pedestal integration, so, the web server is not in shadow-cljs. What is happen if I use somthing like this? I tried to use embded connection but it fails

fabrao 2020-11-04T01:00:57.145500Z

the webserver is stared in clj session

seancorfield 2020-11-04T02:09:48.146100Z

Sounds like you'll need to connect to a socket REPL in the web server then @fabrao

seancorfield 2020-11-04T02:10:13.146700Z

It's just a JVM option (I have socket REPL under a :socket alias for that so I can combine it with anything else).

fabrao 2020-11-04T02:12:42.148100Z

Hello Sean, I did it into clojure session, but in clojurescript repl for connect embeded is not working

fabrao 2020-11-04T02:13:14.148600Z

I could connect to shadow-cljs repl

fabrao 2020-11-04T02:14:28.149Z

Shadow Socket-REPL was given an wrong token. Please, be sure you have the Shadow-CLJS compiler running and watching some build-id <- returning this

fabrao 2020-11-04T02:15:11.149500Z

@seancorfield so, It seems that something is worng

seancorfield 2020-11-04T02:15:51.149900Z

Ah, I don't know anything about ClojureScript, sorry.

fabrao 2020-11-04T02:16:12.150100Z

|:-)

fabrao 2020-11-04T02:16:44.150400Z

anyway, thanks for your time

mauricio.szabo 2020-11-04T12:07:58.150500Z

@fabrao the best thing you can do is to run shadow over lein or deps, so a single socket-repl is used to connect both to the pedestal and clojurescript

mauricio.szabo 2020-11-04T12:08:33.150600Z

So then, when you connect to the REPL on lein or deps, shadow will also be present

William Skinner 2020-11-04T18:57:07.151400Z

Does anyone here use clj-kondo in Atom? I can't get it working.

seancorfield 2020-11-04T19:40:27.152Z

I use it all the time @skinner89 What's up?

seancorfield 2020-11-04T19:41:07.152500Z

Do you get any errors/alerts in the editor when it is trying to lint your code?

seancorfield 2020-11-04T19:41:54.153200Z

Have you verified you can run it from the command-line, and prep'd your clj-kondo cache for your project per the clj-kondo README?

William Skinner 2020-11-04T19:42:58.153800Z

I don't get any errors or alerts and no linting

William Skinner 2020-11-04T19:43:11.154100Z

I've run it from the command line. Missed the cache step

seancorfield 2020-11-04T19:44:45.155100Z

macOS? Linux? The Atom package for the clj-kondo linter needs to be able to find the executable on the path. How/where did you install the command-line executable?

William Skinner 2020-11-04T19:49:53.155600Z

Linux ubuntu. It's on my user's path. Atom is running as my user.

William Skinner 2020-11-04T19:50:47.156Z

I created the cache but I'm still seeing nothing in atom

mauricio.szabo 2020-11-04T19:51:16.156300Z

@skinner89 did you install the linter packages on Atom?

William Skinner 2020-11-04T19:51:34.156500Z

just linter and linter-kondo

borkdude 2020-11-04T19:51:57.156800Z

The cache is not necessary for linting, you will just better linting :)

borkdude 2020-11-04T19:52:45.157100Z

@skinner89 How did you install it, via a package manager?

William Skinner 2020-11-04T19:53:09.157400Z

no downloaded it and put it on my path

borkdude 2020-11-04T19:53:25.157700Z

maybe Atom has a different idea of PATH than your shell?

borkdude 2020-11-04T19:53:56.158300Z

is it possible to start atom from your shell, similar to how you can start vscode from the shell using $ code?

William Skinner 2020-11-04T19:54:24.158600Z

Yeah that's possible

William Skinner 2020-11-04T19:54:35.159Z

let me just install via apt

2020-11-04T19:54:40.159200Z

you can inspect env path that the program runs by doing bash -X atom

2020-11-04T19:54:56.159500Z

to see if is in the path

2020-11-04T19:55:07.159800Z

if it's bash

William Skinner 2020-11-04T20:00:39.161100Z

I use zsh but I just switched over to bash to try that. I'm getting bash: -X: invalid option . When ran bash atom I was promoted to install linter-ui-default. Still not seeing any linter messages

William Skinner 2020-11-04T20:02:12.161300Z

aha!

William Skinner 2020-11-04T20:02:39.161800Z

linter-ui-default installed but was disabled from a previous attempt at setting this up.

William Skinner 2020-11-04T20:02:54.162Z

seeing linter ui

William Skinner 2020-11-04T20:05:57.162200Z

I appreciate the help