开发者

Qt Creator Code File Refactoring

开发者 https://www.devze.com 2023-03-03 05:03 出处:网络
I was wondering if anyone know of a quick and easy way to refactor the code files in my QT Project using QTCreator? Specifically I am trying to organize my source files and 开发者_运维问答Its a bit of

I was wondering if anyone know of a quick and easy way to refactor the code files in my QT Project using QTCreator? Specifically I am trying to organize my source files and 开发者_运维问答Its a bit of a pain to have to go back into the project file and change the filepath for each file. Not to mention moving a dialog class is even worse (there are .ui files not included in the project but you have to change those too.


The only file renaming/moving support that is "integrated" (i.e. it updates your project file automatically) is using the active project pane with your file list, rightclick and select "rename", using "../../some/new/dir/name.cpp" to move your files. It will of course not update any #include statements, but will save you the trouble of modifying your .pro file manually. It also respects "git rename" etc...


I don't think thats possible, moving files without ide support is a pain in the... :/

0

精彩评论

暂无评论...
验证码 换一张
取 消