Skip to content

Deleting tab from IDE does not delete from temporary folder #1161

Closed
@nickgammon

Description

@nickgammon

Make a project that includes a .h file, for example:

#include "foo.h"

void setup ()
  {
  int a = foo; 
  }  // end of setup

void loop () {}

And foo.h contains something, for example:

int foo = 42;

Compile this (it should succeed).

Now delete the tab foo.h from the IDE.

Compile again. It succeeds, but should not, as foo.h is now missing. It is still in the temporary folder, and even though it is not copied from the development area to the temporary folder, since it is still there, the compile succeeds.

This can cause confusion as unexpected or out-of-date .h files are included in projects during the development process.

Solution: The IDE should delete files from the working (temporary) folder when the file of the same name is deleted from the IDE workspace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions