Commit c56aa111 authored by Kati Paizee's avatar Kati Paizee

Merge branch 'aqualls-crosslink-vscode-extension' into 'master'

Cross-link to VS Code extension information

See merge request gitlab-org/gitlab!72656
parents 5894e092 d206ce2e
...@@ -21,6 +21,12 @@ comments: false ...@@ -21,6 +21,12 @@ comments: false
git clone <url> git clone <url>
``` ```
NOTE:
You can also clone GitLab projects with the
[GitLab Workflow VS Code extension](../../user/project/repository/vscode.md).
To learn more, read about the extension's
[`Git: Clone` command](https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#clone-gitlab-projects).
## Central Repositories ## Central Repositories
- To instantiate a central repository a `--bare` flag is required. - To instantiate a central repository a `--bare` flag is required.
......
...@@ -17,6 +17,10 @@ your merge request, and makes [code suggestions](suggestions.md) you can accept ...@@ -17,6 +17,10 @@ your merge request, and makes [code suggestions](suggestions.md) you can accept
from the user interface. When your work is reviewed, your team members can choose from the user interface. When your work is reviewed, your team members can choose
to accept or reject it. to accept or reject it.
You can review merge requests from the GitLab interface. If you install the
[GitLab Workflow VS Code extension](../../repository/vscode.md), you can also
review merge requests in Visual Studio Code.
## Review a merge request ## Review a merge request
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4213) in GitLab Premium 11.4. > - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4213) in GitLab Premium 11.4.
......
...@@ -82,14 +82,19 @@ prompted to open XCode. ...@@ -82,14 +82,19 @@ prompted to open XCode.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/220957) in GitLab 13.10. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/220957) in GitLab 13.10.
All projects can be cloned into Visual Studio Code. To do that: All projects can be cloned into Visual Studio Code from the GitLab user interface, but you
can also install the [GitLab Workflow VS Code extension](vscode.md) to clone from
Visual Studio Code:
1. From the GitLab UI, go to the project's overview page. - From the GitLab interface:
1. Click **Clone**. 1. Go to the project's overview page.
1. Select **Clone with Visual Studio Code** under either HTTPS or SSH method. 1. Select **Clone**.
1. Select a folder to clone the project into. 1. Under either the **HTTPS** or **SSH** method, select **Clone with Visual Studio Code**.
1. Select a folder to clone the project into.
When VS Code has successfully cloned your project, it opens the folder. After Visual Studio Code clones your project, it opens the folder.
- From Visual Studio Code, with the [extension](vscode.md) installed, use the
extension's [`Git: Clone` command](https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#clone-gitlab-projects).
## Download the code in a repository ## Download the code in a repository
...@@ -243,6 +248,10 @@ When you [rename a user](../../profile/index.md#change-your-username), ...@@ -243,6 +248,10 @@ When you [rename a user](../../profile/index.md#change-your-username),
- The redirects are available as long as the original path is not claimed by - The redirects are available as long as the original path is not claimed by
another group, user, or project. another group, user, or project.
## Related links
- [GitLab Workflow VS Code extension](vscode.md)
## Troubleshooting ## Troubleshooting
### Repository Languages: excessive CPU use ### Repository Languages: excessive CPU use
......
...@@ -14,6 +14,9 @@ You can [comment on](#comment-on-snippets), [clone](#clone-snippets), and ...@@ -14,6 +14,9 @@ You can [comment on](#comment-on-snippets), [clone](#clone-snippets), and
[syntax highlighting](#filenames), [embedding](#embed-snippets), [downloading](#download-snippets), [syntax highlighting](#filenames), [embedding](#embed-snippets), [downloading](#download-snippets),
and you can maintain your snippets with the [snippets API](../api/snippets.md). and you can maintain your snippets with the [snippets API](../api/snippets.md).
You can create and manage your snippets through the GitLab user interface, or by
using the [GitLab Workflow VS Code extension](project/repository/vscode.md).
![Example of snippet](img/snippet_intro_v13_11.png) ![Example of snippet](img/snippet_intro_v13_11.png)
GitLab provides two types of snippets: GitLab provides two types of snippets:
...@@ -39,6 +42,8 @@ You can create snippets in multiple ways, depending on whether you want to creat ...@@ -39,6 +42,8 @@ You can create snippets in multiple ways, depending on whether you want to creat
- *For all other pages,* select the plus icon (**{plus-square-o}**) - *For all other pages,* select the plus icon (**{plus-square-o}**)
in the top navigation bar, then select **New snippet** from the dropdown in the top navigation bar, then select **New snippet** from the dropdown
menu. menu.
- If you installed the [GitLab Workflow VS Code extension](project/repository/vscode.md),
use the [`Gitlab: Create snippet` command](https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#create-snippet).
- **To create a project snippet**: Go to your project's page. Select the - **To create a project snippet**: Go to your project's page. Select the
plus icon (**{plus-square-o}**), and then select **New snippet** from the plus icon (**{plus-square-o}**), and then select **New snippet** from the
**This project** section of the dropdown menu. **This project** section of the dropdown menu.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment