From b32b46292aa7359af8ee39d9d5e434d9d0e9613b Mon Sep 17 00:00:00 2001 From: Renato Dinhani Date: Fri, 1 Mar 2019 00:13:36 -0300 Subject: [PATCH] Version 2.0.0 release --- CHANGELOG.md | 7 +++++++ README.md | 10 +++++++--- package.json | 6 +++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c036f..2a99570 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index c3c244e..655da7e 100644 --- a/README.md +++ b/README.md @@ -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, diff --git a/package.json b/package.json index a957017..7033b91 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",