eclipsepydevegit

Why does cloning this repo using eGit create two entries in the Eclipse Project Explorer?


Using eGit in Eclipse. when I clone this repo: https://github.com/nicomp42/FunWithCereal-001

I am not using Smart Import

I get two entries in the Eclipse Project Explorer: Two Entries in Project Explorer

My Eclipse is Version: 2023-06 (4.28.0) Build id: 20230608-1333


Solution

  • Your repo has a .project file inside of https://github.com/nicomp42/FunWithCereal-001/tree/master/FunWithCereal-master and another one inside of: https://github.com/nicomp42/FunWithCereal-001/tree/master/FunWithCereal-master/FunWithCereal

    Each .project maps to a new project inside of Eclipse. You should probably remove the internal one and configure the PYTHONPATH properly only on the external.

    See: https://www.pydev.org/manual_101_project_conf2.html for more details on how to configure the PYTHONPATH (i.e.: source folders inside of pydev).