pixijs / devtools

Browser devtools extension for debugging PixiJS applications
http://pixijs.io/devtools/
MIT License
25 stars 3 forks source link

Use class names instead of instance names #35

Open chky-nmnsoftware opened 3 weeks ago

chky-nmnsoftware commented 3 weeks ago

Hello there. Just like the title says, I believe it would be better to use the actual class names instead of instance names and instead replace the type property with the instance property.

Currently, it is difficult to navigate around because everything is Container or Sprite, and I can only check the name of the class by clicking on it. Instead, it would be nice to keep the icons for instances (so all containers share the same icons, all sprites, etc), but use the class names for the main navigator instead (so instead of Container; Container, it would use whatever class name, so Header, Footer, assuming that both the class Header and the class Footer extend Container) and under the type property, just specify what type of PIXI instance it extends (in our case, it would be Container). This would make it so much easier to navigate.

Zyie commented 3 weeks ago

Hey @chky-nmnsoftware thanks for the suggestion, I think this is a good idea and i will implement ASAP