Skip to content

Only activate extension when intending to use PlatformIO #66

@WasabiFan

Description

@WasabiFan

Temporary solution

Set platformio-ide.activateOnlyOnPlatformIOProject to true.


Currently, the extension always activates and in many ways "takes over" the editor whenever you load it, even if you aren't working on a PlatformIO project: attempts to check for updates, adds status bar items, creates files in your working directory (!!!), etc.

Can the behavior be changed to only activate the extension when it's needed? Currently, package.json defines activationEvents to be *, meaning "always active". The more surgical approach would be to activate when a command is run and/or when platformio.ini is present.

This would partially help #64 as well, although the better solution for that would be to not dump the whole PATH into an otherwise SCM-able settings file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions