[Qt-creator] Suggestions for 'new class' dialog
hyperquantum at gmail.com
Tue Dec 8 17:10:53 CET 2020
On Tue, Dec 8, 2020 at 10:49 AM Christian Kandeler
<Christian.Kandeler at qt.io> wrote:
> > What where the arguments against a separate namespace field?
> Nested namespaces come to mind.
A separate namespace field could still support nested namespaces.
The issue I'm raising is simply that namespace support is hidden. Like
someone suggested in QTCREATORBUG-18965, a simple solution could be to
set a placeholder text like "Namespace::Class" to the class name
But a separate namespace field would be preferable. Maybe label it
"namespace(s):" to indicate nested namespaces support, and add a note
that it is optional. A really nice feature would be to add an
auto-complete function to that field, or make it a combobox that is
populated with all namespaces from other files in the project.
More information about the Qt-creator