-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make project-specific "compilePaths" relative, to the project #164
Comments
This should have been added with e5d696d -- can you describe your setup so we can try to find where the bug is? |
I have a project with path (as an example): I'm on the latest Mac OS X, using the latest ST3. If I'm reading that commit right, does it get the project path from the location of the project file? If so, then shouldn't it be getting the project path from the Also, the default settings file for this package (in ST3) is not very clear when it comes to the settings |
With this {
"folders":
[
{
"follow_symlinks": true,
"path": "."
}
]
} And this {
"compileOnSave": true,
"compilePaths": {
"test/coffee": ".."
}
} I save Are there any other relative or absolute paths that might be matching the files you're saving? Can you paste the contents of your sublime-settings and sublime-projects files? |
I don't keep my project file in the same dir as the project itself because I keep all my project files in the same folder. So, I use an absolute path for the project. Here is my file, including project-specific CS settings:
This file works. But if I use |
If all your .coffee files placed in same folder, you may specify
This will compile .js file at one level up from .coffee files |
Unfortunately not all my .coffee files are in the same dir. I want all .coffee files to be compiled in their same dir (so therefore, no settings necessary), but for files in a specific folder, I want them to be compiled in another specific folder. |
{
"folders":
[
{
"follow_symlinks": true,
"path": "/Users/mark/scripts"
}
],
"settings":
{
"CoffeeScript":
{
"compileOnSave": true,
"compilePaths":
{
"Testing/coffeescript": ".."
}
}
}
} With this setup, I save Do you have any |
Also, and this may seem obvious, but the |
I've got the exact same project file as you (except The file I tested was I don't have |
For "compilePaths" specified in a project-specific setting file, can the paths please be allowed to be specified as relative paths to the project's root directory, rather than absolute paths?
The text was updated successfully, but these errors were encountered: