Which IDE or editor is best for c++ competetive programing ?

Hi Guys,

Please let me know what are the IDE/editors should I use for c++ competetive programming in my local system in ubuntu 18.04.

These below are some IDE or editors I used but not satisfied.

1.) I used the microsoft visual studio but it is very slow and every time it asks me to make new project.

2.) I used gedit/nano in ubuntu and executed the command from ubuntu terminal for compilation but thats also not suitable for debugging of complex programs like tree and graphs.