Skip to main content

GitLab & VSCode

GitLab and Visual Studio Code integration

Using the following extension we can use VSCode to do our Git workflow

https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow

Setup

  1. Install the VSCode extension
  2. Create personal access token in https://gitlab.impstudio.id/-/profile/personal_access_tokens
  3. Check all the checkbox then create the token
  4. Copy the token
  5. In VSCode open the command pallete Ctrl+Shift+P or Command+Shift+P
  6. Search for GitLab: Add Account and enter
  7. In the URL to GitLab Instance input https://gitlab.impstudio.id then enter
  8. Then paste the token

GitLab VSCode Example