This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package.json and readme for publishing, added some files to vs…
…codeignore
- Loading branch information
1 parent
087bf49
commit 6b9a4e4
Showing
4 changed files
with
44 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ src/** | |
.gitignore | ||
tsconfig.json | ||
vsc-extension-quickstart.md | ||
**/*.ts | ||
**/tsconfig.json | ||
!file.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
# README | ||
## This is the README for your extension "missinglineendoffile" | ||
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts: | ||
# A Blank line at the end of the file! | ||
## Don't you hate it when git complains there's no blank line at the end of a file? Me too!! | ||
|
||
* Split the editor (`Cmd+\` on OSX or `Ctrl+\` on Windows and Linux) | ||
* Toggle preview (`Shift+CMD+V` on OSX or `Shift+Ctrl+V` on Windows and Linux) | ||
* Press `Ctrl+Space` (Windows, Linux) or `Cmd+Space` (OSX) to see a list of Markdown snippets | ||
Whenever you save a file this extension will automatically add the blank line if needed, not otherwise. A message box will alert you, you can dismiss it with the "Close" button or just hit Esc. | ||
|
||
### For more information | ||
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown) | ||
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/) | ||
If you didn't want the line, you can hit "Revert!" and it will remove it for you and re-save the file un-blank-lined! | ||
|
||
** Enjoy!** | ||
If this is bugging you because this one file should have a line at the end, just hit "Stop that!". It will stop that. From happening |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,38 @@ | ||
{ | ||
"name": "missinglineendoffile", | ||
"displayName": "missingLineEndOfFile", | ||
"description": "This extension will add a blank line at the end of your files when you save them!", | ||
"version": "0.0.1", | ||
"publisher": "NovagliaRiccardo", | ||
"engines": { | ||
"vscode": "^0.10.1" | ||
}, | ||
"categories": [ | ||
"Other" | ||
], | ||
"activationEvents": [ | ||
"onCommand:extension.checkBlankLine", | ||
"name": "missinglineendoffile", | ||
"displayName": "Blank Line at the End of File", | ||
"description": "This extension will add a blank line at the end of your files when you save them!", | ||
"version": "0.0.4", | ||
"publisher": "riccardoNovaglia", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/riccardoNovaglia/vsCodeBlankLine.git" | ||
}, | ||
"engines": { | ||
"vscode": "^0.10.1" | ||
}, | ||
"categories": [ | ||
"Linters" | ||
], | ||
"activationEvents": [ | ||
"onCommand:extension.checkBlankLine", | ||
"onCommand:workbench.action.files.save" | ||
], | ||
"main": "./out/src/extension", | ||
"contributes": { | ||
"commands": [{ | ||
"command": "extension.checkBlankLine", | ||
"title": "Check for Blank line at End of File" | ||
}] | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "node ./node_modules/vscode/bin/compile", | ||
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^1.6.2", | ||
"vscode": "0.10.x" | ||
} | ||
} | ||
], | ||
"main": "./out/src/extension", | ||
"contributes": { | ||
"commands": [ | ||
{ | ||
"command": "extension.checkBlankLine", | ||
"title": "Check for Blank line at End of File" | ||
} | ||
] | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "node ./node_modules/vscode/bin/compile", | ||
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^1.6.2", | ||
"vscode": "0.10.x" | ||
} | ||
} |