avli / clojureVSCode

Clojure support for Visual Studio Code
https://avli.github.io/clojureVSCode/
MIT License
204 stars 34 forks source link

Evaluation of 'this form' #61

Closed tosh closed 5 years ago

tosh commented 7 years ago

I'd love a way to evaluate the outermost form (searching from the position of the cursor, similar to proto-repl for Atom). This way I won't have to select the whole text/form I want to evaluate.

(sorry if this is already possible, I didn't find a way to do this)

fasfsfgs commented 7 years ago

I think that's a good suggestion. Just to make sure, which function do you expect to get evaluated with this line?

(map inc (lisṱ 1 2 3)) (cursor on the letter t)

Should list or map be evaluated?

tosh commented 7 years ago

@fasfsfgs list (didn't phrase it well @ "outermost", just meant the "current" form :) )

esuomi commented 7 years ago

IMHO there's uses for having both, of course :)

avli commented 5 years ago

The feature is now available in the 0.11.0 version.