THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Install VSCode. If setting up a remote development environment, install VSCode on both the local and remote machines.
- If setting up a remote development environment, run VSCode on the local machine and connect it to the remote machine.
- Set up the remote development machine as a Host in the ~/.ssh/config file on the local machine.
- Install the Extension Remote-SSH (extension id: ms-vscode-remote.remote-ssh).
- Open the Command Palette and run the Remote-SSH: Connect to Host command.
- Select the SSH Host corresponding to the remote development machine (from step 2a). A new VSCode window will open.
- Install the following Extensions. When setting up a remote development environment, ensure it is being installed on the remote development environment by verifying the extension's install button has a title starting with "Install in SSH".
- C/C++ Extension Pack (extension id: ms-vscode.cpptools-extension-pack)
- Extension Pack for Java (extension id: vscjava.vscode-java-pack)
- Python (extension id: ms-python.python)
- Add the folders of each of the projects under development (e.g. "fe", "be", "shell", "tests", "bin").
- Follow the VSCode prompts to set up each project.
Using Dev Container (Developing Inside Docker Container)
- Install Visual Studio Code.
- Install Dev Containers extension.
- Open Visual Studio Code from $IMPALA_HOME, i.e. code $IMPALA_HOME
- Visual Studio will recognize .devcontainer configuration and will prompt to open in a container. Choose to open in a container. This process will take quite some time since it will need to run the bootstrap_development.sh.
- Visual Studio will install the necessary extensions needed for Impala development. When it prompts to install clangd, choose yes. That will provide code completion for C++.
For more information about Dev Container, refer to this doc.