calva 2026-05-01

Hi I'm trying to export a testing workflow from Cursive to Calva for our VSCode users It involves opening .feature files and then running a custom REPL command inside that file To give you an idea of what we're trying to achieve (from cursive):

(require '[blahblah.repl :as repl])
(repl/run-scenario-test! "~file-path" ~line-number)
When we try it in the equivalent Calva code it doesn't work because Calva doesn't want to run Clojure code in the context of a .feature file - the Calva custom repl command code does execute normally within Clojure files Is there something we can do to allow Custom REPL execution to work even in non Clojure files?

{
        "key": "shift+alt+s",
        "command": "calva.runCustomREPLCommand",
        "args": {
            "ns": "user",
            "snippet": "(do (require '[blahblah.repl :as repl]) (repl/run-scenario-test! \"$file\" $line))",
        }
    }

We should fix that in Calva. But I think you may get away with configuring VS Code to treat .feature files as Clojure.