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

[2.0.x] VS Code support for Auto Build #11014

Merged
merged 1 commit into from
Jun 13, 2018

Conversation

Bob-the-Kuhn
Copy link
Contributor

This is an extension for Visual Studio Code that makes the Auto Build script available with two clicks.

See the README.md file for details.

I wasn't able to add an Auto Build menu to the top menu bar. Instead I added an Auto Build activity to the activity bar, Clicking on that activity brings up a menu bar with icons for the following commands:

  • PIO Build
  • PIO Clean
  • PIO Upload
  • PIO Upload (traceback)

The other commands were not implemented because I was out of space on the menu bar and they are not used (as far as I know).


This has only been tested in Windows. It should run under macOS and Linux without any modifications.

The README.md file will need to be updated once I get back home and have access to macOS and Linux. That'll probably be at least 2 weeks away.

The `VS code` extension directory is usually located at:
- Windows - C:/Users/YOUR_USER_NAME/.vscode/extensions
- Mac - tbd
- Linux - tbd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently it can also be packaged as a VSIX file for installation through the VSCode interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That appears to be for making an extension available to everyone. The Auto Build script is only useful with Marlin. I don't see any value in making it generally available.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A VSIX file can be made to give to your friends an extension in a convenient installable form without publishing it for all.

@Bob-the-Kuhn Bob-the-Kuhn changed the title [2.0.x] VS code support for Auto Build [2.0.x] VS Code support for Auto Build Jun 13, 2018
@thinkyhead thinkyhead force-pushed the VS-code-2.0.x branch 10 times, most recently from 5533069 to f8fab83 Compare June 13, 2018 23:39
@thinkyhead thinkyhead merged commit 7e8d2d6 into MarlinFirmware:bugfix-2.0.x Jun 13, 2018
@Bob-the-Kuhn Bob-the-Kuhn deleted the VS-code-2.0.x branch April 13, 2019 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants