sudo apt-get install eclipse eclipse-cdt
Open eclipse, click the top right corner icon (a box with a yellow plus mark) called “Open Perspective”, and check C/C++.
ctrl+F10 -> show line numbers.
ctrl+shift+l -> change ctrl + b for build project, not build all.
(GT72: You need to run tsim through eclipse, not through terminal; otherwise, it’s stuck after it’s run. It shows HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP, but I think this error does not matter with this stuck issue.)