What is “src” directory created by Eclipse?

前端 未结 4 1490
清酒与你
清酒与你 2020-12-10 16:23
  1. I just installed Eclipse.

  2. The Eclipse created the \"workspace\" folder.

  3. In this folder I created a \"game\" sub-folder (for my class

4条回答
  •  一向
    一向 (楼主)
    2020-12-10 16:42

    Eclipse attempts to enforce a folder structure that is easy to maintain for all applications. You are not doing anything wrong. But you do have the option to select a different location for your source files but...everyone else expects your source code to be in src so why not.

    On the New Project screen you can choose the location where you want your source files or configure the default location if you are not happy with src.

提交回复
热议问题