Re: [nbdiscuss] Gimme an LFI # ...
Tor Norbye <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
Petr Kuzel wrote: > Tor Norbye wrote: > > >>This e-mail is a request for permission to host a file on netbeans.org. >>More specifically, I want to hose "jtidy" (an HTML error checker): >> http://sourceforge.net/projects/jtidy >>This would become part of one of the optional tasklist modules. >>The specific file I want to host is > > > Tor, once approved, could you place it under libs project, please?. Ok. I don't have putback privileges there so somebody else will have to do it. > XML modules could share it for formatting and pretty printing > features. Yes, it works well. I've integrated it with the tasklist module such that when you open an HTML, or XML, or JSP document, Tidy is run on the content and errors/warnings are listed. There's also a context menu action which lets you rewrite/reformat the document. I used it to reformat my layer files since I haven't figured out how to do that with the XML module, and the output looks good. But it would be nice to make it a standalone Tools action, since you cannot access the suggestiontype-specific context menu when there are no errors in the document. But it would probably be good if we share the Rewrite action that I put together so it's consistent for the modules. It provides the ability to select from some common tidy options (remove endtags, etc.), as well as a Preview button which shows a diff view using the diff module. For a testspin, http://www.norbye.org/tor/tasklist-html.jar (requires the latest version of the tasklist support modules)