New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breadcrumbs missing from babashka scripts without file extensions. #1841
Comments
Thanks! As we've found out in the slack thread, this is related to clojure-lsp, or maybe to how Calva uses clojure-lsp. I tested with a file with this content: #!/bin/bb
(ns my.app)
(defn ^:dev/before-load stop []
(js/console.log "stop"))
(defn ^:dev/after-load start []
(js/console.log "start"))
If the name of the file is
Whereas I name it
CC: @ericdallo |
@PEZ I confirmed it's a bug on clojure-lsp, please open a issue there |
I think this is fixed upstream. |
We have a few babashka scripts without file extensions that begin with a shebang to indicate they're babashka scripts:
The status bar indicates they are Clojure files. However, the breadcrumbs at the top of the file which lists the functions in the file etc do not appear.
Related slack thread: https://clojurians.slack.com/archives/CBE668G4R/p1661453621026229
The text was updated successfully, but these errors were encountered: