[Qt-creator] Expand Macro on mouse over (Feature Request?)
Michael Jackson
mike.jackson at bluequartz.net
Tue Oct 24 14:38:14 CEST 2017
This is what I get when I hover my mouse over one of our macros. So, yes, technically it expanded but only a single level. The macro from the screen shot is located in this file:
https://github.com/BlueQuartzSoftware/SIMPL/blob/develop/Source/SIMPLib/Common/SIMPLibSetGetMacros.h
If you want to use that as a test from our project.
--
Michael Jackson | Owner, President
BlueQuartz Software
[e] mike.jackson at bluequartz.net
[w] www.bluequartz.net
-----Original Message-----
From: Eike Ziller <Eike.Ziller at qt.io>
Date: Tuesday, October 24, 2017 at 3:54 AM
To: Michael Jackson <mike.jackson at bluequartz.net>
Cc: "qt-creator at qt-project.org" <qt-creator at qt-project.org>
Subject: Re: [Qt-creator] Expand Macro on mouse over (Feature Request?)
> On 23. Oct 2017, at 17:54, Michael Jackson <mike.jackson at bluequartz.net> wrote:
>
> Before I added a feature request I just wanted to get a general idea if others would like the feature. Back in the dark days when I used Eclipse for C++ development one of the features of the editor that I still miss was the ability to mouse over a C/C++ macro and the popup would show the fully expanded macro. This was handy in a few situations when trying to debug the macro or just see what the expanded code looks like. This is especially useful for deeply nested macros.
>
> Are there thoughts one way or another? Has anyone tried to implement this feature?
Qt Creator does that (for me). Though the code is not nicely formatted, so there is room for improvement.
Br, Eike
--
Eike Ziller
Principal Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-10-24 at 8.35.33 AM.png
Type: image/png
Size: 57219 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171024/64100363/attachment.png>
More information about the Qt-creator
mailing list