Coddie is a VS Code extension that helps developers by providing code snippets for various programming languages, including Java, React, Node.js, TypeScript, and Angular. You can easily insert common code templates by typing predefined keywords, making your coding faster and more efficient.
Features
Code Snippets: Get pre-defined code snippets for different languages (Java, React, Node.js, TypeScript, Angular).
Simple Keyword Expansion: Type a short keyword (e.g., @controller) and let Coddie expand it into a full code snippet.
Language Support: Supports Java, React (JSX/TSX), Node.js, TypeScript, Angular, and more.
Installation
To install Coddie:
Open VS Code.
Go to the Extensions view by pressing Ctrl+Shift+X.
Search for Coddie or install from a .vsix file.
Click Install.
Alternatively, you can install the extension from a .vsix file by following these steps:
Download the .vsix file from the repository or other sources.
In VS Code, go to the Extensions view and click on the ellipsis (...).
Select Install from VSIX and choose the .vsix file.
Usage
After installation, use Coddie by typing the following keywords in the editor:
Java
@controller: Expands to a basic Java Spring @Controller class template.
@RestController: Expands to a basic Java Spring @RestController class template.
React
@functionComponent: Expands to a basic React functional component template.
@useEffect: Expands to a basic useEffect hook template.
Node.js
@expressServer: Expands to a basic Express server template.
@route: Expands to a basic Express route handler.
TypeScript
@interface: Expands to a TypeScript interface template.
@class: Expands to a TypeScript class template.
Angular
@component: Expands to an Angular component template.
@service: Expands to an Angular service template.
Contributing
We welcome contributions to improve Coddie! To get started:
Fork the repository.
Create a branch for your feature or fix.
Make your changes and commit them.
Push your changes to your fork and create a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.