-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace string,long string to empty (eg. delete functions) #21389
Comments
This works for me - I can do a search/replace to an empty string. What goes wrong when you try to do it? |
You are right if the string is in one single line or as one word, if structure with \n \r then replacing not acting.
Maybe solution is to offer resize control to the search/replace popup window? It's realy hard to edit longer string to search/replace in short input field where long text is "parsed" to single line. |
Search/replace with multiple lines isn't supported right now, so is that the problem? Can you give me steps for exactly what the problem is? |
Yes this is problem or leak functionality. Let me explain. In ORM exist many classes eg. django. Refactoring is often hard pain to project clasess easy, clear and cognitive. Soo.. we often replacing names in class Meta globally, eg. name1, name2 to name1object, name2object in all files of project. The example is small coz very ofeten is long json structures as dictionaries, tupples fields or htmls parts (as naturaly override pratice for deafult framework code).
Trying reffer to sollution like in https://www.jetbrains.com/help/pycharm/2016.3/move-refactorings.html |
I see. Multiline search is tracked by #13155. Hope to support it sometime. |
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: