Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FluxNew to Visual Studio Code? Get it now.

Flux

InfluxData

|
19,823 installs
| (5) | Free
Flux language extension for VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Flux

VSCode LICENSE Slack Status

A Visual Studio Code extension with support for the working with InfluxDB instances.

Features:

  • Flux language support
    • Syntax highlighting
    • Autocompletion
    • Error highlighting
    • Find references
    • Go to definition
    • Function signatures
    • Code folding
    • Symbol renaming
    • Document symbols
  • InfluxDB server
    • Add/edit/delete buckets
    • Inspect bucket measurements and tags
    • Add/edit/delete tasks (2.x series only)
    • Run flux scripts natively and show results
    • Environment-specific autocompletion (bucket names, etc)

Installation

The extension can be installed through the VSCode Marketplace.

Using the cli configurations

Rather than using vscode to store information about influxdb instances fro the InfluxDB pane, vsflux can use existing influx cli configurations to populate the InfluxDB pane of connections. To do this, edit %APP_DATA%/settings.json to add the following:

{
  "vsflux.datasource": "cli"
}

To revert this setting, change "cli" to "db" or remove the line entirely.

Contributing

Contribution guidelines and instructions on how to build from source can be found in the Contributing Guide.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft