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)
The extension can be installed through the VSCode Marketplace.
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.
Contribution guidelines and instructions on how to build from source can be found in the Contributing Guide.