Escaping content on plugin
已回答
Hi,
I'd like to paste content from an intellij plugin. I'm already able to do so using
EditorModificationUtil.insertStringAtCaret
However, I would like to use "Escape text on paste in string literals". Is there any internal method that escapes a string considering the type of file that I am at and where I want to paste?
Thanks
请先登录再写评论。
See EP com.intellij.codeInsight.editorActions.CopyPastePreProcessor