Closed ImustnotfeaR closed 9 years ago
I'm actually fixing that right now. I've got the brand new quarks system working and it adds packages to language config.
with supercollider-js / atom I set it up to allow an easier config file, but admitedly it isn't clean and simple enough. so I'm changing it now.
docs are here: http://supercolliderjs.readthedocs.org/en/latest/configuration.html https://github.com/crucialfelix/atom-supercollider
but basically create a .supercollider.yaml and add the includePaths there:
includePaths:
/path/here
/path/two
this will be made better and clearer soon. I will probably just parse the lang config file so that by default it works exactly as normal sc does.
but I want to enable having a project specific config file with project specific quarks.
On Wed Jan 07 2015 at 5:22:20 PM Tom Byrne notifications@github.com wrote:
Hi hi again, does the LanguageConfig class work in atom? I am trying to include some classes with the .addIIncludePath() & .store() methods which compile but after recompiling the library these paths aren't added.
— Reply to this email directly or view it on GitHub https://github.com/crucialfelix/atom-supercollider/issues/29.
Thanks for the reply, i set up the .supercollider.yaml file as so:
sclang: /Applications/SuperCollider/SuperCollider.app/Contents/Resources/sclang scsynth: /Applications/SuperCollider/SuperCollider.app/Contents/Resources/scsynth debug: true echo: true stdin: true langPort: 57120 serverPort: 57110 host: 127.0.0.1 protocol: udp websocketPort: 4040 includePaths: /Users/ImustnotfeaR/Git/theLittleMaker/00-music/01-livfcding/01-demos/classes
without the includePaths: it boots fine, but when I add the includePaths it does not boot.. have I got the syntax right ?
Thanks again
I removed all the files from the includePath folder just incase it was a buggy class or something, but still wont boot x
it should be a list
includePaths:
note that ~ works relative paths work too
you can keep .supercollider.yaml in your home directory or in your project directory
I will improve the docs on that, but I want to make it simpler
On Fri Jan 09 2015 at 12:47:24 PM Tom Byrne notifications@github.com wrote:
I removed all the files from the includePath folder just incase it was a buggy class or something, but still wont boot x
— Reply to this email directly or view it on GitHub https://github.com/crucialfelix/atom-supercollider/issues/29#issuecomment-69324762 .
Ah yeah sweet.
Awesome work man, wish I knew more so i could help you out ! still pretty new programmer :)
nice that you can keep it in the project folder, is their an efficient way to have multiple projects with different yaml files ?
you can do that right now. it just searches for the nearest yaml file and uses that. so each project can have its own. keep your default one in your home directory
now I want to include quarks in that system. so you can work on a project and specify what quarks you want and when you run that project you get just those quarks. also they are fixed forever so if you come back years later they will use the same code and won't break.
but supercollider itself changes, so something will probably break :(
On Fri Jan 09 2015 at 2:58:15 PM Tom Byrne notifications@github.com wrote:
nice that you can keep it in the project folder, is their an efficient way to have multiple projects with different yaml files ?
— Reply to this email directly or view it on GitHub https://github.com/crucialfelix/atom-supercollider/issues/29#issuecomment-69336890 .
ace, thats way better than using LanguageConfig. Really cool idea.
You can now use the normal LanguageConfig and it will honor those.
You can also use the new Quarks system which uses the LanguageConfig to add includePaths. (latest supercollider development version - you would need to pull and rebuild that)
You can load and save sets of includePaths using Quarks.load / Quarks.save or with the gui.
Hi hi again, does the LanguageConfig class work in atom? I am trying to include some classes with the .addIIncludePath() & .store() methods which compile but after recompiling the library these paths aren't added.