Review Request 115374: Port the BasicRefactoring::startInteractiveRename code to a .ui

Sergey Kalinichev kalinichev.so.0 at gmail.com
Wed Jan 29 10:23:24 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115374/#review48519
-----------------------------------------------------------


Hmm, I've just noticed that cpp language plugin creates _exactly_ the same rename widget manually over again... Maybe we could introduce some function like createBasicRenameWidget in kdevplatform which will create a rename widget and produce simple input validation or something like that?
Or maybe it'll be more simple to port simplerefactoring.cpp to the same ui too?


- Sergey Kalinichev


On Jan. 29, 2014, 1:07 p.m., Sergey Kalinichev wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115374/
> -----------------------------------------------------------
> 
> (Updated Jan. 29, 2014, 1:07 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Bugs: 330263
>     http://bugs.kde.org/show_bug.cgi?id=330263
> 
> 
> Repository: kdevplatform
> 
> 
> Description
> -------
> 
> There is one open question though: Should there be foolproof checks or not? (e.g. new name doesn't contain spaces, dots, braces e.t.c).
> I think there should be input validation, still maybe that check isn't implemented intentionally so that all other languages, that consider those symbols valid for function/variable names, can use refactoring capabilities too?
> 
> 
> Diffs
> -----
> 
>   language/CMakeLists.txt 11a26da 
>   language/codegen/basicrefactoring.cpp 3c584d2 
>   language/codegen/basicrefactoring.ui PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/115374/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sergey Kalinichev
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140129/d8937846/attachment.html>


More information about the KDevelop-devel mailing list