有沒有在VS代碼中使用lein的REPL的方法?我的意思是,使用tasks.js或其他東西。在VS代碼中運行(lein)REPL
我想要一個集成的環境來運行,測試和構建我的clojures應用程序。我想也許我可以使用vs代碼來實現這樣的效果,因爲它支持第三方編譯器。我可以使用lein run
,但它不適用於lein repl
。
我已閱讀任務的文檔,但沒有任何與REPL相關的內容。
這裏是tasks.js碼我用:
{
// See http://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "lein",
"tasks":
[
{
"taskName": "run",
"showOutput": "always",
"args": ["run"],
"isBuildCommand": true,
"isWatching": false
},
{
"taskName": "repl",
"showOutput": "always",
"args": ["repl"],
"isWatching": true
}
],
"isShellCommand": true
}
的REPL不是「看」。 –