Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup it in vscode #8

Open
whlkw opened this issue Nov 20, 2019 · 1 comment
Open

setup it in vscode #8

whlkw opened this issue Nov 20, 2019 · 1 comment

Comments

@whlkw
Copy link

whlkw commented Nov 20, 2019

@cxxxr It looks like I can not run it in vscode according to your readme:

depends on vscode-lisp

$ cd ~/.roswell/cl-lsp/vscode
$ npm install
$ code .

After vscode is started, I opened the "vscode" path and hit F5, then in the new vscode instance to open some lisp files, but there is no command as "lisp.replStart" and so on.

I try to setup it in windows, and .roswel is installed in dir like:
C:\Users\test\.roswell
and the vscode path is:
C:\Users\test\.roswell\local-projects\cxxxr\cl-lsp\vscode

@serge-k1
Copy link

serge-k1 commented Jan 2, 2020

Open a lisp file, press Ctrl+Shift+P to access Command Palette, type lisp. You should see commands like Lisp: REPL - Start, Lisp: Evaluate etc.

This extension tries to run roswell script cl-lsp in activate function in extension.ts To make it work in Windows I had to replace spawn line in activate function with the following:

let childProcess = child_process.spawn("e:/wrk/_lisp/roswell/ros.exe", 
		["-Q", "--", "c:/Users/Serge/.roswell/bin/cl-lsp","stdio"]);

(I installed roswell in e:/wrk/_lisp/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants