TiDE is a Visual Studio Code extension that makes developing TiDB a breeze.
Still in the loop of coding, compiling, copying binary to servers, restarting every process and pulling information from logs everywhere?
Try and see how TiDE makes TiDB development experience great again!
-
Install the extension
- Install from Visual Studio Code MarketPlace, or
- Run command
code --install-extension dragonly.ticode
-
Navigate to the TiDE panel in VS Code, follow the
Step-by-Step Guide
Do all the things just in your favorite Visual Studio Code:
- Start TiUP Playground/Cluster and start debugging instantly
- Debug TiDB Cluster on Kubernetes
- And mooooooooore!
Note: Currently we only test it in macOS, and we plan to support Ubuntu as well.
Join our Slack channel š„³
Video: https://www.bilibili.com/video/BV1pK411u7S4/
Video: https://www.bilibili.com/video/BV12p4y1x7w8/
Video: https://www.bilibili.com/video/BV1oz4y1U7ec/
Video: https://www.bilibili.com/video/BV12A411H74T/
-
Playground
- Start a simple default playground cluster
- Start a configured playground cluster
- Use the current repo's binary
- List playground cluster instances
- View logs of all instances
- Follow logs of all instances
- Attach to Debug @Aylei
-
Virtual Machines & Cluster Topo Manager
- Manage vagrant virtual machines
- Start virtual machines, ready for deploy a cluster
- Manage cluster topos
- Deploy a cluster by a topo file
-
Cluster
- List all clusters
- Display a cluster detail information
- Start / Stop / Destroy a cluster
- Show a cluster topo (currently by graphviz)
- Open dashboard / grafana
- Restart
- Restart a cluster
- Restart all instances of a component
- Restart a single instance
- Config
- View a cluster configuration
- View a single instance configuration
- Edit and apply a cluster configuration
- Edit and apply a single instance configuration
- View all logs of all instances
- Patch (replace binary)
- Patch by the current repo
- Patch for all instance of a component
- Patch for a single instance
- Patch by other binary
- Patch for all instance of a component
- Patch for a single instance
- Patch by the current repo
- SSH to a single instance and enter the folder
- Follow logs of all instances @Aylei
- Attach to Debug @Aylei
- Restart on local compile (Rsync)
-
Kubernetes
- TreeView
- Attach to Debug
- Restart on local compile (Rsync)
-
Scaffold for adding new feature
- Scaffold for tidb-dashboard repo (add a new app in 10 seconds)
- Scaffold for coprocess
-
Bench
- Config bench
- Start bench
-
TiUP Manager
- Install TiUP
- Upgrade TiUP