-
Couldn't load subscription status.
- Fork 34
Description
Describe the bug
Importing project adds extra incomplete lines in CMakeLists.txt that will cause builds to fail. This was observed on 4 different Apple silicon macbooks out of a class of 65.
To Reproduce
- Create a minimal project (e.g., "Create C project" with just Console over UART)
- Delete .vscode, .build, .gitignore, pico_sdk_import.cmake.
- import the project
- there will be extra mangled lines in CMakeLists.txt that cause builds to fail
Expected behavior
Those extra characters shouldn't be there
Screenshots
Photo from a student's computer. 4 different students observed the same behavior.
Platform (please complete the following information):
- OS: macOS
- Architecture: Arm64
Additional context
Maybe the original content is longer than the new content - so the old content is being written out even though it should be done?
pico-vscode/scripts/pico_project.py
Line 802 in 18046ae
| file.write(content) |
