Why does eclipse create a .settings directory?

后端 未结 3 1273
不知归路
不知归路 2021-02-05 00:47

i have noticed that eclipse recently creates a .settings directory with 1 file inside and i am wondering if i should add this to version control? SVN?

also, is this new?

3条回答
  •  梦毁少年i
    2021-02-05 01:08

    This file records project specific settings vs. workspace preferences.

    I noticed that this file is usually created when you convert a regular Java project to Java EE project.

    The only time I would check this file in is when the project's compiler/warning settings are different from the default workspace settings.

    This may be the case when some legacy projects cannot be compiled with the latest and greatest java compiler, or when the source code generated by a 3rd party produces a lot of warnings that are benign but pollute your Problems view.

    If you are going to use project specific settings, then definitely check this file in. Otherwise delete it.

提交回复
热议问题