Giter Site home page Giter Site logo

kjyu / dirac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binaryage/dirac

0.0 0.0 0.0 242.58 MB

A Chrome DevTools fork for ClojureScript developers

License: Other

Shell 6.34% JavaScript 0.63% Python 0.02% Clojure 91.13% CSS 0.29% HTML 1.48% Dockerfile 0.12%

dirac's Introduction

Dirac DevTools

GitHub license Clojars Project Travis Examples Chrome Extension

Dirac is a flavored Chrome DevTools with extra tweaks for ClojureScript developers.

DOC : Motivation | Installation | Configuration | Integration | Examples | FAQ

Quick start

  1. install the command-line tool
  2. run dirac and wait for Chrome to launch
  3. in Chrome navigate away from "chrome://welcome" to some normal page, e.g. https://clojurescript.org
  4. in Chrome open DevTools (CTRL+SHIFT+I or CMD+OPT+I on a Mac)
  5. in DevTools switch to Console => Dirac prompt should enter dirac.playground and let you type in cljs code
  6. in Console enter (js/console.log (str "Hello" \space "Dirac!"))

Introduction

Dirac project maintains a set of patches rolling on top of official Chrome DevTools. That means you don't lose any functionality, you just sprinkle cljs enhancements on top. Additionally we provide a command-line tool which allows you to launch Chrome with Dirac swapped in place of normal DevTools.

  • enables custom formatters by default (for cljs-devtools)
    • custom formatters are displayed inline on Source Panel (during debugging)
  • better display of cljs function names
  • better display of cljs property names:
    • macro-generated names are renamed to friendly names using sub-indexes
    • properties are grouped, most important properties go first
  • REPL integrated into DevTools Console
    • eval cljs code in the context of currently selected stack frame (when paused on a breakpoint)
    • cljs code completion suggestions (like completions in Javascript console)
    • Parinfer goodness
  • initialized blackboxing patterns of cljs core libraries for better stack-trace experience

Screenshots

ClojureScript REPL

general completions namespace completions js completions

dirac's People

Contributors

babot avatar danielcompton avatar darwin avatar dijonkitchen avatar mbertheau 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.