Hacker News new | ask | show | jobs
by TinkersW 518 days ago
Everything you asked for has existed for like decades..
2 comments

? Which IDE hides the types in the source code to make it more compact?
In the source code? That's a skill issue not an IDE issue. If you have ugly types, you fix that in source code with `using` declarations.
What the hell is a skill issue? Open a random GitHub repo. Do all of the authors of C++ have skill issues except you ?
> What the hell is a skill issue? Open a random GitHub repo.

Can you be a bit clear? I rarely see any project whose authors express types with fully qualified names. What exactly are you talking about?

not in the source code, in the debugger UI (callstack, watch/locals, etc...)
At least in lldb (the LLVM equivalent of GCC's gdb however gdb should also do this), types should be shown as their declared type rather than the fully expanded resolved type. At least as long as you are running with debug information attached.

This means if you are declaring types with `using` declarations they should be showing up as that type in the debugger.

I'm sure, but could you point me in the direction of these tools? I would love to supply GDB with some aliases for much used templates so I can have less verbose outputs
I'm not a C++ dev, but here are a couple of IDEs that I know have strong C++ support and much more user friendly debugging than using GDB via the command line...

https://www.jetbrains.com/clion/ https://visualstudio.microsoft.com/