eclipse cdt tricks - Serbipunk/notes GitHub Wiki

capitalize and vice-versa

  • ctrl shift + x to upper letters
  • ctrl shift + y to lower letters

adding unresolved library like eigen3

Project - Property - C/C++ General - Paths and Symbols

https://stackoverflow.com/questions/52010555/configure-eclipse-for-c-with-eigen-library

debug & watch line by line

no source available for main()

in a sentence, add -g to CPP

https://stackoverflow.com/questions/2324602/no-source-available-for-main-error-when-debugging-simple-c-in-eclipse-with

other tricks

official guide

https://www.eclipse.org/community/eclipse_newsletter/2017/april/article2.php

tool view

window - show View

vrapper

http://vrapper.sourceforge.net/documentation/?topic=configuration

working directory

https://www.eclipse.org/forums/index.php/t/1102809/

Run -> Run Configurations -> < select your program> -> Arguments tab -> set working directory at bottom of this tab.

Run -> Run Configurations -> < select your program> -> working directory input box

google c++ formatter

https://gist.github.com/ivladak/1ffb0784b6deeb9ca798

color theme

http://www.eclipsecolorthemes.org/?view=how-to-use

solarized light: http://www.eclipsecolorthemes.org/?view=theme&id=1013

gruvbox hard: http://www.eclipsecolorthemes.org/?view=theme&id=47034

gruvbox light: http://www.eclipsecolorthemes.org/?view=theme&id=23470