platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

Support Visual Studio Code (VSCode)

Open dieseltravis opened this issue 10 years ago • 13 comments

DONE!

Install PlatformIO IDE for VSCode:

  • https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide

Configuration

Operating system:

  • Windows/OSX/linux

Description of problem

VS Code is based on Atom but performs much better.

Additional info

Here is more info on VS Code Extensions: https://code.visualstudio.com/docs/extensions/overview

and publishing to the VS Code extension gallery: https://code.visualstudio.com/docs/tools/vscecli

dieseltravis avatar Apr 15 '16 03:04 dieseltravis

What do you mean by "performs much better"? Atom is an amazing IDE, IMO.

marvinroger avatar Jun 25 '16 08:06 marvinroger

Atom is good, but can be slow. Code is very speedy.

dieseltravis avatar Jun 25 '16 13:06 dieseltravis

+1

TronicLabs avatar Oct 13 '16 05:10 TronicLabs

+1

franky47 avatar Oct 30 '16 10:10 franky47

Coul you please "like" the first post instead of publishing _+1_s? Don't forget we receive an email every time something is posted. Thanks. 😉

marvinroger avatar Nov 15 '16 10:11 marvinroger

There's a project for this on GH but it seems inactive https://github.com/fabianofranca/vscode-platformio

zgoda avatar Jan 31 '17 08:01 zgoda

Hi friends, I have just created a PlatformIO extension for VS Code. You could install and have a try. 😃 In the initial release, it supports below basic function:

Currently, the extension is in the very initial phase. If you find any bug or have any suggestion/feature request, please join the chat on Gitter or submit the issues to the GitHub Repo.

PlatformIO is really cool! Much better than Arduino IDE. 😄 Let's make PlatformIO better and better.

formulahendry avatar Mar 17 '17 09:03 formulahendry

Add project generator for VSCode with a support for:

  • Code completion
  • Multiple tasks/runners
  • PIO Unified Debugger

ivankravets avatar May 07 '17 15:05 ivankravets

I have made pull requests for VS Code templates: https://github.com/platformio/platformio-core/pull/960 and https://github.com/platformio/platformio-docs/pull/4

I have been unable to get the PIO Unified Debugger to work, so I didn't make a template for the debug launch configuration.

dymo avatar May 10 '17 05:05 dymo

Hi guys,

We have a good news: PlatformIO IDE for VSCode!

100% open source, maximum permissive Apache 2.0 license.

Docs: http://docs.platformio.org/page/ide/vscode.html

PlatformIO IDE for VSCode

This is a demo version, only base features are ported from PlatformIO IDE from Atom:

  • Automatic Python + PIO Core Installer. No need to install Python or PIO Core before.
  • Multiple Run Tasks
  • PIO Unified Debugger for 100+ boards
  • Automatic C/C++ Project Reindexer (when platformio.ini is changed or new libraries are installed)
  • Integration with VSCode Internal Terminal.

Would be thankfufor any feedback. Please open issues in PlatformIO IDE for VSCode repository.

P.S: @formulahendry , thank you very much for your efforts on the own PlatformIO extension. Would you like to work on PlatformIO.Org extension? I propose to merge our efforts and make really cool exntension.

ivankravets avatar May 27 '17 23:05 ivankravets

@ivankravets this sounds awesome! Can't wait to try it out.

Petezah avatar May 28 '17 00:05 Petezah

@ivankravets That's cool.

formulahendry avatar May 29 '17 23:05 formulahendry

Resolved with https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide

ivankravets avatar Jun 23 '17 19:06 ivankravets