This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with VS Code

Hi

I've been having issues with this since the first time I installed VS Code and ncs for VS Code. I've used the Nordic's official YT setup guide while installing. 

The problem is shown in the following picture:

When I "Create new application from sample" this does not happen at first. But after I close the VS Code and I reopen it, this sometimes occur.

Can anyone help me with this?

Thanks!

Parents Reply Children
  • Hi Sigurd.

    I'm using Windows 10.

    Sorry for not mentioning that.

  • I am not able to replicate this issue.

    I will ask our developers about it, and I will be back by Monday.

    In the meantime, you should be able to manually create a new project by copying any sample folder, and just selecting the new folder when use the "Open Application" function.

    Regards,
    Sigurd Hellesvik

  • Alright, thank you for the information.

    Same thing happens when I manually copy a sample folder and use the "Open Application" function.

  • Also, I figured I'd share these settings.json, they seem relevant to this issue:

    {
        "workbench.colorTheme": "Default Dark+",
        "idf.showOnboardingOnInit": false,
        "idf.partialDarkTheme": "",
        "idf.espIdfPathWin": "C:\\Users\\Em\\esp\\esp-idf",
        "idf.pythonBinPathWin": "C:\\Users\\Em\\.espressif\\python_env\\idf4.3_py3.8_env\\Scripts\\python.exe",
        "idf.toolsPathWin": "C:\\Users\\Em\\.espressif",
        "idf.customExtraPaths": "C:\\Users\\Em\\.espressif\\tools\\xtensa-esp32-elf\\esp-2020r3-8.4.0\\xtensa-esp32-elf\\bin;C:\\Users\\Em\\.espressif\\tools\\xtensa-esp32s2-elf\\esp-2020r3-8.4.0\\xtensa-esp32s2-elf\\bin;C:\\Users\\Em\\.espressif\\tools\\xtensa-esp32s3-elf\\esp-2020r3-8.4.0\\xtensa-esp32s3-elf\\bin;C:\\Users\\Em\\.espressif\\tools\\riscv32-esp-elf\\1.24.0.123_64eb9ff-8.4.0\\riscv32-esp-elf\\bin;C:\\Users\\Em\\.espressif\\tools\\esp32ulp-elf\\2.28.51-esp-20191205\\esp32ulp-elf-binutils\\bin;C:\\Users\\Em\\.espressif\\tools\\esp32s2ulp-elf\\2.28.51-esp-20191205\\esp32s2ulp-elf-binutils\\bin;C:\\Users\\Em\\.espressif\\tools\\cmake\\3.16.4\\bin;C:\\Users\\Em\\.espressif\\tools\\openocd-esp32\\v0.10.0-esp32-20210401\\openocd-esp32\\bin;C:\\Users\\Em\\.espressif\\tools\\ninja\\1.10.2;C:\\Users\\Em\\.espressif\\tools\\idf-exe\\1.0.1;C:\\Users\\Em\\.espressif\\tools\\ccache\\3.7;C:\\Users\\Em\\.espressif\\tools\\dfu-util\\0.9\\dfu-util-0.9-win64;C:\\Users\\Em\\.espressif\\tools\\idf-python-wheels\\idf4.3_py3.9_2021-01-07",
        "idf.customExtraVars": "{\"OPENOCD_SCRIPTS\":\"C:\\\\Users\\\\Em\\\\.espressif\\\\tools\\\\openocd-esp32\\\\v0.10.0-esp32-20210401/openocd-esp32/share/openocd/scripts\",\"IDF_CCACHE_ENABLE\":\"1\"}",
        "idf.gitPath": "git",
        "idf.adapterTargetName": "esp32",
        "idf.openOcdConfigs": [
            "interface/ftdi/esp32_devkitj_v1.cfg",
            "target/esp32.cfg"
        ],
        "idf.flashType": "UART",
        "idf.portWin": "COM7",
        "nrf-connect.welcome.showOnStartup": false,
        "nrf-connect.topdir": "c:\\Users\\Em\\ncs\\v1.5.0",
        "nrf-connect.toolchain.path": "c:\\Users\\Em\\ncs\\v1.5.0\\toolchain",
        "C_Cpp.updateChannel": "Insiders",
        "C_Cpp.default.configurationProvider": "nrf-connect",
        "nrf-connect.applications": [
        
        
        ]
    }

  • Hi Emir

    Could you send the output from the command:  "nRF Connect: Generate Support Information" and  "C/C++: Log Diagnostics"?

    When reloading VS Code, loading the extension can sometimes be slow. Do you still have the issue if you build a after a short wait?

    Regards,
    Sigurd Hellesvik

Related