python-editor-v3 icon indicating copy to clipboard operation
python-editor-v3 copied to clipboard

[Project] Edit names of files after creating them

Open microbit-matt-hillsdon opened this issue 3 years ago • 1 comments
trafficstars

You can't edit the names of files after creating them.

Workaround: create new file, copy paste content, delete old file.

One issue to consider is that imports might break, e.g. if you've referenced your new file from the main script.

We should see if Pyright has any rename refactoring support we can leverage.

microbit-matt-hillsdon avatar Feb 02 '22 15:02 microbit-matt-hillsdon

CC @microbit-katie who reported it.

microbit-matt-hillsdon avatar Feb 02 '22 15:02 microbit-matt-hillsdon