Closed CJLA closed 3 years ago
Hi @CJLA, thank you for the comment. Sorry, my English is poor. Do you mean that the Color Picker extension didn't work? Did the installing fail?
Thank you for your response @anseki, We do not have a problem with the color picker extension. We are asking for advice.
We are trying to build our own extension (different functions. Not a color picker). We want a new window to pop up using Electron but do not know how to do it. Your extension is the only one we have found that appears to do this.
I see.
As you know maybe, VS Code itself also is Electron app. And extensions run as Node.js program.
You can call external programs (including another Electron program) via child_process.spawn
.
If you need, you can implement the "IPC" (interprocess communication) for those programs (process). The Color Picker extension uses standard IO for very simple IPC.
Okay thank you, I will test this out.
I'm glad if I could help you. :smile: Could you close this issue if it was solved?
Alright thanks!
Hello @anseki,
We are working on a vscode extension and have not been able to get electron working. We wanted to use color picker as an example but there seems to be some neccessary files missing from the repo that would get it up and running. Do you have any advice on how to get it running, or can you provide some guidance on how to integrate electron? From our research, color picker is the only extension we have found that can do this. Thank you.