magic_enum icon indicating copy to clipboard operation
magic_enum copied to clipboard

IntelliSense very slow after #include <magic_enum.hpp>

Open MarkusMiller opened this issue 2 years ago • 1 comments

Hello,

I just stumbled across the issue that IntelliSense somehow stopped working smoothly after including magic_enum.hpp. I noticed this already last week in another cpp-File but couldn't see any reason, why that happened. It also was only present in that file. I just created a new file and included magic_enum.hpp as first header and IntelliSense was slow right after that. It recovers, though, when commenting the header out again.

Is that just the case for me?

MarkusMiller avatar Aug 17 '22 02:08 MarkusMiller

the same issue occurs on vscode with C/C++ v1.12.0 extension.

vNaonLu avatar Aug 25 '22 01:08 vNaonLu

same issue, intellisense slow after including the header

Germwalker avatar Oct 31 '22 14:10 Germwalker

The header is heavy on compile-time in general which may be the cause. #219

Trass3r avatar Nov 04 '22 16:11 Trass3r

@MarkusMiller @Germwalker @vNaonLu Could you please check how it is now on the latest master?

Neargye avatar Nov 28 '22 22:11 Neargye

Will try it in the next days and get back to you

MarkusMiller avatar Nov 29 '22 11:11 MarkusMiller

It's better for me ! Seems to be as transparent as other libs. Thank you !

Germwalker avatar Nov 30 '22 09:11 Germwalker

It seems to work now. Thank you

MarkusMiller avatar Nov 30 '22 12:11 MarkusMiller

Sorry for the late reply. It works for me now. Thank you.

vNaonLu avatar Nov 30 '22 13:11 vNaonLu

Will prepare new release with improvements

Neargye avatar Nov 30 '22 18:11 Neargye