Skip to content

Commit

Permalink
Prettiers
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Sep 11, 2020
1 parent a2f41be commit b1acf75
Show file tree
Hide file tree
Showing 12 changed files with 82 additions and 106 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
4 changes: 2 additions & 2 deletions src/system/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 2 additions & 6 deletions src/webviews/apps/settings/partials/blame.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ <h2>
</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>
Expand Down Expand Up @@ -109,9 +107,7 @@ <h2>
<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">
Expand Down
92 changes: 44 additions & 48 deletions src/webviews/apps/settings/partials/code-lens.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/settings/partials/current-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/settings/partials/menus.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/settings/partials/modes.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ <h2>
</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>
Expand Down
40 changes: 19 additions & 21 deletions src/webviews/apps/settings/partials/status-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/settings/partials/views.compare.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/settings/partials/views.repositories.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/settings/partials/views.search.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/apps/welcome/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ <h2 class="section__title section__title--primary">
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"
Expand Down

0 comments on commit b1acf75

Please sign in to comment.