2016-08-20 5 views
0

私は次のものをHTMLファイル(IntelliJ Idea IDE内)にコピーしたいとします。 (テキストなど)コピーまたはIntelliJ Ideaの選択でHTML特殊文字を変換/エンコード

The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. 

そして、それはないHTMLタグとして印刷可能なテキストとして

をコピーされるように、それは私は通常、このweb2generators.com | HTML Entities Encoder/Decoderを使用し、この

The &lt;head&gt; element is a container for metadata (data about data) and is placed between the &lt;html&gt; tag and the &lt;body&gt; tag. 

に変換しますが、私が欲しい持っていますより速い方法。

この質問はIs there a functionality like Sublime's “HTML: Encode Special Characters” in Intellij IDEAでしたが、質問への更新(これは部分的な解決策です)でもタグの問題は解決しません。

答えて

1

String Manipulation Pluginを使用してください。テキストをペーストする必要があるので、関連するテキストを選択し、String manipulation-> escape/unescape-> escape htmlを選択するか、あまりクリックしないようにマクロを定義します。

関連する問題