Fork me on GitHub

I was just hit by the "npm <" Linux bug: . I had already encountered it a few months ago but didn't have the time to report/investigate then. But since I have time today, I'm reading the "How to Contribute" page to set up my debugging env, following the instructions, the first one being about saying hello on slack, so here I am: hello everybody ! 🙂


@sebn: welcome! And awesome that you are picking that up!


@pez thanks! when running the extension in debug mode, I started getting a Doesn't support namespace: ... which pointed to a dependency name I mistakenly specified as a string instead of a symbol. Now the issues doesn't occur anymore when running vscode in normal mode from my project, but I'd like to be sure it wasn't magically fixed by running master in debug mode...


Calva should probably handle the error situation much better than just trying to execute that broken command line.


regarding shadow-cljs config validation, looks like it's already planned in some way:


Good find. But before shadow can detect it Calva needs to start shadow. 😃


makes sense 🙂


But better for now to add it as an issue. Jack in is being reworked majorly as we speak so might be a bit messy merging a PR.


even with a valid shadow-cljs config, when I run the master branch in debug mode, the issue disappears, when I remove/reinstall vscode+stable release, the issue is back


Interesting. Does that mean that someone has fixed it in master maybe…


I'll try to run from a tag


Unfortunatelly there are no release tags. But I sometimes include the version number in the commit message. Really should set the git workflow up better!


I see the 2.0.32 commit there. It is the same code as 2.0.33 I think, because something went wrong in the marketplace, publishing 2.0.32, so I had to re-publish.


now I'm getting the issue both on master and when checking out this commit 🙈


at least I can try to debug


I couldn't find any clue while debugging (executable/args/task all looked right), except the issue didn't occur after the last breakpoint


It is also quite strange why it would behave different on Linux…


possibly just an issue when validating the build selection with the keyboard in the end (see GH)


Oh. That’s super strange. Thanks for investigating it so thoroughly.


you're welcome. huge thanks to you for such a useful extension 🙂

❤️ 4
calva 4

So, with that help I could reproduce it on my Mac, @sebn. I updated the issue with my repro. Will add validation of this to Calva.

🎉 4

Hi, friends! When using the docs recommend > If you’re using Cursive IDE, it’s probably a good idea to use IntelliJ’s intention actions to tell Cursive to resolve >defn and >fdef as defn, and >defn- as defn- – this way you get proper highlighting, formatting, error handling, structural navigation, symbol resolution, and refactoring support. When working in VS-Code, the symbols are no longer recognized. It's not as much of a big deal as much as it is annoying for every symbol to come up in the "issues" tab 😞. Does anyone know of a way to alter the resolution of things like >defn so that it appears to vscode as if it were defn ?