Tool to HTML encode selected text
In a static HTML page, I have some text containing characters that need to be HTML encoded; it's actually html that will be displayed in a textarea.
Is there a tool in IDEA to do that encoding? At minimum it would replace <, >, & and " with their equivalent HTML entities. I cound't find one, but that seems surprising.
Thanks.
请先登录再写评论。
Since there were no answers on this, I've filed a ferature request. It's here, though it's not really specific to the CFML plugin:
http://youtrack.jetbrains.net/issue/CFML-149?projectKey=CFML
There are some script plugins for IDEA
I recommend PMIP - ruby plugin
here is sample script on PMIP
Hmmm, that's a thought, I haven't looked at scripting IDEA at all (fairly new user). Still, this is completely basic functionality for an IDE that supports web stuff in a variety of languages. Not to be a wimp, but I shouldn't have to take the time to learn a scripting environment and write something to do it.
Thanks though, might still check it out, if for no other reason than getting my feet wet in ruby or python etc.
Dave