Procházet zdrojové kódy

Updates walkthroughs

- adds headings, and moves the majority of text content to the body of each step
- most steps now have a simple, one-line description
- adds "try now" section to premium feature walkthrough with a button to try
- adds and updates content in premium feature introduction step
- removes an unnecessary file
main
Justin Roberts před 2 roky
rodič
revize
e42d5bcd6d
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: DBD8135F2247131A
16 změnil soubory, kde provedl 102 přidání a 18 odebrání
  1. +20
    -12
      package.json
  2. +0
    -0
      walkthroughs/getting-started/10-interactive-rebase-editor
  3. +4
    -0
      walkthroughs/getting-started/10-interactive-rebase-editor.md
  4. +2
    -0
      walkthroughs/getting-started/11-terminal.md
  5. +4
    -0
      walkthroughs/getting-started/12-premium-features.md
  6. +1
    -1
      walkthroughs/getting-started/2-customize.md
  7. +6
    -4
      walkthroughs/getting-started/3-current-line-blame.md
  8. +4
    -0
      walkthroughs/getting-started/5-revision-history.md
  9. +16
    -1
      walkthroughs/getting-started/6-file-annotations.md
  10. +6
    -0
      walkthroughs/getting-started/7-git-side-bar-views.md
  11. +6
    -0
      walkthroughs/getting-started/8-hosting-service-integrations.md
  12. +4
    -0
      walkthroughs/getting-started/9-git-command-palette.md
  13. +11
    -0
      walkthroughs/premium-features/1-intro.md
  14. +6
    -0
      walkthroughs/premium-features/2-worktrees.md
  15. +8
    -0
      walkthroughs/premium-features/3-visual-file-history.md
  16. +4
    -0
      walkthroughs/premium-features/4-coming-soon.md

+ 20
- 12
package.json Zobrazit soubor

