Comments (3)
Thanks! I’ll take a look after the holidays
from clojure-sublimed.
If the intent of this is only to avoid the additional network roundtrip, then we can simply use nREPL's ephemeral sessions to do the job. This approach is implemented by #48. That being said, I did implement the other approach suggested by the literal text of the issue i.e, implementing a clone-and-eval
middleware. This is implemented by #49.
Using Ephemeral sessions has a couple of advantages IMO:
- Less code to make it happen (using the existing Ephemeral sessions code already provided by nREPL)
- The one-off sessions are cleaned up (closed). Currently, an unbounded number of threads are created in the nREPL server. This could be addresses by closing the session ourselves, but the code currently does not do this (discussed separately in #50).
WDYT?
from clojure-sublimed.
Of course! Have fun!
from clojure-sublimed.
Related Issues (20)
- Error on eval: 'NoneType' object is not subscriptable HOT 2
- New command: Eval wrapped HOT 3
- Output panel for raw nREPL stdout
- Clojure Sublimed fails to initialize: cs_conn has no attribute 'Connection' (most likely due to a circular import) HOT 1
- Unable to see eval output on Sublime 3 HOT 2
- Wrong highlight of the source of error. HOT 2
- Cannot connect to nrepl HOT 2
- Auto-detect .nrepl-port
- Connect to raw nREPL command HOT 1
- Keymaps HOT 2
- format_on_save may mess up non-clojure files when using save_on_focus_lost HOT 1
- Feature Request: Make nRepl Client compatible with Babashka HOT 2
- toggle_info_command exception for eval results (phantom_success_fg=None) HOT 1
- HiDPI - results shifted HOT 1
- Feature request: copy stdout to within Sublime (phantom?) HOT 4
- socket repl with -r flag for interactive repl fails on windows HOT 3
- clojure_sublimed_reindent_buffer gets slow fast HOT 2
- Some of the Tutkain bits in the README are out of date HOT 2
- Possibility of extendable socket REPL evaluation HOT 4
- Support colored output HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clojure-sublimed.