calva

所属分类:collect
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-07-10 19:46:48
上 传 者sh-1993
说明:  VS代码的Clojure和ClojureScript交互式编程,
(Clojure & ClojureScript Interactive Programming for VS Code,)

文件列表:
calva-published/ (0, 2023-12-20)
calva-published/.circleci/ (0, 2023-12-20)
calva-published/.circleci/config.yml (19712, 2023-12-20)
calva-published/.dockerignore (1282, 2023-12-20)
calva-published/.eslintignore (91, 2023-12-20)
calva-published/.eslintrc.js (2034, 2023-12-20)
calva-published/.joyride/ (0, 2023-12-20)
calva-published/.joyride/deps.edn (644, 2023-12-20)
calva-published/.node-version (3, 2023-12-20)
calva-published/.prettierignore (131, 2023-12-20)
calva-published/.prettierrc (520, 2023-12-20)
calva-published/.vscode/ (0, 2023-12-20)
calva-published/.vscode/launch.json (6597, 2023-12-20)
calva-published/.vscode/settings.json (4499, 2023-12-20)
calva-published/.vscode/tasks.json (3011, 2023-12-20)
calva-published/.vscodeignore (273, 2023-12-20)
calva-published/CHANGELOG.md (105998, 2023-12-20)
calva-published/CONTRIBUTING.md (236, 2023-12-20)
calva-published/LICENSE (1162, 2023-12-20)
calva-published/assets/ (0, 2023-12-20)
calva-published/assets/calva-64h.png (9544, 2023-12-20)
calva-published/assets/calva.png (80043, 2023-12-20)
calva-published/assets/calva128x128.png (5447, 2023-12-20)
calva-published/assets/cw_screenshot.png (166660, 2023-12-20)
calva-published/assets/fonts/ (0, 2023-12-20)
calva-published/assets/fonts/FiraCode-Bold.woff2 (87040, 2023-12-20)
calva-published/assets/fonts/FiraCode-Light.woff2 (81512, 2023-12-20)
calva-published/assets/fonts/FiraCode-Medium.woff2 (80228, 2023-12-20)
calva-published/assets/fonts/FiraCode-Regular.woff2 (80724, 2023-12-20)
calva-published/assets/howto/ (0, 2023-12-20)
calva-published/assets/howto/cljc-clj-cljs.gif (148973, 2023-12-20)
calva-published/assets/howto/dimming-ignores.gif (63575, 2023-12-20)
calva-published/assets/howto/error.png (15658, 2023-12-20)
calva-published/assets/howto/evaluate.gif (545773, 2023-12-20)
... ...

