Package com.intellij.psi.util

Class PsiLiteralUtil

Parameters:
s - original text
escapeStartQuote - true if first quote should be escaped (e.g. when copy-pasting into text block after two quotes)
escapeEndQuote - true if last quote should be escaped (e.g. inserting text into text block before closing quotes)
escapeSpacesInTheEnd - true if spaces in the end of the line should be preserved even if no new line in the end is present
Skip navigation links

This is unofficial documentation and not affiliated with Jetbrains s.r.o. at all. We can not guarantee the correctness of this documentation.