-
Notifications
You must be signed in to change notification settings - Fork 1
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
Per-project definition file? #6
Comments
Sublime Text support system-wide as project-wide settings. For project-wide settings, refer to this documentation. Just specify project-specific settings in |
Sorry to be a bother, but setting it in the project does not seem to work:
I still get the error "Ledger definition filename does not exists." Weirdly, I tried to debug in the console:
So maybe something else is going on. Any idea how to debug further? |
I extracted the LedgerTools package and added some debugging to I added the following to # Check for filename in the context of the current file if it is not found
if not os.path.exists(definition_filename):
current_file = sublime.active_window().active_view().file_name()
current_dir = os.path.dirname(current_file)
definition_filename = os.path.join(current_dir, definition_filename) @etienne-monier can we reopen the issue? |
I am experiencing the same issue. +1 for reopening=) |
Ok, I'll have a look on that. |
On the first sight, this is not immediately possible: per the documentation (https://www.sublimetext.com/docs/projects.html#settings-key)
These editor settings seem to not include plugin-specific things. I'll take a look whether we can override syntax-specific settings on a project basis... |
Indeed, that is why the code snippet above allows the |
Hello! Just a friendly reminder that there is PR addressing this issue =) |
Hi, Concerning the settings, the keys are going to be configurable via the project settings file or the pluggin setting files. |
Thanks for the update! |
Hi! Any progress on this? |
From the documentation it seems that the plugin supports only one definition file per user. Is it possible to set a project-specific definition file in some way?
The text was updated successfully, but these errors were encountered: