Closed trautb closed 1 week ago
The second import shouldn't be required here - when you open the project on a second device the extension should download all the required tools automatically?
Sorry for bothering...
The CMakeLists.txt
had an old version of the "preamble" starting with
# == DO NEVER EDIT THE NEXT LINES for Raspberry Pi Pico VS Code Extension to work ==
instead of
# == DO NOT EDIT THE FOLLOWING LINES for the Raspberry Pi Pico VS Code Extension to work ==
The extension did not recognize that old version, therefore the import was neccessary. With the updated CMakeLists.txt
the import is not neccessary anymore, therefore no duplicated code. ;)
Expected Behavior
When importing an existing project the "preamble" in
CMakeLists.txt
should be recognized and used for importing.Current Behavior
When importing an existing project the "preamble" in
CMakeLists.txt
gets added in front of a already present preamble resulting in duplicate code.Steps to Reproduce
Details
Preamble after second import:
Context (Environment)
v0.17.1