bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
684 stars 37 forks source link

How feasible to use rebel-readline-cljs in a vscode extension? #194

Open PEZ opened 5 years ago

PEZ commented 5 years ago

Hello,

I am researching my options for replacing the REPL Window in Calva. It has its own readline and formatting and paredit and stuff, but it is hard for me to maintain and causes many small pains for my users.

The VS Code team are soon releasing a new API where extensions can provide the backend for a the integrated terminal: https://github.com/microsoft/vscode/issues/70978 There is a hook for picking up keystrokes, if I understand things correctly.

As parts of Calva are written in CLJS I am figuring if maybe I could use rebel-readline-cljs for powering the prompt of such a pseudo terminal. It is a bit unclear to me how and even if it is possible, though. Maybe someone else here can help me assess this option?