On Wed, Dec 16, 2020 at 9:08 AM Eike Ziller wrote:
> Of course an option is also to check if a single sensible place where to add
> the file to exists
> (single CMakeLists.txt file, single target, single
> add_target_sources/other-function-that-we-recognize) and then automatically
> add it,
> o
> On Dec 15, 2020, at 17:22, Kevin André wrote:
>
> So I would suggest showing a
> diff of the CMake file(s) to the user first and asking for
> confirmation before actually applying each of the changes.
That would be a sensible requirement, yes.
At some point it might be simpler for the user to
On Tue, Dec 15, 2020, 17:23 Kevin André wrote:
> I think it could be done without understanding the structure of a
> CMake file, but with some kind of pattern matching instead. Try to
> emulate what a person would do when a new file is to be added: find
> out where the pre-existing source files a
On Tue, Dec 8, 2020 at 5:19 PM Eike Ziller wrote:
>
> > On Dec 8, 2020, at 16:43, Kevin André wrote:
> >
> > On Tue, Dec 8, 2020 at 9:43 AM Eike Ziller wrote:
> >>
> >>> On Dec 8, 2020, at 00:27, Kevin André wrote:
> >>>
> >>> Every time I use the dialog for adding a new class, there is still a
> On Dec 8, 2020, at 16:43, Kevin André wrote:
>
> On Tue, Dec 8, 2020 at 9:43 AM Eike Ziller wrote:
>>
>>> On Dec 8, 2020, at 00:27, Kevin André wrote:
>>>
>>> Hi,
>>>
>>> Every time I use the dialog for adding a new class, there is still a
>>> lot that I need to do manually after the fil
On Tue, Dec 8, 2020 at 10:49 AM Christian Kandeler
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
On Tue, Dec 8, 2020 at 9:43 AM Eike Ziller wrote:
>
> > On Dec 8, 2020, at 00:27, Kevin André wrote:
> >
> > Hi,
> >
> > Every time I use the dialog for adding a new class, there is still a
> > lot that I need to do manually after the files were generated:
> >
> > 1. Add cpp file and often the he
> What where the arguments against a separate namespace field?
Nested namespaces come to mind.
Christian
___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator
> On Dec 8, 2020, at 00:27, Kevin André wrote:
>
> Hi,
>
> Every time I use the dialog for adding a new class, there is still a
> lot that I need to do manually after the files were generated:
>
> 1. Add cpp file and often the header file as well to CMakeLists.txt
Unfortunately automatically
Hi,
Every time I use the dialog for adding a new class, there is still a
lot that I need to do manually after the files were generated:
1. Add cpp file and often the header file as well to CMakeLists.txt
2. Add GPL header to each file (copy from another file and update the
year if necessary)
3. A
10 matches
Mail list logo