Closed skiphansen closed 1 year ago
I'm (very) new to VS code and I'm trying to follow https://devblogs.microsoft.com/cppblog/importing-st-projects-into-visual-studio-code/ on Linux.
When I run Create project from ST project a dialog opens, but it refuses to accept the directory containing my .cproject file.
When I click "Open Project" the dialog just enters the Test subdirectory.
The .cproject file IS there...
skip@Dell-5510:~/localref/nexus_charger_led$ ll total 216 drwxrwxr-x 11 skip skip 4096 Dec 30 12:07 ./ drwxrwxr-x 5 skip skip 4096 Dec 30 12:04 ../ -rw-rw-r-- 1 skip skip 928 Dec 17 12:52 'CHARGER_LED_BOARD_Full_System_Test_Build_rev00_08_00_date060622 Debug.cfg' drwxrwxr-x 3 skip skip 4096 Dec 17 12:52 Configuration/ drwxrwxr-x 5 skip skip 4096 Dec 17 12:52 Core/ -rw-rw-r-- 1 skip skip 30589 Dec 17 12:52 .cproject drwxrwxr-x 2 skip skip 4096 Dec 17 12:52 Doc/ drwxrwxr-x 6 skip skip 4096 Dec 17 12:52 Drivers/ -rw-rw-r-- 1 skip skip 9003 Dec 17 12:52 DVT1_Build_Charger_Tower_LED_Board_ver_03_00_01.launch -rw-rw-r-- 1 skip skip 9253 Dec 17 12:52 'DVT1_Build_Charger_Tower_LED_Board_ver_03_00_02E Debug.launch' -rw-rw-r-- 1 skip skip 9247 Dec 17 12:52 'EVT2_Build_Charger_Tower_LED_Board_ver_02_03_01 Debug.launch' drwxrwxr-x 8 skip skip 4096 Dec 17 12:52 .git/ -rw-rw-r-- 1 skip skip 8 Dec 17 12:52 .gitignore drwxrwxr-x 3 skip skip 4096 Dec 17 12:52 Middlewares/ -rw-rw-r-- 1 skip skip 15421 Dec 17 12:52 .mxproject -rw-rw-r-- 1 skip skip 8736 Dec 17 12:52 'nexus_charger_led Debug.launch' -rw-rw-r-- 1 skip skip 12477 Dec 17 12:52 nexus_charger_led.ioc -rw-rw-r-- 1 skip skip 1253 Dec 17 12:52 .project drwxrwxr-x 2 skip skip 4096 Dec 17 12:52 .settings/ -rw-rw-r-- 1 skip skip 4833 Dec 17 12:52 STM32G0B1KBUX_FLASH.ld -rw-rw-r-- 1 skip skip 4824 Dec 17 12:52 STM32G0B1KBUX_RAM.ld drwxrwxr-x 9 skip skip 4096 Dec 17 12:52 Tasks/ drwxrwxr-x 3 skip skip 4096 Dec 17 12:52 Test/ skip@Dell-5510:~/localref/nexus_charger_led$
OS and Version:
skip@Dell-5510:~/localref/nexus_charger_led$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
VS Code Version:
Version: 1.74.2 Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161 Date: 2022-12-20T10:27:19.253Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.15.0-56-generic Sandboxed: No
Embedded Tools Extension Version:
Target embedded device: N/A ... didn't get that far but it's an stm32g0
RTOS version: n/a
To Reproduce Try to import ST project on Linux.
Expected behavior Project imports correctly.
I figured it out. Right clicking in the dialog brings up options, selecting "show hidden files" fixes the issue.
I'm (very) new to VS code and I'm trying to follow https://devblogs.microsoft.com/cppblog/importing-st-projects-into-visual-studio-code/ on Linux.
When I run Create project from ST project a dialog opens, but it refuses to accept the directory containing my .cproject file.
When I click "Open Project" the dialog just enters the Test subdirectory.
The .cproject file IS there...
OS and Version:
VS Code Version:
Embedded Tools Extension Version:
Target embedded device: N/A ... didn't get that far but it's an stm32g0
RTOS version: n/a
To Reproduce Try to import ST project on Linux.
Expected behavior Project imports correctly.