Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Provide possibility to compile and verify sketches opened in active tab. #964

Open
MrSantiaga wants to merge 5 commits into microsoft:main
base: main
Choose a base branch
Loading
from MrSantiaga:add-arduino.useActiveSketch-property

Conversation

Copy link

@MrSantiaga MrSantiaga commented Feb 8, 2020

As user of extension I think that operations compile, upload and etc. more comfortable when they are applying to opened in editor sketch. So i propose to have an property, which allows to do that.

G-Milevski, BelKed, matthboers, and Alex-Balm reacted with thumbs up emoji MatthewSteeves and rnusser reacted with heart emoji
@MrSantiaga MrSantiaga force-pushed the add-arduino.useActiveSketch-property branch from abf054e to 1b3f16f Compare February 8, 2020 11:37
It allows to set "sketch" value to arduino.json when useActiveSketch value is true.
Here is 2 changes:
 - Subscrube to event onDidChangeActiveTextEditor to set "sketch" value
	into arduino.json when useActiveSketch option is true
 - Don't show sketch name in Status Bar when "sketch" value is
	atomatically setted in arduino.json
@MrSantiaga MrSantiaga force-pushed the add-arduino.useActiveSketch-property branch from 1b3f16f to 7c91379 Compare February 8, 2020 11:56
@benmcmorran benmcmorran changed the base branch from release to main January 13, 2022 20:23
Copy link

ChitoKim commented Nov 1, 2023

This can be done by installing an additional extension "Arduino Sketch Auto Switcher", which has this arduino extension as a dependency. https://github.com/nosknut/arduino-sketch-auto-switcher
For now this should be the best solution.

dav1k reacted with thumbs up emoji

Copy link

lersi commented Apr 22, 2024

hello, I created a community fork at https://github.com/vscode-arduino/vscode-arduino.
You are more than welcome to merge your changes there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /