Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
Update package.json and readme for publishing, added some files to vs…
Browse files Browse the repository at this point in the history
…codeignore
  • Loading branch information
riccardoNovaglia committed Nov 27, 2015
1 parent 087bf49 commit 6b9a4e4
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 40 deletions.
3 changes: 3 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
**/*.ts
**/tsconfig.json
!file.ts
15 changes: 5 additions & 10 deletions README.md
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 added missinglineendoffile-0.0.1.vsix
Binary file not shown.
66 changes: 36 additions & 30 deletions package.json
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"
}
}

0 comments on commit 6b9a4e4

Please sign in to comment.