so, Iยดll try to create some script to start it up inside init.coffee
@mauricio.szabo I updated to Chlorine 0.5.2 and go-to-var is broken (macOS).
Ok, let me see what's wrong...
Downgraded to 0.5.1 and it works just fine. Let me know if/how I can assist with debugging.
Does something appears on the Atom devtools console, for example?
How/where do I see that? The symptom is that it ends up opening an empty file with the same name as where the definition would be, so this feels like the path is broken.
Right, so it does open something, but its an empty file without anything on it... Can you click on the filename on Atom, and see if the full path is correct? I think Atom will copy the full path to clipboard
It looks like it's removing the leading /
on the file path and concatenating it with the project root. Which suggests the fix for Windows has broken macOS.
How can I debug what os.platform()
is returning?
Yes, it seems so. While you're on the devtools (I think its the command "Window: Toggle Dev Tools"), can you evaluate a command?
Yup, what should I run?
require('os').platform()
darwin
๐
Which matches win
in your norm-result
function.
OMG...
Yes, I'll fix this ๐. I don't believe it.
I kept with win
only because Node sends win32
for windows, even when it's a 64-bit machine, so I imagined that future versions could break it ๐
Will publish a new version ๐
Just waiting for the CI: https://github.com/mauricioszabo/atom-chlorine/pull/169
I wonder if #"^win"
would be safer?
According to the Node.js docs: "Possible values are 'aix', 'darwin', 'freebsd', 'linux', 'openbsd', 'sunos', and 'win32'."
Yes, I missed the case for darwin
I think I'll keep at #"^win\d+"
(but, yeah, it's weird that it returns win32
on 64-bit systems... I assume because Node itself is only 32 bit and doesn't have a 64-bit version?)
Not really... on node's download page, it does list 32 and 64-bit versions
Even weirder. But... Node... ๐
Thanks for the quick fix. I'll keep mashing the "Check for updates" button until it appears ๐
Just published ๐
Confirmed fixed!! โค๏ธ
Thanks! โค๏ธ
@mauricio.szabo In Windows still ok !!!