Skip to content

Commit

Permalink
remove key binding "shift+alt+t", "shift+alt+f"
Browse files Browse the repository at this point in the history
  • Loading branch information
takumisoft68 committed Aug 10, 2022
1 parent bf352f4 commit 465bb11
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 38 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log

## All notable changes to the "markdowntable" extension will be documented in this file.
## All notable changes to the "markdowntable" extension will be documented in this file

### 0.10.1 (2022/8/10)

- [Change] Remove key binding `Shift+Alt+F` (for markdowntable.format)
- [Change] Remove key binding `Shift+Alt+T` (for markdowntable.tsvToTable)

### 0.10.0 (2022/7/9)

Expand Down
28 changes: 12 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Markdown Table

Markdown table features.
Add features to edit markdown table.

## 1. Features

| Title | Command | Default Keybinding | In the Editor Right Click Menu |
| :-------------------------------------- | :---------------------------------- | :----------------- | :---------------------------------- |
| Format all tables. | markdowntable.format | Shift + Alt + F | Yes |
| Convert TSV to table. | markdowntable.tsvToTable | Shift + Alt + T | Yes (only when selecting range) |
| Navigate to next cell. | markdowntable.nextCell | Tab | No |
| Navigate to previous cell. | markdowntable.prevCell | Shift + Tab | No |
| Navigate to next cell (w/o format). | markdowntable.nextCellWithoutFormat | | No |
| Navigate to previous cell (w/o format). | markdowntable.prevCellWithoutFormat | | No |
| Convert TSV to table. | markdowntable.tsvToTable | | Yes (only when selecting range) |
| Insert column in the right. | markdowntable.insertRight | | Yes (only when not selecting range) |
| Insert column in the left. | markdowntable.insertLeft | | Yes (only when not selecting range) |
| Align to Left. | markdowntable.alignLeft | | Yes |
| Align to Center. | markdowntable.alignCenter | | Yes |
| Align to Right. | markdowntable.alignRight | | Yes |
| Format all tables. | markdowntable.format | | Yes |

---

Expand All @@ -32,7 +32,7 @@ Key binding to `Tab`.
- with auto format
- ![navigate](images/navigate_next_cell.gif)

#### 2.1.1 Without auto format
#### 2.1.1. If you want to use it without auto format

- Use markdowntable.nextCellWithoutFormat command
- If you want, you need to assign this command to some key binding by yourself.
Expand All @@ -46,39 +46,35 @@ Key binding to `Shift`+`Tab`.
- with auto format
- ![navigate_prev](images/navigate_prev_cell.gif)

#### 2.2.1 Without auto format
#### 2.2.1. If you want to use it without auto format

- Use markdowntable.prevCellWithoutFormat command
- If you want, you need to assign this command to some key binding by yourself.

### 2.3. Convert to table from TSV text

Key binding to `Shift + Alt + T`.

- **Tips: This feature is supposed to make table from excel cells.**
- ![convert](images/table_from_excel.gif)

### 2.4. Align column/columns
### 2.4. Insert column

- Add context menu to insert column
- ![insert](images/insert.gif)

### 2.5. Align column/columns

- **Align column to left/center/right.**
- ![align](images/align_column.gif)

- **Align selected multi columns at once.**
- ![align](images/align_columns_at_once.gif)

### 2.5. Format table

Key binding to `Shift + Alt + F`.
### 2.6. Format table

- **Auto format column width of all tables in current document**
- Align data and column header (can be disabled by configuration)
- ![formattable](images/format_table.gif)

### 2.6. Insert column

- Add context menu to insert column
- ![insert](images/insert.gif)

## 3. Extension Configurations

| Configuration ID | Description | Type | Default |
Expand Down
22 changes: 1 addition & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "TakumiI",
"displayName": "Markdown Table",
"description": "Add features to edit markdown table.",
"version": "0.10.0",
"version": "0.10.1",
"repository": {
"type": "git",
"url": "https://github.com/takumisoft68/vscode-markdown-table"
Expand Down Expand Up @@ -78,16 +78,6 @@
}
],
"keybindings": [
{
"command": "markdowntable.format",
"key": "shift+alt+f",
"when": "editorLangId == markdown && editorTextFocus"
},
{
"command": "markdowntable.tsvToTable",
"key": "shift+alt+t",
"when": "editorLangId == markdown && editorTextFocus && editorHasSelection"
},
{
"command": "markdowntable.nextCell",
"key": "tab",
Expand All @@ -98,16 +88,6 @@
"key": "shift+tab",
"when": "editorLangId == markdown && editorTextFocus && !editorReadonly && !editorTabMovesFocus && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible && !inSnippetMode && markdowntable.contextkey.selection.InMarkdownTable"
},
{
"command": "markdowntable.format",
"key": "shift+alt+f",
"when": "editorLangId == mdx && editorTextFocus"
},
{
"command": "markdowntable.tsvToTable",
"key": "shift+alt+t",
"when": "editorLangId == mdx && editorTextFocus && editorHasSelection"
},
{
"command": "markdowntable.nextCell",
"key": "tab",
Expand Down

0 comments on commit 465bb11

Please sign in to comment.