浏览代码

Prettiers

main
Eric Amodio 4 年前
父节点
当前提交
b1acf75e53
共有 12 个文件被更改,包括 82 次插入106 次删除
  1. +8
    -8
      README.md
  2. +2
    -2
      src/system/string.ts
  3. +2
    -6
      src/webviews/apps/settings/partials/blame.html
  4. +44
    -48
      src/webviews/apps/settings/partials/code-lens.html
  5. +1
    -3
      src/webviews/apps/settings/partials/current-line.html
  6. +1
    -3
      src/webviews/apps/settings/partials/menus.html
  7. +1
    -3
      src/webviews/apps/settings/partials/modes.html
  8. +19
    -21
      src/webviews/apps/settings/partials/status-bar.html
  9. +1
    -3
      src/webviews/apps/settings/partials/views.compare.html
  10. +1
    -3
      src/webviews/apps/settings/partials/views.repositories.html
  11. +1
    -3
      src/webviews/apps/settings/partials/views.search.html
  12. +1
    -3
      src/webviews/apps/welcome/welcome.html

+ 8
- 8
README.md 查看文件

@ -844,14 +844,14 @@ See also [View Settings](#view-settings- 'Jump to the View settings')
### Git Commands Menu Settings [#](#git-commands-menu-settings- 'Git Commands Menu Settings')
| Name | Description |
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `gitlens.gitCommands.closeOnFocusOut` | Specifies whether to dismiss the Git Commands menu when focus is lost (if not, press `ESC` to dismiss) |
| `gitlens.gitCommands.search.matchAll` | Specifies whether to match all or any commit message search patterns |
| `gitlens.gitCommands.search.matchCase` | Specifies whether to match commit search patterns with or without regard to casing |
| `gitlens.gitCommands.search.matchRegex` | Specifies whether to match commit search patterns using regular expressions |
| `gitlens.gitCommands.search.showResultsInView` | Specifies whether to show the commit search results in the _Search Commits_ view or directly within the quick pick menu |
| `gitlens.gitCommands.skipConfirmations` | Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu|command)` |
| Name | Description |
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `gitlens.gitCommands.closeOnFocusOut` | Specifies whether to dismiss the Git Commands menu when focus is lost (if not, press `ESC` to dismiss) |
| `gitlens.gitCommands.search.matchAll` | Specifies whether to match all or any commit message search patterns |
| `gitlens.gitCommands.search.matchCase` | Specifies whether to match commit search patterns with or without regard to casing |
| `gitlens.gitCommands.search.matchRegex` | Specifies whether to match commit search patterns using regular expressions |
| `gitlens.gitCommands.search.showResultsInView` | Specifies whether to show the commit search results in the _Search Commits_ view or directly within the quick pick menu |
| `gitlens.gitCommands.skipConfirmations` | Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu | command)` |
### Date & Time Settings [#](#date--time-settings- 'Date & Time Settings')

+ 2
- 2
src/system/string.ts 查看文件

