Open jagmoreira opened 7 years ago
If you reset the user settings to default there should be content in your user settings. How do you open them?
Yes there is content when I first reset user settings. I then only kept the settings for which I changed the value from the default ones. I figured the plugin reads any missing settings from the default file.
I just reset the settings again and this time left all the content that I did not want to change. The user settings still seems to be ignored. FYI, this is file I'm editing:
/Users/<username>/Library/Application Support/Sublime Text 3/Packages/User/LaTeXTools.sublime-settings
You are free to remove the content.
Can you open the ST console ctrl+`
and write from LaTeXTools.latextools_utils import get_setting
and then get_setting("viewer")
. This should print your viewer.
Nope, it's not picking up my changes:
>>> from LaTeXTools.latextools_utils import get_setting
>>> get_setting("viewer")
''
Also try sublime.load_settings("LaTeXTools.sublime-settings").get("viewer")
and view.settings().get("viewer")
First one is empty, second is None:
>>> sublime.load_settings("LaTeXTools.sublime-settings").get("viewer")
''
>>> view.settings().get("viewer")
That's weird. Do your settings work in other packages?
Just tested it. All my other user settings (including Sublime's own settings) are working as expected.
I don't understand how this happens. You can try to write sublime.load_settings("LaTeXTools.sublime-settings").set("viewer", "preview")
and check what is happening, but this is not really a solution.
I do have a similar problem. LaTeXTools seems to ignore my "builder"
setting. When I set my builder to "simple"
In my LaTeXTools System Check it displays it correctly as simple, but it will always use the TraditionalBuilder
.
If I check the loaded settings with get_settings("builder")
it does however show the correct builder settings from my User settings file.
@Tyde: That actually has a somewhat different cause. It's a result of the builder variants available, which ultimately have the ability to override settings. Just use C-shift-B
and select the LaTeX variant and your settings will be honoured.
As I note, I wouldn't recommend using the "simple"
builder. Please use the "basic"
builder instead.
Just been bitten with this with respect to the: "aux_directory"
setting. One project was using this setting correctly, while another was ignoring it. Using C-shift-B
on the project ignoring the setting, and choosing the correct builder solved the issue.
I have just encountered this on Arch Linux with ST3 Build 3126 and latest LatexTools. None of my changes done to the User config apply, I have to edit the read-only default settings for changes to apply.
I'm running MacOS Sierra 10.12.3, ST3 Build 3126, and the latest version of LaTeXTools.
It seems my LaTeXTools User settings are being ignored. I noticed it when I as trying to set up Preview as the pdf viewer:
This didn't seem to work. From the logs:
Then I tried a longer form:
But I got the same error message.
Did a System Check and no important programs seem to be missing:
As you can see the system keeps using
skim
as the viewer.Finally, I tried playing around with my user settings to see if any changes occurred. Here's my current user settings:
However the System Check looks exactly like what I pasted above, i.e., build logs display set to
False
, viewer set toskim
. Note that, despite me explicitly turning it off, image previews are still being displayed.I should also say that I tried the "Reset the user settings to default" trick a few times, and removing and reinstalling LaTeXTools. No change.
Any ideas?