Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Add option to configure additional library folders by using arduino.json or settings.json #830

Closed
@jovabel

Description

@jovabel

arduino-builder supports the "-libraries" parameter to add additional library folders (multiple!).

Both arduino.json and settings.json (in the workspace/.vscode/* folder) do not support setting the "-libraries" parameter, thus making it impossible to put code that is used in multiple sketches at other locations than the default library location ("C:\Program Files (x86)\Arduino\libraries") and the user library location ("C:\Users\USER\Documents\Arduino\libraries").

This is very inconvenient for development environments that do not allow the use of these local directories. For example: environments which demand all code (sketches and shared code) to be under source control.

Please add a setting for adding additional library folders (enable the use of the -libraries parameter) in arduino.json or settings.json.

The same holds for being able to customize the 'sketchbook location' in arduino.json or settings.json for which "C:\Users\USER\Documents\Arduino" is the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions