Coder Social home page Coder Social logo

juholei / calva Goto Github PK

View Code? Open in Web Editor NEW

This project forked from betterthantomorrow/calva

0.0 2.0 0.0 45.6 MB

Clojure & ClojureScript Interactive Programming for VS Code

Home Page: https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva

License: Other

TypeScript 81.63% HTML 0.60% JavaScript 1.59% Clojure 14.07% CSS 2.10% Shell 0.01%

calva's Introduction

Calva: Clojure & ClojureScript with Visual Studio Code

Calva logo

Welcome to Calva, an integrated REPL powered environment for enjoyable and productive Clojure and ClojureScript in Visual Studio Code. It includes inline code evaluation, Paredit, a Clojure formatter, a test runner, Clojure syntax highlighting, and more. Much of the power is harvested from the produce of The Orchard.

Calva is short for Calvados, a liquid gifted to humanity from God. It is distilled from Cider.

Why Calva?

From The Tao of Calva:

Calva's raison d´être is to provide Visual Studio Code users with an easy to use and productive environment for Clojure and ClojureScript 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 to find info on how to connect Calva to your project and start evaluating code and such. The documentation is built from the same repository as Calva. 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
    • Highlights misplaced brackets
    • LISP friendly bracket matching
    • Ignore form (#_) dimming and (comment) form highlighting
  • Code formatting and autoindent according to https://github.com/bbatsov/clojure-style-guide
  • Structural Editing (via Paredit)
  • Intellisense
  • Go to / Peek at definition
  • View docstrings on hover
  • View function signatures on hover
  • Support for Clojure tools/deps, Leiningen, shadow-cljs, lein-figwheel, and Figwheel Main, and Nashorn repls. (For Boot, only Connect scenarios work, there is no Jack-in yet.)
  • Your Custom Connect Sequences, including fully customized CLJS REPLs.
  • Switch the CLJS REPL connection between your different CLJS 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

Demo: Peek at definitions, etcetera:

Features

Demo: switch between clj and cljs repl sessions for cljc files:

CLJC repl switching

How to contribute

I'm glad you are reading this section!

Calva is built using a combination of TypeScript and ClojureScript. The ClojureScript part uses the shadow-cljs toolchain. See the How to Contribute page on the wiki for instructions on how to hack on Calva.

The Calva Team

Many people have contributed to Calva. Here are the ones who have engaged in the project as such.

Current Maintainers:

Alumni

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-dev channel in the Clojurians Slack.

calva's People

Contributors

pez avatar mseddon avatar tonsky avatar pedrorgirardi avatar sivertsenstian avatar bpringe avatar cfehse avatar kstehn avatar teves-castro avatar trevor-brandt avatar andresrgz avatar martinbertolino avatar hjers avatar slipset avatar thheller avatar taylorwood avatar paulbutcher avatar julienvincent avatar mrkam2 avatar stefan-toubia avatar clows avatar andersmurphy avatar ibexian avatar tamizhvendan avatar punit-naik avatar metaforte avatar waffle-iron avatar gnurdle avatar greg-kargin avatar dharrigan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.