Building

This page describes how to build the project from source.

This documentation section is still under development.

Prerequisites

Make sure you have node v16 and yarn v1 installed. If you need to switch between node versions, consider using nvm.

Building

  1. In your terminal, go to the project root.
cd vscode-sqltools
yarn # will install all dependencies and run some scripts
yarn run start # or yarn run dev:watch
  1. Open the project workspace (vscode-sqltools.code-workspace) on VSCode.

  2. Go to the Debug panel and run Launch Extension and LS to start debugging both extension and language server.

  3. Add your breakpoints and start hacking!

Troubleshooting

Installing on macOS m1

On the root of the project, run CXXFLAGS="--std=c++17" yarn if you are on node 16+ and experience errors.

×