CppEditor: Trigger AddIncludeForUndefinedIdentifier on qualified name base
Now there is no need to position the cursor on "C" of "Namespace::C" to
trigger the quick fix. It will already trigger if the cursor is
somewhere within the name.
Change-Id: Ic99325f95b5cf5551fc74b55606c402461849fb0
Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
Showing
- src/plugins/cppeditor/cppeditorplugin.h 1 addition, 0 deletionssrc/plugins/cppeditor/cppeditorplugin.h
- src/plugins/cppeditor/cppquickfix_test.cpp 39 additions, 0 deletionssrc/plugins/cppeditor/cppquickfix_test.cpp
- src/plugins/cppeditor/cppquickfixes.cpp 55 additions, 35 deletionssrc/plugins/cppeditor/cppquickfixes.cpp
Loading
Please register or sign in to comment