This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-17
Channels
- # babashka (4)
- # beginners (161)
- # calva (19)
- # cider (13)
- # circleci (16)
- # clj-kondo (7)
- # cljs-dev (3)
- # cljsrn (46)
- # clojure (105)
- # clojure-australia (2)
- # clojure-nl (15)
- # clojurescript (20)
- # conjure (14)
- # core-async (8)
- # cursive (3)
- # datomic (4)
- # figwheel (5)
- # fulcro (22)
- # graalvm (1)
- # hoplon (2)
- # kaocha (3)
- # leiningen (6)
- # malli (5)
- # off-topic (19)
- # re-frame (5)
- # reagent (1)
- # reitit (43)
- # releases (1)
- # reveal (14)
- # rewrite-clj (2)
- # rum (1)
- # shadow-cljs (31)
- # spacemacs (2)
- # sql (6)
- # xtdb (8)
Hi, I've been using Calva for >2 months now but for some reason I cannot get the VS Code 'Outline view' to work. Any tips?
Hello, two months ago it wasn't enabled in Calva. But now it should work. Which version of Calva are you using?
v2.0.151. I reinstalled earlier today to see if that fixed the issue (it didn't)
(on Windows 10 btw)
That’s the latest and greatest. We have had Windows issues lately. Maybe this is one. Can you create a minimal repro that we can look at?
You mean in github (I normally use Azure DevOps GIT)?
Must be something in my code/project, if I setup a new project outline view does work. Will investigate and let you know the root cause (if I find it:wink:).
Great. Here’s hoping you find it. As I said, this is new functionality and we certainly has quirks to find.
I'm able to reproduce the issue. I've uploaded a small example to https://github.com/eu400000/Calva-VSC-Outline-Issue. The readme file has the details to reproduce the issue. Not sure if this is Calva related. I did remove the VSC 'Better comments' extension to rule that out as possible cause (no effect). Hope the example makes sense to you.
What’s your take on this, @UKFSJSM38?
Sorry but I don't known how Calva outline view works, it should shows symbols of the current ns? do you know what lsp method Calva request to clojure-lsp?
But I can investigate it some. Or maybe if @U9A1RLFNV has the time, he is more in the know of this than I am.
I believe VS Code is using the response from the textDocument/symbols lsp request, which I'm assuming is not returning symbols or something. I'll have to look at the trace logs for this when I have time
Thanks for the repro project! Made an issue to track it here: https://github.com/BetterThanTomorrow/calva/issues/962
Yeah, probably it's what @U9A1RLFNV said 🙂
My awkward current https://github.com/clyfe/vscode: • Sexp movement via ctrl+arrows. • Word selection via shift+ctrl+arrows. • Movement sometimes via word selection (in-sym/kw/str use) • killListForwardToClipboard used for delete, cut, or copy sexp list Should be pretty usable for folks that haven't used paredit before.