# Calva: A Clojure & ClojureScript IDE in Visual Studio Code ![Calva logo](https://github.com/BetterThanTomorrow/calva/blob/master/assets/calva-64h.png) _Distilled from [CIDER](https://github.com/BetterThanTomorrow/calva/blob/master/https://cider.mx/)*._ Welcome to [Calva](https://github.com/BetterThanTomorrow/calva/blob/master/https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva), an integrated, REPL powered, development environment for enjoyable and productive [Clojure](https://github.com/BetterThanTomorrow/calva/blob/master/https://clojure.org) and [ClojureScript](https://github.com/BetterThanTomorrow/calva/blob/master/https://clojurescript.org) programming in [Visual Studio Code](https://github.com/BetterThanTomorrow/calva/blob/master/https://code.visualstudio.com). It includes: * inline [code evaluation](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/evaluation/) * [structural editing](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/paredit/) * code [formatting](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/formatting/) * code navigation * a [debugger](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/debugger/) * [linting](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/linting/) * syntax highlighting * Clojure aware rainbow brackets * a [test runner](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/test-runner/) * refactoring support * and much more. A lot of effort has been put into making Calva a good choice to start if you are new to Clojure. [Calva is open source](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/BetterThanTomorrow/calva) and free to use. (*) Calva is short for Calvados, a liquid gifted to humanity from God. Calvas's REPL power is harvested from the produce of [The Orchard](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/clojure-emacs/orchard). ## Users Like it Crispin Bennett's review: > This is great, and makes VS Code a truly viable IDE/editor for clojure development. It has great REPL support (including inline evaluation), an extensive Paredit implementation, and excellent linting (care of the bundled clj-kondo). Calva is being improved on at an impressive clip by maintainers who appear solidly committed to its ongoing development. It's well-documented, and manages to be both approachable and capable. A no-brainer if you're already a VS Code user, and well worth a look if you're not. ## It's Easy to Get Started [Get Started with Clojure in VS Code in 20 seconds](https://github.com/BetterThanTomorrow/calva/blob/master/https://www.youtube.com/embed/O6GrXXhCzCc) ## There is Documentation Head over to [calva.io](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/) to learn more about how to use Calva. The most important stuff would be: * [Connect Calva to Your Project](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/connect/) (TL;DR; Use **Jack in**.) * [Quirks](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/quirks/) (Yes, there are quirks.) * [Paredit – a Visual Guide](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/paredit/) (Clojure editing is for civilized people.) ## Why Calva? From [The Tao of Calva](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/BetterThanTomorrow/calva/wiki): > Calva's _raison dêtre_ is to provide Visual Studio Code users with an easy to use and productive environment for [Clojure](https://github.com/BetterThanTomorrow/calva/blob/master/https://www.clojure.org) and [ClojureScript](https://github.com/BetterThanTomorrow/calva/blob/master/https://clojurescript.org) development. From the same page you can also learn that we want Calva to be a good choice for VS Code users asking: > _How do I use my favorite code editor for Clojure development?_ We also hope that Calva will contribute to making it easier to pick up Clojure as a new language. ## Getting Started with Calva Go to the [documentation](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/) to find info on how to connect Calva to your project and start evaluating code and such. The documentation is built from this repository, and the source files are located in `docs/site`. So if you know about workarounds or gotchas or anything that is good to know about when using Calva, please edit the appropriate page (or create a new page) by PR. ## Features * Syntax highlighting, plus: * Rainbow parens * Rainbow indent guides * Highlight active indent guide * Highlights misplaced brackets * LISP friendly bracket matching * Ignore form (`#_`) dimming and `(comment)` form highlighting * Code formatting and autoindent according to [The Clojure Style Guide](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/bbatsov/clojure-style-guide) * Structural Editing (via [Paredit](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/paredit/)) * [Linting](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/linting/) * Intellisense * Go to / peek at definition * Find all references * Rename symbol * Change all occurrences * References code lens (enable in settings) * Outline view * View doc strings on hover * View function signatures on hover, including help with knowing which argument you are typing * [Debugger](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/debugger/) * Support for [Clojure tools/deps](https://github.com/BetterThanTomorrow/calva/blob/master/https://clojure.org/guides/deps_and_cli), [Leiningen](https://github.com/BetterThanTomorrow/calva/blob/master/https://leiningen.org), [shadow-cljs](https://github.com/BetterThanTomorrow/calva/blob/master/http://shadow-cljs.org), [Figwheel Main](https://github.com/BetterThanTomorrow/calva/blob/master/https://figwheel.org), [lein-figwheel](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/bhauman/lein-figwheel), [Clojurephant](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/clojurephant/clojurephant) (Gradle) and the built-in ClojureScript browser/node repls. (For [Boot](https://github.com/BetterThanTomorrow/calva/blob/master/https://boot-clj.com), only Connect scenarios work, there is no Jack-in there.) * Your [Custom Connect Sequences](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/connect-sequences/), including fully customized ClojureScript REPLs. * Switch the ClojureScript REPL connection between your different builds at will. * When editing `cljc` files, easily choose if REPL commands should go to the `clj` or `cljs` REPL by clicking the `cljc/clj[s]` indicator in the status bar. * And more ### Powered in Part by Clojure-lsp Calva uses a mix of static and dynamic analysis to power the experience. A lot of the static abilities come from [clojure-lsp](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/clojure-lsp/clojure-lsp), and you can read more about [Calva's integration of clojure-lsp](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/clojure-lsp/) in the documentation. ### Demo: Evaluate top level forms inside `(comment...)` ![Top level comment eval](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/top-level-comment-eval.gif) The gif demos several more features, apart from the in-comment evaluation, like: * Signature help while typing function calls * Evaluation result display is a bit sticky (so you can examine several evaluations at once) * There is a richer display of results in the hover of the evaluated expression. (From where you can also copy the results to the clipboard) * Edit: This feature has been removed in favor of using peek definition. See [here](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/output/#peek-at-results). This decision was made due to high memory usage from storing results, but may be added back at some point if it's desired by many users over the peek definition feature. Please [let us know here](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/BetterThanTomorrow/calva/issues/736) if you'd like this added back. * Some [structural editing](https://github.com/BetterThanTomorrow/calva/blob/master/https://calva.io/paredit/) ### Demo: Signature Help, while Typing It is pretty educational using the signature help hover to see which argument you are typing when the argument list is using destructuring, or when an argument is threaded in first before the arguments you provide inside the form. ![Signature Help](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/signature-help.gif) ### Demo: Syntax highlighting, rainbow parens and guides ![Dimming ignored forms](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/rainbow-guides.gif) ### Demo: Syntax highlighting, dimming ignored forms ![Dimming ignored forms](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/dimming-ignores.gif) ### Demo: Peek at definitions, etcetera ![Features](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/features.gif) ### Demo: switch between `clj` and `cljs` repl sessions for `cljc` files ![CLJC repl switching](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/cljc-clj-cljs.gif) ### Demo: References code lens (enable in settings) ![References code lens](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/references-code-lens.gif) ### Demo: Outline ![Outline view](https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/outline-view.gif) ## How to contribute I'm glad you are reading this section! There are many ways and you are welcome to combine them at will. Be creative : * Give us feedback. * Via [#calva](https://github.com/BetterThanTomorrow/calva/blob/master/https://clojurians.slack.com/messages/calva/) at the Clojurians Slack. * Via filing issues. * Fix issues. PRs welcome! Calva is built using a combination of TypeScript and ClojureScript. The ClojureScript part uses the [shadow-cljs](https://github.com/BetterThanTomorrow/calva/blob/master/http://shadow-cljs.org) tool chain. See the [How to Contribute](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/BetterThanTomorrow/calva/wiki/How-to-Contribute) page on the wiki for instructions on how to hack on Calva. TL;DR _It is super easy to get started!_ * Fix typos in the UI and in the docs. It might seem like a small enough thing to not bother about it, but really, typos get in the way of comprehension. Typos are bad, uhm? * Become a GitHub sponsor. Read on. ## Calva Sponsors A considerable amount of time, creativity, energy, worries, sweat, and tears (well, no tears, but anyway ), is being spent on Calva. Please consider sponsoring us to show us that extra level of appreciation. Here are the ways you can do it: * Sponsor [Peter Strmberg](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sponsors/PEZ) * Sponsor [Brandon Ringe](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sponsors/bpringe) * Sponsor [Cora Sutton](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sponsors/corasaurus-hex) * Sponsor [Lukas Domagala](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sponsors/Cyrik) Please see [this statement from Cognitect](https://github.com/BetterThanTomorrow/calva/blob/master/https://cognitect.com/blog/2020/12/15/sponsoring-open-source-developers) about the importance of supporting open source developers. Significant additions to Calva has been made possible by funding from [Clojurists Together](https://github.com/BetterThanTomorrow/calva/blob/master/https://www.clojuriststogether.org). And this has often been transformational for the whole project. The following people are helping to keep Calva maintained and improved by sponsoring with their hard earned money. It is fantastic. Thank you! Patrons, Gold, and Silver sponsors are also displayed here: https://calva.io/#sponsors. ### Calva Patrons [Agical](https://github.com/BetterThanTomorrow/calva/blob/master/https://agical.se) ### Calva Gold Sponsors [Liftoff](https://github.com/BetterThanTomorrow/calva/blob/master/https://liftoff.io) [Cognitect](https://github.com/BetterThanTomorrow/calva/blob/master/https://cognitect.com) [ThorTech Solutions](https://github.com/BetterThanTomorrow/calva/blob/master/https://www.thortech-solutions.com/) ### Calva Silver Sponsors [pitch.io](https://github.com/BetterThanTomorrow/calva/blob/master/https://pitch.io) ### Calva Pro Fans [lambdaschmiede GmbH](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/lambdaschmiede) ### Calva Super Fans [Aram Zadikian](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/brancusi) [180° Insurance](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/180seg) [Peter Strmberg](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/PEZ) [Simon Accascina](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/simonacca) [Aaron Iba](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/aiba) ### Calva Fans [Bozhidar Batsov](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/bbatsov) [Clay Hopperdietzel](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/Gnurdle) [Matthew Lyon](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/mattly) [Brian Scaturro](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/brianium) [Jochen Bedersdorfer](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/beders) [Janne Sauvala](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sauvala) [ajoberstar](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/ajoberstar) [glebovmaksim](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/glebovmaksim) [Chris Smothers](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/smothers) [Eugene Pakhomov](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/p-himik) ### Calva Friends [Martin Klepsch](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/martinklepsch) [Pedro Girardi](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/pedrorgirardi) [Terje](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/terjesb) [Scott Archer](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/scarcher2) [Norman Eckstein](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/ITSecMedia) [Sergei Udris](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sergeiudris) [Filipe Silva](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/filipesilva) [Snorre Magnus Daven](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/snorremd) [Nick A Nichols](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/nnichols) [Ryan Jerue](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/rjerue) [Tim Zller](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/javahippie) [Kailashnath](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/kailashnath) [Russell Matney](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/russmatney) [Bertrand Cachet](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/bcachet) [José Diaz Seng](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/joseds) [Nick Cernis](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/nickcernis) [Steve Ashton](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sashton) [Christian Meter](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/n2o) [Repath](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/repath) [Netdava](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/netdava) [Christophe Pelé](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/geekarist) ## The Calva Team We are Clojure and Visual Studio Code fans who care about the ergonomics of using our favorite programming language with our editor of choice. ### Current Maintainers * [Peter Strmberg](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/PEZ) * [Brandon Ringe](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/bpringe) * [Cora Sutton](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/corasaurus-hex) * [Lukas Domagala](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/Cyrik) ### Alumni * [Kevin Ahlbrecht](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/kstehn) * [Christian Fehse](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/cfehse) * [Matt Seddon](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/mseddon) * [Pedro Girardi](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/pedrorgirardi) * [Stian Sivertsen](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/sivertsenstian) (Creator of Visual:Clojure) ### Code Contributors Calva is an open source project with surprisingly many code contributors. We take great care to keep it easy and fun to contribute. See the [Calva Development Wiki](https://github.com/BetterThanTomorrow/calva/blob/master/https://github.com/BetterThanTomorrow/calva/wiki) for more on this. ## Happy Coding We hope you will find good use for Calva. Please let us know what you think. PRs welcome, file an issue or chat us up in the [#calva](https://github.com/BetterThanTomorrow/calva/blob/master/https://clojurians.slack.com/messages/calva/) channel in the Clojurians Slack.

近期下载者

相关文件


收藏者