Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.10.2
-
None
-
-
c8d7c074f56922153923356581fcbd6d15f79110 (qt-creator/qt-creator/master)
Description
When using the Extract Function refactoring tool in C++ code, the namespace is ignored for the implementation in the cxx file.
Eg I'm extracting from Analytics::Calculation::doStuff() a fooBar() method it will be void Calculation::fooBar() instead of void Analytics::Calculation::fooBar()
The header.h looks like this
namespace Analytics { class Calculation : public QObject { void doStuff(); } };
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-12923 Refactoring - Extract Function does not include the namespace in the new function
- Closed