Files
openide/python/testData/resolve/PercentStringDictCall.py
Valentina Kiryushkina baee11599d For #PY-2748 Fix false positives, rename issues, add tests and minor fixes according to review
* Don't process renaming string literal expression if it's PyKeyValueExpression: it corrupts user's code by renaming only key-value expression and leaving substitution key the same
* Pass isPercentString as constructor parameter, use PyPsiUtil.flattenParens(), rename method(process...-> resolve...)
* Fix false positive with function call and add tests
* In percent string resolve to all literal expressions, not only string literal
* In RenamePyLiteralExpressionProcessor always throw IncorrectOperationException
2016-03-09 13:33:27 +03:00

1 line
43 B
Python

"first is %(<ref>fst)s" % dict(fst="hello")