I do not know how to get sublimelinter-html-tidy to work
Asked Answered
P

1

7

I have sublime text 3, but after I installed sublimelinter-html-tidy through the 'Package Control: Install Package', nothing changed. I also have Emmit, Bracket Highlighter, Side Bar, and a few others installed on my Sublime 3, and they all do what they are meant to do. They work. Only sublimelinter-html-tidy doesn't do anything, even though it is in my instaled packages.

Any help, or if someone could point me in the right direction, would be great.

Perren answered 6/1, 2015 at 0:27 Comment(3)
Youv installed tidy as well?Sloan
If that is different than installing sublimelinter-html-tidy, then no. I didn't know there was more to it then just installing sublimelinter-html-tidy through Sublime. What should I do?Perren
If you are on OS X tidy should be installed by default, if not you will need to install it - that is what actually does the work.Sloan
W
7

When installing new packages, I strongly suggest reading the documentation on packagecontrol.io. In the case of SublimeLinter-html-tidy, you will notice that there are two prerequisites: SublimeLinter3 and tidy. First, though, please read through the SublimeLinter docs to get an idea of what the plugin is, how it works, and how to set up specific linters. Make sure you read the installation instructions. Next, install and set up SublimeLinter via Package Control.

In order for SublimeLinter-html-tidy to work, you need to have tidy installed on your system. The instructions are in the docs I linked above. Once it is installed and you have verified your PATH as described in the SublimeLinter docs, you'll need to configure tidy. Documentation is here.

Waiver answered 6/1, 2015 at 23:50 Comment(6)
I have read through all the links mentioned above. I already had 'SublimeLinter' and Sublime-html-tidy packages installed before asking my question. I don't see anything dealing with Windows 7 for downloading 'Tidy'. My problem now is to find out where I can download 'Tidy'.Perren
@thinnling the SublimeLinter-html-tidy docs, which I linked in my answer, include a link to this site, where you can download a precompiled binary of tidy for Windows. Make sure you put it in a directory that's in your PATH, or add its directory to your PATH.Waiver
ok, cool. Downloaded the Tidy and libtidy. How would I find where my Path would be? What folder could it be in?Perren
I have put both files in what I believe is my PATH: my main Sublime Text 3 folder. I still don't know how to check if this is my PATH, though. Still not working.Perren
@thinnling go to Start -> Settings -> Control Panel -> System and click on the Advanced tab. Click the Environment Variables button, then under System Variables select Path, then click Edit. Add the directory where you put tidy.exe and libtidy.dll. Save and close out, then restart Sublime.Waiver
Thank you so much for all your help, Matt. Your instructions were very clear and concise and you have helped me so much. Thank you for being so patient and helpful to me. :)Perren

© 2022 - 2024 — McMap. All rights reserved.