Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vscode + clickhouse-client: poorman integration
  1. File->Preferences->Settings terminal.integrated.scrollback, Increase the buffer size for terminal (i use 100000)

  2. File->Prefernces->Keyboard shortcuts workbench.action.terminal.runSelectedText set up some binding like Ctrl+Shift+'

  3. Open terminal window: Terminal->New Terminal

  4. Run clickhouse-client in a terminal.

  5. Highlight the query & hit the shortcut (or use Terminal->Run Selected Text)

Result: Screenshot from 2020-04-02 13-26-47

@hiepxanh
Copy link

hiepxanh commented Jul 6, 2021

perfect useful

@restyler
Copy link

great approach for minimalists, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment