This tutorial is intended for intermediate users that are not new in homebrew, so it will not be plenty of screenshots and assumes that devkitPro is already installed and its variables set.
This guide can also be applied for NDS and maybe other platforms supported by devkitPro (not tested), just change the path where libraries are installed when needed.
It can also be used on Windows too (not tested too, but there should be no differences other than changing paths).
Last note: I used Eclipse few times in my life, so probably there are other (and smarter) ways to achieve the goal, but this tutorial was written mainly for myself, since I was not satisfied of current editors/IDEs I’ve tried on Linux for homebrewing.
Suggestions are welcome!