The Wolfram Workbench provides many useful features for working with Mathematica code. These are described in this section.
Typically Mathematica code lives in a file with extension .m, for example the file Test.m. Another important type of file has an extension .nb; these are for the Mathematica notebook front end. You can open either type of file by clicking its name in a view, such as the Navigator view. A special code editor is launched when you click a .m file, whereas the Mathematica front end is used when you click a .nb file.
This section describes the Mathematica code editor provided for working with .m files. The getting started/files section of the documentation contains some useful information on general aspects of working with files in the Workbench.