Giter VIP home page Giter VIP logo

visualclojure's People

Contributors

sivertsenstian avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

visualclojure's Issues

Evaluate expression if cursor inside a parenthesis

Currently an expression is evaluated when:

  • Cursor infront of parenthesis |( or |)
  • Cursor behind parenthesis (| or )|
  • Cursor is selecting a parenthesis |(| or |)|
  • User has selected an expression 'manually' |(+ 1 2 3 4)|

Should also evaluate an expression if cursor somewhere between ( and )
e.g. (+ 1 2 |3) => 6

Should find the closest previous parenthesis and use this to define the expression to be evaluated

No compile errors, goto def, etc

Hi!

I cannot get much to work, apart from connecting to figwheel and evaluating expressions.

I seem to have a valid connection (it says nrepl://localhost:59627 (clj/cljs) in the bottom bar), but I don't get any editor support.

I have checked that both figwheel-sidecar and com.cemerick/piggieback are in my dev-dependencies, and that the repl-options are correct.

Any hints?

Find the running cljs session on the nrepl-connection.

The extension should loop through the available sessions, using ``:lssession` op to find existing sessions on connection and store the valid cljs session in the extension.

If no cljs extension exists, the user should be notified, and the connection should "fail" until #5 is resolved

distinct color for keywords

Is it possible to show clj keywords in different color than default font color of code ?
i think the distinct color for keywords will make more readable

Parens Highlighting

This extension is great but how are you getting multi color parentheses in vs code?

Fallback when no cljs-session is available

Should show some sort of status if a cljs or clj session is used for the connection.
If no cljs-session exists fall back to supporting clj, and cljc files / namespaces only.

This to prevent annoying errors being displayed and compilation failing.

If no cljs is started, this if fine but the user should know about it and have to act accordingly.

  • Implement clj / cljs status for extension (visible and obvious to user)
  • Make it possible to "retry", show helpful instructions / msg to user how to get this working
  • Only allow evaluation of clj, cljc files if no cljs-session is available.
  • Notify user again with helpful message if user tries to evaluate cljs-code or file

Connect to existing repl (hard-coded)

Connect to existing nrepl from the extension when booting.

  • If not to much work, add a commend to connect to hard-coded nrepl.. to prepare implementation of #3

Support both clj and cljs files

Right now cljs, cljc is supported when connecting to a cljs-repl
and clj, cljc when connecting to a clj-repl.

The extension should keep both a cljs and clj session when connecting and use the appropriate depending on the active file selected..

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.