Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » enum class don't show correctly under TheIDE Assist
enum class don't show correctly under TheIDE Assist [message #57016] Fri, 14 May 2021 16:26 Go to next message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello Smile

I have thoses enum class :

TiledMap.h
enum class TiledOrientation{Orthogonal, Isometrique, IsometriqueEchelonne, HexagonalEchelonne};
enum class TiledRenderOrder{RightDown, RightTop, LeftDown, LeftUp};
enum class TiledType{Map};
enum class TiledLayerType{TileLayer};

When starting to type "Tiled" in my code (in order to use thoses enum by example) I face this :
https://i.imgur.com/MiIMacj.png
All the empty name are my enums, if I go on one of them, it work.
https://i.imgur.com/EnVovAt.png
https://i.imgur.com/yyX3ZNI.png

Re: enum class don't show correctly under TheIDE Assist [message #57017 is a reply to message #57016] Fri, 14 May 2021 16:35 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1087
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Xemuth,

This is, because Mirek stil uses old style enum without class keyword Wink Anyway, for the newly written code, I always use this construction. This is definitly worth to support, especially this feature is with us since 2011 (c++11).

Resources:
- CppCoreGuidelines - Prefer class enums over "plain" enums

Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 14 May 2021 16:35]

Report message to a moderator

Re: enum class don't show correctly under TheIDE Assist [message #57112 is a reply to message #57017] Wed, 26 May 2021 09:48 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14164
Registered: November 2005
Ultimate Member
Hopefully fixed.

Mirek
Re: enum class don't show correctly under TheIDE Assist [message #57113 is a reply to message #57112] Wed, 26 May 2021 10:41 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Thanks Mirek
Previous Topic: [BUG] Preprocess + pkg-config
Next Topic: Keyboard shortcuts conflict
Goto Forum:
  


Current Time: Sat Dec 14 15:05:13 CET 2024

Total time taken to generate the page: 0.03088 seconds