This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-13
Channels
- # announcements (18)
- # babashka (52)
- # beginners (47)
- # calva (45)
- # clj-kondo (31)
- # clojure (18)
- # clojure-brasil (2)
- # clojure-europe (3)
- # clojure-sweden (25)
- # clojurescript (19)
- # cursive (15)
- # datalevin (11)
- # defnpodcast (2)
- # duct (1)
- # editors (1)
- # emacs (6)
- # gratitude (1)
- # introduce-yourself (6)
- # jobs-discuss (11)
- # leiningen (3)
- # lsp (10)
- # luminus (2)
- # off-topic (4)
- # podcasts-discuss (2)
- # reitit (2)
- # shadow-cljs (10)
- # sql (9)
- # xtdb (4)
@ericdallo I am doing a maintenance sweep of an app. It is so useful to see those reference counts on vars. Especially fun when the count is 0! Thanks for an awesome feature!
I concur. The reference feature convinced me to start using LSP, as I was trying to understand and refactor a code base that was new to me (and helped me delete lots of redundant code).
I love deleting unused code. Such a rush. The fact that clojure-lsp distinguishes test vs non-test usages is very cool too. Oh, the only place this is used is in a test? Huh. Delete, delete, delete. 🎉
Is there a way to surface LSP warnings and errors in a session log? Legacy apps might have lots of issues (e.g unused namespaces) that aren't worth trying to address while working on a new feature. But it would be nice to see if a chunk of work/session/git diff introduced an issue.
maybe it could be surfaced to tooling similar to how doom-modeline shows lsp info. Like a even darker red 🙂
no, there is no such feature, for that we would need to integrate with git or something, it seems too much specific
Thanks Eric, i'll think about that. I agree it such a feature should be opt in. But i suspect a lot of users would find value in it, git being the industry standard and the issues i present would seem to be a common one. If it isn't i'm curious what people are doing to solve this issue. I believe i can create the tooling for this already just by running the linter on the previous commint and current code and taking the diff. I mean, i know i can because we have a github action that must be doing that somehow though i'm currently not seeing how it gets the diff. 😆