Permalink
Browse files

Minor changes to Readme file to fix simple typos.

  • Loading branch information...
thousandtyone committed Apr 4, 2017
1 parent 5431004 commit bbf4344db75a511eb3591430e4e46b4ace3a59c3
Showing with 3 additions and 5 deletions.
  1. +1 −1 README.md
  2. +1 −1 package.json
  3. +1 −3 src/extension.ts
@@ -28,7 +28,7 @@ When the extension moves the semi-colon to the end of the line it also moves you
The Extension understands context of the code in which it executes; so semi-colons will not move to end of line automatically for, 'for' or 'foreach' loops!
> **Note**: For languages like Python which use colons instead of semi-colons to end the line use the autoend.autoendWithColon setting and set it to true. This disables moving of semi-colons to the end of the line and does the same thing with colons to make experience with languages like python (which use colons instead of semi-colons to end a line or indicate starting of code blocks) better. Also note that in this mode the default semi-colon key function as is and you have to use ALT+: for the plugin to automatically move your colons to the end of line. This is done to play nice with Vim Plugins. You can of course override this behavior and map the defaut semi-colon key to extension.colon.autoend command in keybindings.json described https://code.visualstudio.com/docs/getstarted/keybindings if you dont use Vim based Plugins.
> **Note**: For languages like Python which use colons instead of semi-colons to end the line use the autoend.autoendWithColon setting and set it to true. This disables moving of semi-colons to the end of the line and does the same thing with colons to make experience with languages like python (which use colons instead of semi-colons to end a line or indicate starting of code blocks) better. Also note that in this mode the default colon key function as is and you have to use ALT+: for the plugin to automatically move your colons to the end of line. This is done to play nice with Vim Plugins. You can of course override this behavior and map the defaut colon key to extension.colon.autoend command in keybindings.json described https://code.visualstudio.com/docs/getstarted/keybindings if you dont use Vim based Plugins.
## Known Issues
@@ -2,7 +2,7 @@
"name": "autoend",
"displayName": "Autoend",
"description": "Automatically inserts / moves semicolon to the end of the line and moves you to next line.",
"version": "1.1.2",
"version": "1.1.4",
"license":"GPL-2.0",
"publisher": "thousandtyone",
"engines": {
@@ -23,9 +23,7 @@ export function activate(context: vscode.ExtensionContext) {
if(autoendWithColon == null || autoendWithColon == undefined)
autoendWithColon == false;
if(autoendWithColon == true)
{
let colonDisposable = vscode.commands.registerCommand('extension.colon.autoend', () => {

0 comments on commit bbf4344

Please sign in to comment.