Skip to content

Espressif-IDE (v3.0.0) can not handle Windows Junctions properly (IEP-1339) #1063

Description

@carlessole

I’ve recently installed the latest version of Espressif-IDE (v3.0.0):

Version: 3.0.0
Build id: 20240605-1941

In my project, I’m using Windows junctions for certain directories. Everything worked fine with previous versions (e.g., 2.8.1), but with v3.0.0, it’s become difficult to develop code using junctions.

Here are the main issues I’m encountering:

1. File Path Inconsistencies:

  • When opening a file from the Project Explorer, the junction path is used:
    image

  • But when opening a file via the indexer (Ctrl + Click), the file is opened using its absolute path:
    image

  • This results in two different instances of the same file in the IDE, making it easy to lose changes when editing them simultaneously.

2. Debugging Issues:
Breakpoints can only be set on files opened via the junction path, not the file opened by the indexer (the “real” absolute path).

Is this a known problem? Is there a workaround?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions