# \#vs-code

**URL:** https://forum.gitlab.com/tag/vs-code/197.md

[Latest](https://forum.gitlab.com/latest.md) · [Categories](https://forum.gitlab.com/categories.md) · [Tags](https://forum.gitlab.com/tags.md)

---

## ["marked as viewed" - is there API for that?](https://forum.gitlab.com/t/marked-as-viewed-is-there-api-for-that/132239)

<div class="topic-metadata">

**Author:** [@eninyo](https://forum.gitlab.com/u/eninyo)\
**Replies:** 0\
**Last updated:** [January 9, 2026, 10:43am UTC](https://forum.gitlab.com/t/marked-as-viewed-is-there-api-for-that/132239 "2026-01-09T10:43:24Z")

</div>

Hi, i want to add support for the gitlab workflow vscode extension to mark file as viewed. there is an option to do it in the IDE (right-click on the file and choose “marked as viewed”) but it doesn’t reflect in the git…

---

## [Unable to connect VS code gitlab workflow (duo) plugin to self hosted community edition](https://forum.gitlab.com/t/unable-to-connect-vs-code-gitlab-workflow-duo-plugin-to-self-hosted-community-edition/121962)

<div class="topic-metadata">

**Author:** [@joshuamosesb](https://forum.gitlab.com/u/joshuamosesb)\
**Replies:** 2\
**Last updated:** [February 27, 2025, 5:41pm UTC](https://forum.gitlab.com/t/unable-to-connect-vs-code-gitlab-workflow-duo-plugin-to-self-hosted-community-edition/121962 "2025-02-27T17:41:35Z")

</div>

Problem to solve Describe your question in as much detail as possible: Unable to connect vs-code gitlab-workflow plugin to self hosted community edition (8.16.3) What are you seeing, and how does that differ from what…

---

## [Does anyone have any tips for getting Remote SAST scan to work in Visual Studio code\>](https://forum.gitlab.com/t/does-anyone-have-any-tips-for-getting-remote-sast-scan-to-work-in-visual-studio-code/120137)

<div class="topic-metadata">

**Author:** [@juliebyrne2](https://forum.gitlab.com/u/juliebyrne2)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 9:03pm UTC](https://forum.gitlab.com/t/does-anyone-have-any-tips-for-getting-remote-sast-scan-to-work-in-visual-studio-code/120137 "2025-01-24T21:03:38Z")

</div>

Problem to solve I am trying to get the new experimental VS Code Remote SASTcode scan to work. I have: validated my version of VS Code (using 5.33.1, and 5.31 is min needed) validated that I am using an Ultimate GitLa…

---

## [How to customize code suggestion content in Gitlab Workflow Vscode extension?](https://forum.gitlab.com/t/how-to-customize-code-suggestion-content-in-gitlab-workflow-vscode-extension/119419)

<div class="topic-metadata">

**Author:** [@cj\_g99](https://forum.gitlab.com/u/cj_g99)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 12:56pm UTC](https://forum.gitlab.com/t/how-to-customize-code-suggestion-content-in-gitlab-workflow-vscode-extension/119419 "2025-01-22T12:56:30Z")

</div>

Hi everyone, Background I’m currently experimenting with the Gitlab Duo code suggestions feature in VScode. I was able to login to the Gitlab workflow VSCode extension with our self-managed account, which has a Gitlab …

---

## [VS Code x GitLab access token](https://forum.gitlab.com/t/vs-code-x-gitlab-access-token/103486)

<div class="topic-metadata">

**Author:** [@andylemaire](https://forum.gitlab.com/u/andylemaire)\
**Replies:** 0\
**Last updated:** [April 25, 2024, 9:03am UTC](https://forum.gitlab.com/t/vs-code-x-gitlab-access-token/103486 "2024-04-25T09:03:35Z")

</div>

Hi, My VS Code (macOS) keeps forgetting my GitLab access token. I have to enter it daily. Does anyone know a solution? Is there some sort of user setting to configure your access token in a .vscode/\*.json file? Gr, A…

---

## [GitLab Duo Setup VSCode Preferred Account =?](https://forum.gitlab.com/t/gitlab-duo-setup-vscode-preferred-account/96290)

<div class="topic-metadata">

**Author:** [@kdwhite](https://forum.gitlab.com/u/kdwhite)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 10:36pm UTC](https://forum.gitlab.com/t/gitlab-duo-setup-vscode-preferred-account/96290 "2023-12-01T22:36:26Z")

</div>

I am running into a brick wall setting up Gitlab Duo in VSCode. In the settings for the GitLab Workflow extension there is the following input field: “Ai Assisted Code Suggestions: Preferred Account” What the h\*ll is m…

---

## [Is the Gitlab dark mode code editor theme available for VS Code](https://forum.gitlab.com/t/is-the-gitlab-dark-mode-code-editor-theme-available-for-vs-code/95856)

<div class="topic-metadata">

**Author:** [@alsoicode](https://forum.gitlab.com/u/alsoicode)\
**Replies:** 0\
**Last updated:** [November 23, 2023, 1:47am UTC](https://forum.gitlab.com/t/is-the-gitlab-dark-mode-code-editor-theme-available-for-vs-code/95856 "2023-11-23T01:47:42Z")

</div>

Hello everyone, I’ve searched using VS Code, but the Gitlab themes available in the marketplace just aren’t the same as the Gitlab dark theme code editor colors, which I really like. Does anyone know if the current cod…

---

## [Editor is read-only VSCODE when trying to edit](https://forum.gitlab.com/t/editor-is-read-only-vscode-when-trying-to-edit/92312)

<div class="topic-metadata">

**Author:** [@DRIFTKING.EVO](https://forum.gitlab.com/u/DRIFTKING.EVO)\
**Replies:** 1\
**Last updated:** [September 11, 2023, 6:53am UTC](https://forum.gitlab.com/t/editor-is-read-only-vscode-when-trying-to-edit/92312 "2023-09-11T06:53:14Z")

</div>

Describe your question in as much detail as possible: So I am new in GitLab, setted my project from Github, imported everything just fine, the problem is when I try to edit the actual code What are you seeing, and how…

---

## [How do I enable AI code suggestion?](https://forum.gitlab.com/t/how-do-i-enable-ai-code-suggestion/89892)

<div class="topic-metadata">

**Author:** [@ivanrnld](https://forum.gitlab.com/u/ivanrnld)\
**Replies:** 0\
**Last updated:** [July 16, 2023, 12:30pm UTC](https://forum.gitlab.com/t/how-do-i-enable-ai-code-suggestion/89892 "2023-07-16T12:30:30Z")

</div>

I can’t get any code suggestion in VS Code, even though I have already installed the GitLab workflow extension, configured my access token, and enabled the code suggestion settings There are no code suggestions at all. …

---

## [\<FIXED\> Unable to Push existing branch to GitLab](https://forum.gitlab.com/t/fixed-unable-to-push-existing-branch-to-gitlab/72167)

<div class="topic-metadata">

**Author:** [@freeross](https://forum.gitlab.com/u/freeross)\
**Replies:** 0\
**Last updated:** [July 10, 2022, 6:11am UTC](https://forum.gitlab.com/t/fixed-unable-to-push-existing-branch-to-gitlab/72167 "2022-07-10T06:11:21Z")

</div>

Hi, This is probably related to the following topics I have already asked about: git push --set-upstream origin RV\_2022Review remote: You are not allowed to upload code. fatal: unable to access 'https://gitlab.com/\<a…

---

## [\<FIXED\> VSCode Connection Check](https://forum.gitlab.com/t/fixed-vscode-connection-check/72005)

<div class="topic-metadata">

**Author:** [@freeross](https://forum.gitlab.com/u/freeross)\
**Replies:** 0\
**Last updated:** [July 6, 2022, 10:47am UTC](https://forum.gitlab.com/t/fixed-vscode-connection-check/72005 "2022-07-06T10:47:54Z")

</div>

Hi, I’ve installed the GitLab extension for VSCode and created a new branch in Git locally. I am being prompted to ‘Publish Branch’ in the source control extension. Before I click that I would like to check that I’m set…

---

## [Instead of using SonarQube, can we used GitLab's Code Quality check even on local code editors?](https://forum.gitlab.com/t/instead-of-using-sonarqube-can-we-used-gitlabs-code-quality-check-even-on-local-code-editors/70352)

<div class="topic-metadata">

**Author:** [@debarati89.datta](https://forum.gitlab.com/u/debarati89.datta)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 4:54pm UTC](https://forum.gitlab.com/t/instead-of-using-sonarqube-can-we-used-gitlabs-code-quality-check-even-on-local-code-editors/70352 "2022-06-14T16:54:54Z")

</div>

Just like how SonarQube extension in Visual Studio Code helps Developers to communicate through the servers and check run time warnings, can GitLab Code Quality check be implemented locally ? Or any suggestion ? I am int…

---

## [Cannot connect to GitLab with Workflow on VSC](https://forum.gitlab.com/t/cannot-connect-to-gitlab-with-workflow-on-vsc/69954)

<div class="topic-metadata">

**Author:** [@rvasquez](https://forum.gitlab.com/u/rvasquez)\
**Replies:** 1\
**Last updated:** [May 21, 2022, 3:10pm UTC](https://forum.gitlab.com/t/cannot-connect-to-gitlab-with-workflow-on-vsc/69954 "2022-05-21T15:10:14Z")

</div>

Hi! I installed the GitLab Workflow extension in Visual Studio Code on Ubuntu 22.04, and it was working, but now it somehow stopped working. It keeps giving me an undefined == true error, plus it can’t get the password a…

---

## [Link GitLab and Visual Studio Code](https://forum.gitlab.com/t/link-gitlab-and-visual-studio-code/64812)

<div class="topic-metadata">

**Author:** [@Scrountch](https://forum.gitlab.com/u/Scrountch)\
**Replies:** 0\
**Last updated:** [January 31, 2022, 12:45am UTC](https://forum.gitlab.com/t/link-gitlab-and-visual-studio-code/64812 "2022-01-31T00:45:04Z")

</div>

Hi, I’m beginner on Visual Studio Code and GitLab. I would like to work on files on VSD and push them on GitLab. I tried lot of things, do lot of researches but I can’t do it. So I need somoene to explain me how to do i…

---

## [Not able to push and pull code to gitlab using vscode terminal](https://forum.gitlab.com/t/not-able-to-push-and-pull-code-to-gitlab-using-vscode-terminal/61502)

<div class="topic-metadata">

**Author:** [@hari123](https://forum.gitlab.com/u/hari123)\
**Replies:** 8\
**Last updated:** [November 30, 2021, 11:16am UTC](https://forum.gitlab.com/t/not-able-to-push-and-pull-code-to-gitlab-using-vscode-terminal/61502 "2021-11-30T11:16:58Z")

</div>

hey, So our developers who are using ubuntu 20.04lts are not able to push or pull code to gitlab from thier vs code terminal. It was working fine all these days but then suddenly they are facing the issue lately. remo…

---

## [How teams can use the Gitpod integration in GitLab to speed up their development process](https://forum.gitlab.com/t/how-teams-can-use-the-gitpod-integration-in-gitlab-to-speed-up-their-development-process/55968)

<div class="topic-metadata">

**Author:** [@dnsmichi](https://forum.gitlab.com/u/dnsmichi)\
**Replies:** 0\
**Last updated:** [July 20, 2021, 4:21pm UTC](https://forum.gitlab.com/t/how-teams-can-use-the-gitpod-integration-in-gitlab-to-speed-up-their-development-process/55968 "2021-07-20T16:21:50Z")

</div>

:wave: Turn back time a bit and try to remember the first project you started or joined, and the onboarding experience. How long did it take to install the development environment on your local machine? We talked abou…
