Skip to content

Commit

Permalink
Version 2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhani committed Mar 1, 2019
1 parent 5e85980 commit b32b462
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log


**2.0.0:** Added primary (level 1) and secondary (level 2) section dividers support.

Also removed previous existing functionalities of "adding a one line divider" and "adding a divider from the line start instead of cursor position" because I have never used them.

---

**1.2.1:** Bugfix in tab support implementation

**1.2.0:** Tab support
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ This extension inserts horizontal section dividers using language comments.

| Command | Shortcut | Description |
|---------|----------|-------------|
| Divider: Add From Cursor| Alt+D | insert a divider with the configured number of lines from cursor position up to the configured end column|
| Divider: Add Divider - Level 1| Alt+D | insert a level 1 divider with the configured number of lines from cursor position up to the configured end column|
| Divider: Add Divider - Level 2| Ctrl+Alt+D | insert a level 2 divider with the configured number of lines from cursor position up to the configured end column|


# Configuration

```javascript
// Text that will be used to fill the section divider lines.
"divider.text": "=",
// Text that will be used to fill the level 1 section divider lines.
"divider.text.level1": "=",

// Text that will be used to fill the level 2 section divider lines.
"divider.text.level2": "-",

// Last character column the section divider will reach.
"divider.endColumn": 80,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Section Divider",
"description": "Inserts horizontal section dividers using language comments.",
"publisher": "dinhani",
"version": "1.2.1",
"version": "2.0.0",
"license": "MIT",
"repository": "https://github.com/dinhani/vscode-section-divider",
"bugs": "https://github.com/dinhani/vscode-section-divider/issues",
Expand Down Expand Up @@ -49,12 +49,12 @@
"divider.text.level1": {
"type": "string",
"default": "=",
"description": "Text that will be used to fill the Level 1 section divider lines."
"description": "Text that will be used to fill the level 1 section divider lines."
},
"divider.text.level2": {
"type": "string",
"default": "-",
"description": "Text that will be used to fill the Level 2 section divider lines."
"description": "Text that will be used to fill the level 2 section divider lines."
},
"divider.endColumn": {
"type": "number",
Expand Down

0 comments on commit b32b462

Please sign in to comment.