Skip to content

cmz123/tide

 
 

Repository files navigation

TiDE

version install ci

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!

Quick start

  1. Install the extension

  2. Navigate to the TiDE panel in VS Code, follow the Step-by-Step Guide

Features

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.

Community

Slack

Join our Slack channel 🥳

Demo

Playground

Video: https://www.bilibili.com/video/BV1pK411u7S4/

Playground

Debug

Video: https://www.bilibili.com/video/BV12p4y1x7w8/

debug

Cluster

Video: https://www.bilibili.com/video/BV1oz4y1U7ec/

image

Scaffold

Video: https://www.bilibili.com/video/BV12A411H74T/

TODO

  • 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
    • 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

About

The TiDB IDE

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.0%
  • Go 2.0%
  • Ruby 1.0%