# ab-code-templates README
This extension is useful for Competitive Programmers and Developers, it helps in fast code writing. You can create your own most used custom code snippet, so that you need not to rewrite or copy paste code again and again during critical times.
## Features
By using only one line of command you can easily create your own custom code snippets, in VS code which you can use again by writing its shorthands in code editors. For usage please see the Usage Section. This VS code extension supports and can create snippets for Python, C++, JavaScript, Java and HTML.
## Usages
1. First, you need to create file of any language (Python, C++, JavaScript, Java and HTML) with the name of your shorthand word you want to use in place of your code snippet.
2. Make Sure to name the file correctly with (.py , .cpp , .java , .js , .html)
![picture alt](https://firebasestorage.googleapis.com/v0/b/auth-setup-cdc76.appspot.com/o/files%2FOm7R6fUX3dTP8zM6Nyb3JqFTQOA2%2FVS%20Code%2Fsumnum.png?alt=media&token=1c5a14e1-c8c3-4298-8633-01fb14f56a58)
3. Then after writing the code (NOTE: you need not to bother the correct sequence of code, for example if you are writing snippet code for addition of two numbers in C++ you need not to write full syntax i.e. "#include< bits...." you can create only function and use it).
4. After saving the file Press `Ctrl+Shift+P` a command pallet will open where you have to write the
![picture alt](https://firebasestorage.googleapis.com/v0/b/auth-setup-cdc76.appspot.com/o/files%2FOm7R6fUX3dTP8zM6Nyb3JqFTQOA2%2FVS%20Code%2Fpallet.png?alt=media&token=fbca9c74-2912-47e9-9568-21d764fef27a)
> Create Snippet {Language_Name}
#### write in place of {Language Name}
* "cpp" for C++
* "java" for Java
* "python" for Python
* "js" for JavaScript
* "html" for HTML
5. After this a pop will rise showing the name of shorthand word for you code snippet.
![picture alt](https://firebasestorage.googleapis.com/v0/b/auth-setup-cdc76.appspot.com/o/files%2FOm7R6fUX3dTP8zM6Nyb3JqFTQOA2%2FVS%20Code%2Fsuccess.png?alt=media&token=eb27ef66-eaf6-452b-be52-d79f55541971)
6. Now relode the VS Code or close the VS Code and start again.
7. In new code editor file select the language and type
#### remember writing "!" before
> !{Name_of_your_code_snippet}
![picture alt](https://firebasestorage.googleapis.com/v0/b/auth-setup-cdc76.appspot.com/o/files%2FOm7R6fUX3dTP8zM6Nyb3JqFTQOA2%2FVS%20Code%2Fres.png?alt=media&token=40276c65-6e4e-433e-9c53-48b15b28f190)
### 1.0.0
Initial release of this extension.
-----------------------------------------------------------------------------------------------------------
# Ab-Code-Extenstion