Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • bohdanpk/suggestion_streaming
  • js/quick-chat-ui-spike
  • js/ls-webview-poc
  • js/114/code-suggestion-state/extension-settings-evaluator
  • js/114/code-suggestion-state/infrastructure
  • js/114/code-suggestion-state/di-configuration
  • js/114/code-suggestion-state/token-evaluator
  • js/114/code-suggestion-state/workspace-evaluator
  • js/114/workspace
  • js/code-suggestion/114-project-settings
  • js/code-suggestion-observable-state
  • js/gitlab-client
  • 108-duochat-create-webview-window
  • 82-lsp-package
  • 86-registry-mock
  • 101-integration-testing-init
  • 92-refactor-gitlabproposalsource-for-cleaner-telemetry-handling-using-suggestionservicebase
  • 60-webview-spike
  • 92-code-suggestion-telemetry-service
  • v0.49.0
  • v0.48.0
  • v0.47.0
  • v0.46.0
  • v0.45.0
  • v0.44.0
  • v0.43.0
  • v0.42.0
  • v0.41.0
  • v0.40.0
  • v0.39.0
  • v0.38.0
  • v0.37.0
  • v0.36.0
  • v0.35.0
  • v0.34.0
  • v0.33.0
  • v0.32.0
  • v0.31.0
  • v0.30.0
40 results

README.md

GitLab logo GitLab Extension for Visual Studio IDE

This extension integrates GitLab Duo with Visual Studio (Community, Pro, and Enterprise). It supports GitLab Duo Code Suggestions and GitLab Duo Chat.

With Code Suggestions, you get:

  • Code completion, which suggests completions for the current line you are typing. These suggestions usually have low latency.
  • Code generation, which generates code based on a natural-language code comment block. Responses for code generation are slower than code completion, and returned in a single block.

With Chat, you get the ability to ask general or GitLab specific questions in the main chat window, as well as the following slash commands:

  • Explain code, which provides an explanation of selected code snippets from your editor.
  • Refactor code, which provides refactoring suggestions for selected code snippets from your editor.
  • Generate tests, which provides test generation suggestions for selected code snippets from your editor.
  • Fix code, which provides quick fixes for selected code snippets from your editor.

To learn more, see:

Version compatibility

This extension requires:

  • Visual Studio 2022 version 17.6 or later.
  • GitLab version 16.1 and later.
    • GitLab Duo Code Suggestions requires GitLab version 16.8 or later.

Visual Studio for Mac is not supported.

Setup

Download the extension from the Visual Studio Marketplace.

For setup instructions, see Configure the extension.

Visual Studio Code

For the Visual Studio Code extension, see GitLab Workflow.

Roadmap

To learn more about this project's team, processes, and plans, see the Create:Editor Extensions Group page in the GitLab handbook.

For a list of all open issues in this project, see the issues page for this project.

Troubleshooting

See the troubleshooting documentation in the GitLab documentation. If those instructions don't solve your problem, report an issue in the project.

Feedback

We'd love to hear from you. If you've found a bug, or have an idea, open an issue.

Contributing

This extension is open source and hosted on GitLab. Contributions are more than welcome and subject to the terms set forth in CONTRIBUTING. Feel free to fork and add new features or submit bug reports. See CONTRIBUTING for more information.