[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2023-09-15 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #15 from Igor Kushnir --- Git commit 82f2316385c617c2fe6c66c8fbd42c22162fa83d by Igor Kushnir. Committed on 15/09/2023 at 11:02. Pushed by igorkushnir into branch 'master'. astyle: allow configuring add-braces option I had to implement thi

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2023-09-15 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 Igor Kushnir changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2023-08-02 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #13 from Piotr Mierzwinski --- (In reply to Igor Kushnir from comment #12) > I have implemented a much more reliable (and unfortunately much more > verbose) version of extractFormattedTextFromContext(). Currently adding some > tests to incre

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2023-06-22 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 Igor Kushnir changed: What|Removed |Added Assignee|kdevelop-bugs-n...@kde.org |igor...@gmail.com -- You are receiving this mai

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2023-06-22 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 Igor Kushnir changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #12 from Igor Kushnir ---

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2020-03-25 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #11 from Igor Kushnir --- (In reply to Piotr Mierzwinski from comment #10) > I look forward to your fix. I'm grateful that you interested this and are > going to fix it. Broken code was really annoying thing what I met after > refactoring.

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2020-03-24 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #10 from Piotr Mierzwinski --- (In reply to Igor Kushnir from comment #9) > (In reply to Piotr Mierzwinski from comment #8) > > Could you tell me where you found another code formaters for KDevelop? I > > have only these provided in kdevelop

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2020-03-21 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #9 from Igor Kushnir --- (In reply to Piotr Mierzwinski from comment #8) > Could you tell me where you found another code formaters for KDevelop? I > have only these provided in kdevelop package? There are 12 Style options if you select "Art

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2020-03-20 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #8 from Piotr Mierzwinski --- (In reply to Igor Kushnir from comment #6) > I have experienced similar Rename bugs in KDevelop 5.5.0: > 1) it always inserted spaces between the renamed variable and > parentheses; > 2) sometimes it ins

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2020-03-20 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #7 from Igor Kushnir --- I see that my braces bug is the same as Piotr's. It is triggered by a brace inserted by a formatter just before the renamed variable. The bug is in extractFormattedTextFromContext(): endOfLeftContext = matchPrefi

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2020-03-19 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=365437 Igor Kushnir changed: What|Removed |Added CC||igor...@meta.ua --- Comment #6 from Igor Kushnir

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2018-08-20 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 Piotr Mierzwinski changed: What|Removed |Added Version|5.1.1 |5.2.3 -- You are receiving this mail becau

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2017-09-01 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #5 from Piotr Mierzwinski --- Being in Review mode I made corrections for this "lost curly bracket". I remove curly bracket jumping "Next", remove curly bracket, "Next" and after using "Prev" KDevelop just crashed generating not usable backt

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2017-09-01 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #4 from Piotr Mierzwinski --- One more example where refactoring breaks code, sorry for so many comments, but "Renaming declaration" destroyed my code in many places :(. if (condition1) { one_line_of_

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2017-09-01 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 --- Comment #3 from Piotr Mierzwinski --- Some clarification for last post. I met this issue also when mentioned previously code with curly bracket not happened, so wasn't there this code: if (condition) { one_line_of_code;

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2017-09-01 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=365437 Piotr Mierzwinski changed: What|Removed |Added Version|5.0.0 |5.1.1 --- Comment #2 from Piotr Mierzwinski

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2016-09-13 Thread Anton Anikin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365437 Anton Anikin changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED CC|

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2016-09-07 Thread Piotr Mierzwinski via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365437 Piotr Mierzwinski changed: What|Removed |Added Version|git master |5.0.0 -- You are receiving this mail becau

[kdevelop] [Bug 365437] Rename local variable using "Rename" assistant breaks code

2016-07-11 Thread Piotr Mierzwinski via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365437 Piotr Mierzwinski changed: What|Removed |Added CC||piotr.mierzwin...@gmail.com --- Comment #1