New version published with the ability to find color schemes in zip files. Thanks everyone for your contributions.
ST3: ExportHtml
Looks like a couple of my plugins donāt work when they are archived as .sublime-package. This should be fixed for ExportHtml now.
Iām currently using build 3020 and can not seem to override nor access the default settings. Is this an ExportHTML issue or a ST3 package issue? Is the master branch compatible with ST3 now?
Overriding the settings file on 3020 should not be a problem. I know that at work on my Windows machine it is working fine. What platform are you on: windows, mac, linux?
As for accessing the default, I have just pushed a commit that allows for access to default settings via the menu at Preferences->Packages->ExportHtml.
As for branches, none of the main branches support ST3 at this time. I am waiting to see how Package Control sorts all of this out. It is way too much work to make these plugins (especially the complicated ones) support both ST2 and ST3. While possible, it may become pretty fragile, ugly, and troublesome in the future with new features etc. With that said, supporting multiple branches is also going to become tiresome as well, and I have full intentions to kill off support for the ST2 branches no later than the official ST3 release (if not sooner). While I wonāt delete ST2 branches, I plan on providing no future work on them either as long as they are stable. They may get moved somewhere else, and the main branch might just become the ST3 branch.
Iām using Windows 7 64bit. I have upgraded to the latest package using Package Control by setting the following in my Packages\User\Package Control.sublime-settings
[code] ārepositoriesā:
"https://github.com/facelessuser/ExportHtml/tree/ST3"
][/code]
I was able to pull in your latest change (from today), but I still donāt see my menu or any of my settings overriding the defaults.
Yes, I am running Windows 7 64bit at work, and I am having no issues with ExportHtml. It sounds like maybe PackageControl is not getting the correct or latest branch for you maybe. I cannot reproduce your issues at all. Maybe try manually installing ExportHtml instead of PackageControl to verify?
By the way, if anyone has been experiencing in the past transparent colors that didnāt make sense, this has been fixed as of probably a week ago. It should now give true Sublime colors in all instances, let me know if I you have an example that is turning up contrary to this.
Refactored some code and split out things in such a way that other plugins can use the modules. The new filtering module as added a glow filter.
Also, now you can control (depending on the filter) whether the filter is applied to just the foreground or background.
These will be back-ported to ST2 branch when I get some time.
All of these new features are pretty pointless, but I like them anyways .
Not works:
Traceback (most recent call last):
File "ExportHtml in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 327, in execute
File "ExportHtml in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 954, in run
File "ExportHtml in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 497, in setup
File "lib.color_scheme_matcher in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 83, in __init__
File "lib.color_scheme_matcher in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 142, in parse_scheme
File "lib.color_scheme_matcher in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 166, in strip_color
File "lib.rgba in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 41, in __init__
File "lib.rgba in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 51, in _split_channels
AssertionError
Without more info, Iām not going to be able to reproduce anything.
If you want me to take a look, you will have to:
- point me at the color scheme youāre using.
- post some example code I can copy and paste.
- tell me which Sublime version you are using.
- what OS you are on.
- are you using custom settings, and if so, what are they.
- which export command you are running.
Stuff like that.
For me it is working. Most times when problems are reported, it is because of sloppy color scheme format. So please provide as much info as you can (preferably in an issue on the GitHub repo).
Ah, thatās due to color scheme, if I enable
ācolor_schemeā: āPackages/ExportHtml/ColorSchemes/Print-Grayscale.tmThemeā,
then it works.
Thanks
If you point me at the command and color scheme that failed, it is possible I can look into why it failed.
Ahh, well if you post it somewhere I can access it, I can tell you why it fails, and maybe how to fix it.
https://drive.google.com/open?id=0B3YfJ8tEh553R3NMZEZFeFBqY2M
Actually I donāt mind a lot. There are many ways to print, i.e: open in another Text Editor (I donāt mind the color highlighting)
Iāll take a look. I just wanted to check to see what kind of odd formatting it bombs on. It helps me identify similar issues others have, and sometimes it shows me how I can make the colors scheme parser more robust.
New release: 2.7.0.
Now supports .sublime-color-scheme
. Eventually it will use the actual API, but it was much quicker to just grab the libraries done in ScopeHunter and keep everything else the same, especially since we are still supporting the old method for the stable releases as well.
As always, let me know if I broke stuff.