I'm a beginner UNIX C++ developer transferring from Windows. I have been getting by with Vi and xterms but development is much slower than with Visual Studio.
I presume I'm not using the right tools as UNIX is meant to be developer-friendly.
Would someone point me to a Unix IDE that has the following features:
modeless (ie like Windows editting),
a window for project file management (like Visual Studio's Solution Explorer window)
language specific syntax highlighting for C, C++, Java
autocomplete text editing
ability to jump from class/fn calls to defns (I think this might be called intellisense)
An output window that allows you to jump from an error to the suspect line in code (in Visual Studio you double click the error)
(optional) help suggestions (in Visual Studio you press F1 when the cursor is on an error line in the output window)
interface for gdb/ddd debugger
Below, I've included a small test program with 2 errors that I'd hope to find and fix easily with the IDE.
//Test.cpp for UNIX IDE#include
using namespace std;
int FuncTooManyArgs(int a, int b); //Fn sums two integers
int arg1 = 1;
int arg2 = 2;
int arg3 = 3;
int answer = FuncTooManyArgs(arg1,arg2,arg3); //Error 1: due to extra arg
cout << "
Sum: " << answer << endl;
int * leak = new int(2);
leak = new int(3); //Error 2: reassigning ptr creates mem leak
cout << "
Number: " << leak << endl;
int FuncTooManyArgs(int a, int b)
return (a + b);