I have a few issues/suggestions for improvement of the VSCode extension for Nrf Connect, that I like to submit to the developers :
I tried the github link https://github.com/nrfconnect/vscode-nrf-connect that is still listed at https://marketplace.visualstudio.com/items?itemName=nordic-semiconductor.nrf-connect-extension-pack
But that github projects has been turned private or moved.
1. I have an issue with my standard VSCode environment that makes the extension unsuable with error 401 on all pages.
I solved the 401 issue temporarily by installing a separate copy of VSCode (VScode Insiders - which sets up a parallel VSCode environment)
2. Make all identical or conflicting tasks "Singeltons" which means make it impossible to trigger more than one of identical or conflicting tasks.
It is just a matter of keeping tabs of the command lines you issue and make sure that not more than one copy can be started at the same time
I have a hard time avoiding clicking more than once of the Flash button in the environment. All the action buttons can trigger more than one run, eg builds, which is fine if I want to trigger two different builds.
But in the case of flash when I accidentically doubleclick Flash (a normal click action in many other environments) I get lockups that sometimes put the J-link DLL in a strange state where I can't successfully flash my target without rebooting my Windows 10 development machine and start up VSCode again. Just restarting VSCode does not help, the multiple flashes seems to affect the J-Link DLL
3. I suggest that the install process for nrfconnect for VSCode take advantage of the new features with different settings profiles in VSCode 1.71 onward
VSCode can now be set up with different profiles with completely different sets of extensions. These different profiles can be chosen from both a meny inside VSCode, and at the commandline when startup up VSCode. Many embedded developers need to run more than one tool chain. nrfconnect for VSCode conflicts with plugins needed by other toolchains, like CMake.
The VSCode team at Microsoft has demonstrated that it is possible to run different toolchains, sets of extensions and settings, in different instances of the same VSCode install on the same machine.
