Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronpowell/vscode-espruino
A Visual Studio Code plugin for working with Espruino
https://github.com/aaronpowell/vscode-espruino
Last synced: about 1 month ago
JSON representation
A Visual Studio Code plugin for working with Espruino
- Host: GitHub
- URL: https://github.com/aaronpowell/vscode-espruino
- Owner: aaronpowell
- License: mit
- Created: 2015-12-02T11:08:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T23:56:31.000Z (almost 9 years ago)
- Last Synced: 2024-11-17T19:46:42.563Z (about 2 months ago)
- Language: TypeScript
- Size: 866 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Espruino for VS Code
This is a plugin that allows you to write and deploy code to your Espruino micro controller.
# How to use it
Once installed into VS Code you'll find a bunch of new commands prefixed with `Espruino` that you can run.
# Installing
Once you install the extension from the marketplace you will run into an issue with it not firing up properly. This is due to the fact that it relies on a couple of native Node.js extensions, but due to [this vscode issue](https://github.com/Microsoft/vscode/issues/658) there is a manual install step.
## Getting the native modules
### Windows
If you're using Windows I have precompiled the `contextify` and `serialport` modules, which you'll find in the `.native-prebuilt` folder. Copy these into the folders for these two modules.
### Non-Windows
You'll need to rebuild the native modules yourself, to do that you can use the `electron-rebuild` Node.js package. Once that is installed you then need to:
* Install Node.js 4.1.1 (which is what VS Code/Electron uses)
** I'd recommend using `nvm` to install multiple versions
* Run `electron-rebuild` with `0.34.5` as the Electron versionYou may need to move the folder which `serialport` compiles to, I did on Windows, but am unsure about other OSes.
If you do get a non-Windows OS up and running I'd appreciate you sending me the binaries so I can include them.