@ -380,8 +380,8 @@ export namespace Strings {
if (
cp >= 0x1100 &&
(cp <= 0x115f || // Hangul Jamo
cp === 0x2329 || // LEFT-POINTING ANGLE BRACKET
cp === 0x232a || // RIGHT-POINTING ANGLE BRACKET
cp === 0x2329 || // LEFT-POINTING ANGLE BRACKET
cp === 0x232a || // RIGHT-POINTING ANGLE BRACKET
// CJK Radicals Supplement .. Enclosed CJK Letters and Months
(cp >= 0x2e80 && cp <= 0x3247 && cp !== 0x303f) ||
// Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A

+ 2
- 6
src/webviews/apps/settings/partials/blame.html 查看文件

@ -11,9 +11,7 @@
</a>
</h2>
<p class="section__header-hint">
Adds on-demand gutter blame annotations for the whole file
</p>
<p class="section__header-hint">Adds on-demand gutter blame annotations for the whole file</p>
<div class="section__header-info">
<i class="icon icon--md icon__bulb"></i>
<div>
@ -109,9 +107,7 @@
<input id="blame.compact" name="blame.compact" type="checkbox" data-setting />
<label for="blame.compact">Use compact view</label>
</div>
<p class="setting__hint">
Compacts (deduplicates) matching adjacent blame annotations
</p>
<p class="setting__hint">Compacts (deduplicates) matching adjacent blame annotations</p>
</div>
<div class="setting">

+ 44
- 48
src/webviews/apps/settings/partials/code-lens.html 查看文件

@ -12,9 +12,7 @@
</a>
</div>
<p class="section__header-hint">
Adds authorship code lens to the top of files and on code blocks
</p>
<p class="section__header-hint">Adds authorship code lens to the top of files and on code blocks</p>
<div class="section__header-info">
<i class="icon icon__bulb"></i>
<div>
@ -68,30 +66,30 @@
data-enablement="codeLens.enabled &amp; codeLens.recentChange.enabled &amp; codeLens.recentChange.command !false"
disabled
>
<option value="gitlens.toggleFileBlame"
>toggles the file blame annotations</option
>
<option value="gitlens.diffWithPrevious"
>opens changes with the previous revision</option
>
<option value="gitlens.revealCommitInView"
>reveals the commit in the Repositories view</option
>
<option value="gitlens.showCommitsInView"
>shows the commit in the Search Commits view</option
>
<option value="gitlens.showQuickCommitDetails"
>shows details of the commit</option
>
<option value="gitlens.toggleFileBlame">
toggles the file blame annotations
</option>
<option value="gitlens.diffWithPrevious">
opens changes with the previous revision
</option>
<option value="gitlens.revealCommitInView">
reveals the commit in the Repositories view
</option>
<option value="gitlens.showCommitsInView">
shows the commit in the Search Commits view
</option>
<option value="gitlens.showQuickCommitDetails">
shows details of the commit
</option>
<option value="gitlens.showQuickCommitFileDetails">
shows file details of the commit
</option>
<option value="gitlens.showQuickFileHistory"
>shows the current file history</option
>
<option value="gitlens.showQuickRepoHistory"
>shows the current branch history</option
>
<option value="gitlens.showQuickFileHistory">
shows the current file history
</option>
<option value="gitlens.showQuickRepoHistory">
shows the current branch history
</option>
</select>
</div>
</div>
@ -133,30 +131,30 @@
data-enablement="codeLens.enabled &amp; codeLens.authors.enabled &amp; codeLens.authors.command !false"
disabled
>
<option value="gitlens.toggleFileBlame"
>toggles the file blame annotations</option
>
<option value="gitlens.diffWithPrevious"
>opens changes with the previous revision</option
>
<option value="gitlens.revealCommitInView"
>reveals the commit in the Repositories view</option
>
<option value="gitlens.showCommitsInView"
>shows the commits within the range in the Search Commits view</option
>
<option value="gitlens.showQuickCommitDetails"
>shows details of the commit</option
>
<option value="gitlens.toggleFileBlame">
toggles the file blame annotations
</option>
<option value="gitlens.diffWithPrevious">
opens changes with the previous revision
</option>
<option value="gitlens.revealCommitInView">
reveals the commit in the Repositories view
</option>
<option value="gitlens.showCommitsInView">
shows the commits within the range in the Search Commits view
</option>
<option value="gitlens.showQuickCommitDetails">
shows details of the commit
</option>
<option value="gitlens.showQuickCommitFileDetails">
show file details of the commit
</option>
<option value="gitlens.showQuickFileHistory"
>shows the current file history</option
>
<option value="gitlens.showQuickRepoHistory"
>shows the current branch history</option
>
<option value="gitlens.showQuickFileHistory">
shows the current file history
</option>
<option value="gitlens.showQuickRepoHistory">
shows the current branch history
</option>
</select>
</div>
</div>
@ -199,9 +197,7 @@
/>
<label for="codeLens.scopes-1">Containers scope</label>
</div>
<p class="setting__hint">
At the start of modules, classes, interfaces, etc
</p>
<p class="setting__hint">At the start of modules, classes, interfaces, etc</p>
</div>
<div class="setting" data-enablement="codeLens.enabled">

+ 1
- 3
src/webviews/apps/settings/partials/current-line.html 查看文件

@ -18,9 +18,7 @@
</a>
</div>
<p class="section__header-hint">
Adds an unobtrusive blame annotation at the end of the current line
</p>
<p class="section__header-hint">Adds an unobtrusive blame annotation at the end of the current line</p>
<div class="section__header-info">
<i class="icon icon--md icon__bulb"></i>
<div>

+ 1
- 3
src/webviews/apps/settings/partials/menus.html 查看文件

@ -5,9 +5,7 @@
<label for="menus">Menus &amp; Toolbars</label>
</div>
<p class="section__header-hint">
Adds many helpful commands to the built-in menus &amp; toolbars
</p>
<p class="section__header-hint">Adds many helpful commands to the built-in menus &amp; toolbars</p>
<div class="section__header-info">
<i class="icon icon__info"></i>

+ 1
- 3
src/webviews/apps/settings/partials/modes.html 查看文件

@ -11,9 +11,7 @@
</a>
</h2>
<p class="section__header-hint">
Supports user-defined modes for quickly toggling between sets of settings
</p>
<p class="section__header-hint">Supports user-defined modes for quickly toggling between sets of settings</p>
<div class="section__header-info">
<i class="icon icon--md icon__bulb"></i>
<div>

+ 19
- 21
src/webviews/apps/settings/partials/status-bar.html 查看文件

@ -12,9 +12,7 @@
</a>
</div>
<p class="section__header-hint">
Adds a Git blame annotation about the current line to the status bar
</p>
<p class="section__header-hint">Adds a Git blame annotation about the current line to the status bar</p>
</div>
<div class="section__collapsible">
@ -59,27 +57,27 @@
<div class="select-container">
<select id="statusBar.command" name="statusBar.command" data-setting disabled>
<option value="gitlens.toggleFileBlame">toggles the file blame annotations</option>
<option value="gitlens.diffWithPrevious"
>opens line changes with the previous revision</option
>
<option value="gitlens.diffWithWorking"
>opens line changes with the working file</option
>
<option value="gitlens.revealCommitInView"
>reveals the commit in the Repositories view</option
>
<option value="gitlens.showCommitsInView"
>shows the commit in the Search Commits view</option
>
<option value="gitlens.diffWithPrevious">
opens line changes with the previous revision
</option>
<option value="gitlens.diffWithWorking">
opens line changes with the working file
</option>
<option value="gitlens.revealCommitInView">
reveals the commit in the Repositories view
</option>
<option value="gitlens.showCommitsInView">
shows the commit in the Search Commits view
</option>
<option value="gitlens.toggleCodeLens">toggles the Git code lens</option>
<option value="gitlens.showQuickCommitDetails">shows details of the commit</option>
<option value="gitlens.showQuickCommitFileDetails"
>shows file details of the commit</option
>
<option value="gitlens.showQuickCommitFileDetails">
shows file details of the commit
</option>
<option value="gitlens.showQuickFileHistory">shows the current file history</option>
<option value="gitlens.showQuickRepoHistory"
>shows the current branch history</option
>
<option value="gitlens.showQuickRepoHistory">
shows the current branch history
</option>
</select>
</div>
</div>

+ 1
- 3
src/webviews/apps/settings/partials/views.compare.html 查看文件

@ -63,9 +63,7 @@
/>
<label for="views.compare.files.compact">Use compact file layout</label>
</div>
<p class="setting__hint">
Compacts (flattens) unnecessary nesting when using a tree layouts
</p>
<p class="setting__hint">Compacts (flattens) unnecessary nesting when using a tree layouts</p>
</div>
<div class="setting" data-enablement="views.compare.enabled">

+ 1
- 3
src/webviews/apps/settings/partials/views.repositories.html 查看文件

@ -144,9 +144,7 @@
/>
<label for="views.repositories.files.compact">Use compact file layout</label>
</div>
<p class="setting__hint">
Compacts (flattens) unnecessary nesting when using a tree layouts
</p>
<p class="setting__hint">Compacts (flattens) unnecessary nesting when using a tree layouts</p>
</div>
<div class="setting" data-enablement="views.repositories.enabled">

+ 1
- 3
src/webviews/apps/settings/partials/views.search.html 查看文件

@ -63,9 +63,7 @@
/>
<label for="views.search.files.compact">Use compact file layout</label>
</div>
<p class="setting__hint">
Compacts (flattens) unnecessary nesting when using a tree layouts
</p>
<p class="setting__hint">Compacts (flattens) unnecessary nesting when using a tree layouts</p>
</div>
<div class="setting" data-enablement="views.search.enabled">

+ 1
- 3
src/webviews/apps/welcome/welcome.html 查看文件

@ -88,9 +88,7 @@
no problem, quickly turn them off or change how they behave using the options below.
</p>
<h2 class="section__title section__title--break">
Quick Setup
</h2>
<h2 class="section__title section__title--break">Quick Setup</h2>
<p class="section__hint mt-0 center">
<i class="icon icon__info"></i> For more options, use the interactive
<a class="command" title="Open GitLens Settings" href="command:gitlens.showSettingsPage"

正在加载...
取消
保存