How to start writing spark code in the ubuntu integrated development environment?

Hello, everyone. Excuse me, a problem that has been bothering us for a long time. I have downloaded the hadoop2.6 and spark2.2,hadoop code in ubuntu and written it in eclipse. This is done, but I don"t know how to write the spark code. Do you want to download idea

?
Jul.11,2022

2019, don't use eclipse, use IDEA, learn sbt, and write

on the command line.
Menu