Skip to content

Commit 2852e93

Browse files
authored
Merge pull request #55 from lumaxis/feature/rename-commands
Update: Rename commands to be shorter
2 parents db178f5 + 8224480 commit 2852e93

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

Diff for: CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [Unreleased]
4+
5+
### Features
6+
7+
- Rename VS Code commands to be shorter and more concise.
8+
- `Copy Snippet Without Leading Indentation` is now `Copy Snippet`
9+
- `Copy Snippet Without Leading Indentation as Markdown Code Block` is now `Copy Snippet as Markdown Code Block`
10+
311
## [0.2.3]
412

513
### Fixes

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Ever wanted to copy part of a source file as a snippet and paste it somewhere else, like in Slack or in a GitHub comment?
1111

1212
Previously, you either got a bunch of unnecessary indentation that made the snippet ugly to read or you had to manually un-tab the snippet, copy, and then reset the indentation.
13-
With **Snippet Copy** you can automatically get a snippet added to your clipboard with all the unnecessary indentation already removed!
13+
With **Snippet Copy** you can automatically get a snippet added to your clipboard with all the leading indentation already removed!
1414

1515
## Features
1616

@@ -24,11 +24,11 @@ All features can be used via different ways in VS Code
2424

2525
![Command in Context Menu](https://github.com/lumaxis/snippet-copy/raw/main/images/context-menu.png)
2626

27-
### Copy Snippet Without Leading Indentation
27+
### Copy Snippet
2828

29-
Simply get a copy of your currently selected code or text snippet added to your clipboard – without any unnecessary indentation that you would otherwise need to remove manually.
29+
Simply get a copy of your currently selected code or text snippet added to your clipboard – without any leading indentation that you would otherwise need to remove manually.
3030

31-
### Copy Snippet Without Leading Indentation as Markdown Code Block
31+
### Copy Snippet as Markdown Code Block
3232

3333
This command has an additional configuration option that let's you determine if the Markdown code block should contain the file's language identifier which enables [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) in some places:
3434

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "snippet-copy",
33
"displayName": "Snippet Copy",
4-
"description": "Easily copy snippets of code without unnecessary indentation, making it easier to share them e.g. via Slack",
4+
"description": "Copy snippets of code without leading indentation for easier sharing",
55
"version": "0.2.3",
66
"icon": "images/icon.png",
77
"galleryBanner": {
@@ -32,11 +32,11 @@
3232
"commands": [
3333
{
3434
"command": "snippet-copy.copySnippet",
35-
"title": "Copy Snippet Without Leading Indentation"
35+
"title": "Copy Snippet"
3636
},
3737
{
3838
"command": "snippet-copy.copySnippetAsMarkdownCodeBlock",
39-
"title": "Copy Snippet Without Leading Indentation as Markdown Code Block"
39+
"title": "Copy Snippet as Markdown Code Block"
4040
}
4141
],
4242
"configuration": {

0 commit comments

Comments
 (0)