TL;DR My question is: how do i access the atom instance in scripts outside init.coffee?
i am completely new to atom, and fiddling with coffeescript in the init package. To avoid testing my partial scripts by exiting+re-entering all the time, i added the “script” package and try to run my test.coffee file. However, it seems that script can’t access the atom classes i.e. i get the error
ReferenceError: atom is not defined
on the 1-line script:
I tried to change working directory in the “script” package options to the directory with the atom exe and the init.coffee but without succes.
Apologies if this is not the appropriate forum to ask this question