@ -10818,7 +10818,7 @@
{
"id": "gitlens.welcome.currentLineBlame",
"title": "See who made what changes at a glance",
"description": "At the end of every line of code and in the status bar, GitLens exposes details about the last commit that modified that line, including the author, when the commit was made, and other information like pull request details. Hovering over these blame annotations will reveal more details and links to explore more about the commit.",
"description": "Current line blame provides historical context about line changes.",
"media": {
"markdown": "walkthroughs/getting-started/3-current-line-blame.md"
}
@ -10826,7 +10826,7 @@
{
"id": "gitlens.welcome.gitCodeLens",
"title": "View Git Authorship Via CodeLens",
"description": "At the top of each file and at the beginning of each block of code, GitLens exposes the most recent commit and number of authors. It does this by leveraging CodeLens, one of the most powerful tools inside VS Code, which provides clickable links exposing commit details and allows you to select from a quick pick menu to compare, navigate and further explore each commit.",
"description": "CodeLens adds contextual authorship information and links at the top of each file and at the beginning of each block of code.",
"media": {
"markdown": "walkthroughs/getting-started/4-git-codelens.md"
}
@ -10834,7 +10834,7 @@
{
"id": "gitlens.welcome.revisionHistory",
"title": "Easily navigate revision history",
"description": "With just a click of a button, you can navigate backwards and forwards through any file's history. Compare changes over time and see the revision history of the whole file or every individual line of code. Customizable and unobtrusive Git blame annotations are still shown on every line, telling you the author, date, and message for the last commit!",
"description": "",
"media": {
"markdown": "walkthroughs/getting-started/5-revision-history.md"
}
@ -10842,7 +10842,7 @@
{
"id": "gitlens.welcome.fileAnnotations",
"title": "Customize file annotations",
"description": "See customizable file annotations in the editor's status bar and in the gutter, the space beside the line number. Choose between:\n\nBlame – showing the commit and author for each line.\n\nChanges – highlighting any local, unpublished, changes or lines changed by the most recent commit.\n\nHeatmap – to show how recently lines were changed relative to all the other changes in the file.",
"description": "File annotations place visual indicators in the gutter and status bar that provide additional context about changes. ",
"media": {
"markdown": "walkthroughs/getting-started/6-file-annotations.md"
}
@ -10850,7 +10850,7 @@
{
"id": "gitlens.welcome.gitSideBarViews",
"title": "View more source control details in the side bar",
"description": "GitLens adds side bar views that provide rich source control details and functionality. GitLens views for Commits, File History, Branches, Remotes, Stashes, Tags, Contributors, and the Search & Compare can be displayed in either the Source Control side bar or on the GitLens side bar.",
"description": "Additional views expose even more Git functionality in your side bar.",
"media": {
"markdown": "walkthroughs/getting-started/7-git-side-bar-views.md"
}
@ -10858,7 +10858,7 @@
{
"id": "gitlens.welcome.hostingServiceIntegrations",
"title": "Integrate with Git hosting services",
"description": "GitLens provides rich integrations with many remote providers, including GitHub, GitHub Enterprise, GitLab, Gitea, Gerrit, Bitbucket, Bitbucket Server, Azure DevOps and custom servers. Quickly gain insights from pull requests and issues without leaving your codebase.\n\nAll Git host integrations provide issue and pull request auto-linking, while advanced integrations (e.g. GitHub) provide more detailed hover information, plus the ability to associate pull requests with branches/commits, and avatars.",
"description": "Quickly gain insights from pull requests and issues without leaving your codebase.",
"media": {
"markdown": "walkthroughs/getting-started/8-hosting-service-integrations.md"
}
@ -10866,7 +10866,7 @@
{
"id": "gitlens.welcome.gitCommandPalette",
"title": "Work faster with Git Command Palette",
"description": "The Git Command Palette provides guided, step-by-step access to many common Git commands, as well as quick access to commits (history and search), stashes, and status (current branch and working tree).",
"description": "",
"media": {
"markdown": "walkthroughs/getting-started/9-git-command-palette.md"
}
@ -10874,7 +10874,7 @@
{
"id": "gitlens.welcome.interactiveRebaseEditor",
"title": "Visualize interactive rebase operations",
"description": "A user-friendly editor to easily configure an interactive rebase session. Simply drag & drop to reorder commits and select which ones you want to edit, squash, or drop.",
"description": "",
"media": {
"markdown": "walkthroughs/getting-started/10-interactive-rebase-editor.md"
}
@ -10905,7 +10905,7 @@
{
"id": "gitlens.premium.intro",
"title": "Introducting GitLens premium features",
"description": "New premium features like Worktrees and Visual File History can be unlocked with a GitLens Free+ account. Additional premium features like GitHub Enterprise and GitLab Self-Managed integrations, and a visual commit graph are coming soon.\n\n",
"description": "",
"media": {
"markdown": "walkthroughs/premium-features/1-intro.md"
}
@ -10913,7 +10913,7 @@
{
"id": "gitlens.premium.worktrees",
"title": "Do more with Worktrees",
"description": "Create Worktrees that allow multiple branches to be checked-out at once on the same repository. This makes it easier to develop on, or test multiple branches, by minimizing the context switching between branches.\n\nNote: Worktrees do not yet work with VS Code on the web.",
"description": "Create Worktrees that allow multiple branches to be checked-out at once on the same repository.",
"media": {
"markdown": "walkthroughs/premium-features/2-worktrees.md"
}
@ -10921,7 +10921,7 @@
{
"id": "gitlens.premium.visualFileHistory",
"title": "Visualize file history",
"description": "Clearly see the history of a file, including: when changes were made, how large they were, and who made them. Authors who have contributed changes to a file are on one axis, and dates on the other. Color-coded dots represent points in time where that author made changes to the file, and vertical lines represent the magnitude of the change in two colors: green for lines added, and red for lines removed.",
"description": "A more visual way to analyze and explore changes made to a file.",
"media": {
"markdown": "walkthroughs/premium-features/3-visual-file-history.md"
}
@ -10929,10 +10929,18 @@
{
"id": "gitlens.premium.comingSoon",
"title": "More coming soon",
"description": "You can expect more premium features like the GitKraken commit graph, which will help you visualize branch structure and commit history. It not only helps verify your recent Git actions on the repo, but also shows who made what code changes and when.",
"description": "",
"media": {
"markdown": "walkthroughs/premium-features/4-coming-soon.md"
}
},
{
"id": "gitlens.premium.tryNow",
"title": "Try premium features now",
"description": "Try premium features now, without an account, for 3 days.\n\n[Try Premium GitLens Features](command:gitlens.premium.startPreviewTrial)",
"media": {
"markdown": "walkthroughs/premium-features/5-try-premium-now.md"
}
}
]
}

+ 0
- 0
walkthroughs/getting-started/10-interactive-rebase-editor Zobrazit soubor


+ 4
- 0
walkthroughs/getting-started/10-interactive-rebase-editor.md Zobrazit soubor

@ -1,3 +1,7 @@
## Visual Interactive Rebase
<p align="center">
<img src="../../images/docs/rebase.gif" alt="Interactive rebase editor"/>
</p>
A user-friendly editor to easily configure an interactive rebase session. Simply drag & drop to reorder commits and select which ones you want to edit, squash, or drop.

+ 2
- 0
walkthroughs/getting-started/11-terminal.md Zobrazit soubor

@ -1,3 +1,5 @@
## Git Details in Your Terminal
<p align="center">
<img src="../../images/docs/terminal-links.gif" alt="Links in VS Code Terminal"/>
</p>

+ 4
- 0
walkthroughs/getting-started/12-premium-features.md Zobrazit soubor

@ -1,3 +1,7 @@
## Premium GitLens Features
<p align="center">
<img src="../../images/docs/visual-file-history-hover.png" alt="Visual File History View"/>
</p>
Even more features are coming soon, like a visual commit graph and integrations for GitHub Enterprise and GitLab Self-Managed repositories.

+ 1
- 1
walkthroughs/getting-started/2-customize.md Zobrazit soubor

@ -1,4 +1,4 @@
## Personalize
## Customize GitLens
<p align="center">
<figure>

+ 6
- 4
walkthroughs/getting-started/3-current-line-blame.md Zobrazit soubor

@ -1,14 +1,16 @@
## Current Line Blame
<p align="center">
<img src="../../images/docs/current-line-blame.png" alt="Current Line Blame" />
</p>
Adds a [customizable](command:gitlens.showSettingsPage?%22current-line%22 'Jump to the Current Line Blame settings') unobtrusive **blame annotation** at the end of the current line
- Contains the author, date, and message of the current line's most recent commit (by default)
- Adds a [_Toggle Line Blame Annotations_](command:gitlens.toggleLineBlame) command to toggle the blame annotation on and off
<p align="center">
<img src="../../images/docs/current-line-blame.png" alt="Current Line Blame" />
</p>
Hovering over these blame annotaions will reveal more details and links to explore more about the commit.
<p align="center">
<img src="../../images/docs/hovers-current-line.png" alt="Current Line Blame Hover" />
</p>

+ 4
- 0
walkthroughs/getting-started/5-revision-history.md Zobrazit soubor

@ -1,3 +1,7 @@
## Navigate Revision History
<p align="center">
<img src="../../images/docs/revision-navigation.gif" alt="Revision Navigation" />
</p>
With just a click of a button, you can navigate backwards and forwards through any file's history. Compare changes over time and see the revision history of the whole file or every individual line of code. Customizable and unobtrusive Git blame annotations are still shown on every line, telling you the author, date, and message for the last commit!

+ 16
- 1
walkthroughs/getting-started/6-file-annotations.md Zobrazit soubor

@ -1,3 +1,18 @@
## Customizable File Annotations
See customizable file annotations in the editor's status bar and in the gutter, the space beside the line number. Choose between:
**Blame** – showing the commit and author for each line.
<p align="center">
<img src="../../images/docs/gutter-blame.png" alt="Gutter Blame and Heatmap" />
<img src="../../images/docs/gutter-blame.png" alt="Gutter Blame" />
</p>
**Changes** – highlighting any local, unpublished, changes or lines changed by the most recent commit.
<p align="center">
<img src="../../images/docs/gutter-changes.png" alt="Gutter Changes" />
</p>
**Heatmap** – to show how recently lines were changed relative to all the other changes in the file.
<p align="center">
<img src="../../images/docs/gutter-heatmap.png" alt="Gutter Heatmap" />
</p>

+ 6
- 0
walkthroughs/getting-started/7-git-side-bar-views.md Zobrazit soubor

@ -1,4 +1,10 @@
## Side Bar Views
<p float="left">
<img src="../../images/docs/views-layout-gitlens.png" alt="GitLens Side Bar Views" width="45%" />
<img src="../../images/docs/views-layout-scm.png" alt="Source Control Side Bar Views" width="45%" />
</p>
GitLens adds side bar views for Commits, File History, Branches, Remotes, Stashes, Tags, Contributors, and the Search & Compare that provide rich source control details and functionality.
These views can be displayed in either the **GitLens** side bar or on the **Source Control** side bar.

+ 6
- 0
walkthroughs/getting-started/8-hosting-service-integrations.md Zobrazit soubor

@ -1,3 +1,9 @@
## Hosting Service Integrations
<p align="center">
<img src="../../images/docs/hosting-integrations.png" alt="Hosting service integrations"/>
</p>
GitLens provides rich integrations with many remote providers, including GitHub, GitHub Enterprise, GitLab, Gitea, Gerrit, Bitbucket, Bitbucket Server, Azure DevOps and custom servers.
All Git host integrations provide issue and pull request auto-linking, while advanced integrations (e.g. GitHub) provide more detailed hover information, plus the ability to associate pull requests with branches/commits, and avatars.

+ 4
- 0
walkthroughs/getting-started/9-git-command-palette.md Zobrazit soubor

@ -1,3 +1,7 @@
## Git Command Palette
<p align="center">
<img src="../../images/docs/git-command-palette.png" alt="Git command palette"/>
</p>
The Git Command Palette provides guided, step-by-step access to many common Git commands, as well as quick access to commits (history and search), stashes, and status (current branch and working tree).

+ 11
- 0
walkthroughs/premium-features/1-intro.md Zobrazit soubor

@ -0,0 +1,11 @@
## Introducing GitLens Premium Features
New premium features like Worktrees and Visual File History can be unlocked with a GitLens Free+ account. Additional premium features like a visual commit graph, and integrations for GitHub Enterprise and GitLab Self-Managed repositories are coming soon.
**Does this affect existing features?**
No, the introduction of premium features has no impact on GitLens features that existed prior to v12.0, so you won't lose access to any of the GitLens features you know and love. Creating an account simply gives you access to new, premium features that will enable you to get even more out of Git in VS Code!
Free+ accounts will be able to access premium features on all public repostories, and a paid account will be required to access premium features on private repositories.
[Learn More About Premium GitLens Features](https://gitkraken.com/gitlens/premium-features)

+ 6
- 0
walkthroughs/premium-features/2-worktrees.md Zobrazit soubor

@ -1,3 +1,9 @@
## Git Worktrees
<p align="center">
<img src="../../images/docs/worktrees-view.png" alt="Worktrees View in Side Bar"/>
</p>
Worktrees make developing on and testing multiple branches easier, by minimizing the context switching between branches.
*Note: Worktrees do not yet work with VS Code on the web.*

+ 8
- 0
walkthroughs/premium-features/3-visual-file-history.md Zobrazit soubor

@ -1,3 +1,11 @@
## Visual File History
<p align="center">
<img src="../../images/docs/visual-file-history-hover.png" alt="Visual File History View"/>
</p>
The Visual File History allows you to quickly see the evolution of a file, including when changes were made, how large they were, and who made them.
Authors who have contributed changes to the file are on the left y-axis to create a swim-lane of their commits over time (the x-axis). Commit are plotted as color-coded (per-author) bubbles, whose size represents the relative magnitude of the changes.
Additionally, each commit's additions and deletions are visualized as color-coded, stacked, vertical bars, whose height represents the number of affected lines (right y-axis). Added lines are shown in green, while deleted lines are red.

+ 4
- 0
walkthroughs/premium-features/4-coming-soon.md Zobrazit soubor

@ -1,3 +1,7 @@
## More Premium Features Coming Soon
<p align="center">
<img src="../../images/docs/coming-soon-commit-graph.png" alt="Worktrees View in Side Bar"/>
</p>
You can expect more premium features like a visual commit graph for better repo visualization, and integrations with hosting services like GitHub Enterprise and GitLab Self-Managed.

Načítá se…
Zrušit
Uložit