Type missing from new class dialogue box

Completed

I'm very new to clion and I'm trying to create a new class by right clicking and selecting New -> C++ Class

When the dialogue box comes up "OK" is greyed out and the "Type:" field is empty, as is the drop down if I expand it; there is also an error saying that there are no compatible file types found.

I'm not sure what I'm missing, from what I've read/seen it should just work, I've spend hours searching and have almost given up. See screenshot below.

0
7 comments

What will you see if you press the wrench button on the right of the empty field?

0
Avatar
Permanently deleted user

This window comes up - it appears like .cpp/.h is defined.

 

0

Could you please check that these file types are in `New | Create C/C++ Source File`?

0
Avatar
Permanently deleted user

Yes I see types when I create a source file.

0
Avatar
Permanently deleted user

I found a solution - the mingw environment wasn't setup properly.
Once I installed that everything worked a treat.

2
Avatar
Permanently deleted user

I'm having the same problem here. But I am using ubuntu 16.04.4 and CLion 2018.1.

I cleared my `.CLion2018.1` settings and that didn't help.

 

Any tips? Thanks in advance!

 

> This issue appeared since some version of CLion 2017.x. 

0

@Definefc, sorry for the late reply. Is the issue still actual in the latest stable release (CLion 2018.2.4)?

0

Please sign in to leave a comment.