chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
fabrao 2020-05-25T05:43:24.497100Z

Hello all, I did some init.coffee like

atom.commands.add 'atom-text-editor', 'fabrao:repl-deps', ->
  editor = atom.workspace.getActiveTextEditor()
  caminhoArquivo = atom.workspace.getActiveTextEditor().getPath()
  projetos = atom.project.rootDirectories.filter (projeto) -> caminhoArquivo.indexOf(projeto.realPath) isnt -1
  if projetos.length
    comando_executar = '"cd ' + projetos[0].realPath + " ; clj -J'-Dclojure.server.repl={:port,5555,:accept,clojure.core.server/repl}'"
    console.log comando_executar
    spawn("powershell.exe", ["-Command", comando_executar], {shell: true, detached: true})
    atom.commands.dispatch(atom.views.getView(editor), 'chlorine:connect-socket-repl')
  else
    alert("Projeto não encontrado")
to start powershell Window and start the connection dialog for Chlorine. Is there any way to connect direct without show the dialog and passing the values of host and port?

mauricio.szabo 2020-05-25T13:10:19.497800Z

Not yet 🙂. There's an open issue for it 🙂