forked from qt-creator/qt-creator
CppEditor: Add quickfix for moving function documentation
... between declaration and definition. Fixes: QTCREATORBUG-13877 Change-Id: If2a8977587ef2ac888e9c9dde5f63d222d96d964 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -593,5 +593,13 @@ private:
|
||||
TextEditor::QuickFixOperations &result) override;
|
||||
};
|
||||
|
||||
//! Moves function documentation between declaration and implementation.
|
||||
class MoveFunctionComments : public CppQuickFixFactory
|
||||
{
|
||||
private:
|
||||
void match(const CppQuickFixInterface &interface,
|
||||
TextEditor::QuickFixOperations &result) override;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppEditor
|
||||
|
||||
Reference in New Issue
Block a user