Foam is a good solution if your not writing code on vscode. Our you should have second vscode somehow. KM should be seperate from my development enviroment.
>KM should be seperate from my development enviroment.
Based on what? On Emacs it has been combined (org mode etc) since the dawn of time...
And that's why it has only reached adoption inside a very particular demographic, which may or may not be a selling point for you as a user (customer?) but definitely has an impact on the community and the usage of the tool.
Personally, I like having my dev environment and my note-taking environment be the same. I finely tune VS Code to do what I want and I miss those features when I'm editing elsewhere. If I setup configuration or plugin that's non-optimal for note-taking, I can adjust that in the workspace settings