
Once downloaded, the new workspace will automatically be opened and you can now use all of the other commands. The name you specify on the download will be the name of the folder, this defaults to the insight's name with special characters removed. Once you've selected a location, a folder will be created with a VS Code workspace file, the SQL file, and the HTML file.

When you have selected the insight you want to download, you will be asked where to save it on your computer. If you have multiple insights with the same name, the system name will also be shown (this can also be seen in the URL when using the online editor). You will then be asked which insight to download. Once logged in, if you have access to multiple accounts you will be asked which account you want to download from. If you are not already logged in, you will first go through the login process.

This command downloads an insight from Gtmhub to your computer. You will likely be prompted to reload VS Code after installation (and if you are not prompted, we still recommend re-loading VS Code)Īfter installing the extension, you will see several new commands in the VS Code Command Palette, all prefixed with "Gtmhub:". In VS Code, open the Extensions pane (View > Extensions) Before installing, if you had a beta version of the offline insight editor that was provided by Gtmhub, uninstall it.
