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
2019-10-15T00:19:53.039200Z

re: many println forms -- had some success with using breakpoints in cljs source in dev tools inside atom to observe execution. i wonder how long this has worked...may be it was the result of thheller's recent source map efforts.

2019-10-15T06:50:26.039400Z

may be you know this already, but fwiw i wrote up my observations about using the devtools debugger: https://gist.github.com/sogaiu/025ce011b60c6636446ad3ec6e593d84 -- i am not finding it to be reliable, but it's nice when it works

2019-10-15T07:48:48.040300Z

running the plugin from a shadow-cljs watch build, i am not seeing the settings button for chlorine -- is anyone else seeing this?

2019-10-15T07:49:26.041Z

i do see the settings button if i install from within atom

mauricio.szabo 2019-10-15T13:57:58.041700Z

Wow, that's strange. Which OS / Atom version are you using?

2019-10-15T20:56:55.042100Z

@mauricio.szabo i'm using atom 1.40.1 x64 on manjaro linux

2019-10-18T01:45:52.058500Z

similiar situation for ubuntu 16.04 lts (atom-development recommended os)

mauricio.szabo 2019-10-15T20:57:49.042300Z

Okay, I had some problems with MacOSX, but its not your case here...

2019-10-15T20:58:12.042500Z

ah, i can try on macos at some point -- will try later

mauricio.szabo 2019-10-15T21:01:54.042700Z

Well, the problem I had was on macosx so things should be working on Linux

mauricio.szabo 2019-10-15T21:02:59.042900Z

I also develop Chlorine on Linux, and I'm not seeing this behavior. Does the lib/main.js and lib/cmds.js exist on the plugin dir?

2019-10-15T21:03:37.043100Z

yes, i see them both

2019-10-15T21:04:24.043300Z

the plugin seems to function appropriately otherwise -- just don't know how to get to the settings ui 🙂

mauricio.szabo 2019-10-15T21:05:31.043500Z

If you run atom.packages.getActivePackage('chlorine').mainModule.config on the Atom devtools, do you get back a JS object?

2019-10-15T21:12:05.043700Z

yes -- once i attempt a repl connection, that does give me a js object. before that, i get something about mainModule not found. however, even after i get a js object and going to look for the settings button, i don't see it. i also closed the overall settings tab first before looking.

mauricio.szabo 2019-10-15T21:14:55.043900Z

Okay, sometimes Atom gets completely lost on some configurations. I would suggest to close Atom, open it with --safe flag once, see if Chlorine is really deactivated (or if it even appears on the settings tab), then close and open again. Maybe even before you re-open Atom, you could delete all caches (`.shadow-cljs`, lib/js and lib/cmds.js) and trigger another watch. I know it's kinda tedious, but I did solve lots of problems with Atom inconsistencies with it, so....

2019-10-15T21:15:49.044100Z

thanks for the tips, will try -- fwiw, i'm testing in a dummy user account with a fresh slate

2019-10-15T21:21:10.044300Z

did: atom --safe # saw that chlorine was listed as a package, but there is only a button for installation i removed: .shadow-cljs, lib/js. lib/cmds.js, node_modules then: npm install && npx shadow-cljs watch dev quit atom and restarted with atom --safe (still only an install button) start atom (missing settings button)

mauricio.szabo 2019-10-15T21:59:02.044500Z

Oh well... no idea

mauricio.szabo 2019-10-15T21:59:22.044700Z

I'll see if I can reproduce here

2019-10-15T21:59:56.044900Z

thanks -- do you know if there's a way to run atom where it gives verbose tracing about its activities?

mauricio.szabo 2019-10-15T22:03:48.045100Z

There are some flags like --foreground, some variables like ELECTRON_ENABLE_LOGGING=true that will log to the console, but other than that only flags like --dev and --enable-electron-logging that don't do much to help

mauricio.szabo 2019-10-15T22:05:02.045300Z

I only saw a similar problem with yours is that while I was developing the Enable experimental features config, sometimes the Atom didn't honor the config, but after I upgraded it isn't happening anymore

2019-10-15T22:08:18.045500Z

thanks for the tips