Skip to content

Feature Request: Define additionalScope Variables in Visual Studio Code #15

@boredTabard

Description

@boredTabard

Request:
Add support for defining additionalScope variables locally in Visual Studio Code when using the Retool plugin.

Why:
Currently, additionalScope can only be managed through the Retool editor. It would improve developer workflow to set these variables within VSC without switching contexts.

Proposed Solution:
Allow defining additionalScope via:

  • A config file (e.g. .retoolrc, codeName.settings.json)

Example:

"retool.additionalScope": {
  "apiKey": "123abc",
  "testMode": true
}

Benefits:

  • Faster local development and debugging
  • Less switching between Retool editor and VSC

Optional:
Support for multiple profiles (dev, prod, etc.)
Add other query settings to the config file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions