Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Frappe ERPNext SnippetsNew to Visual Studio Code? Get it now.
Frappe ERPNext Snippets

Frappe ERPNext Snippets

ehsanjavaid

|
31 installs
| (1) | Free
Ready-to-use Frappe Framework & ERPNext code snippets for Python, JS, and Jinja.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Frappe ERPNext Snippets

A Visual Studio Code extension that provides handy code snippets for faster development with Frappe Framework and ERPNext.
Boost your productivity by quickly inserting common patterns, API calls, hooks, and other frequently used code blocks in your Frappe/ERPNext apps.

✨ Features

  • Prebuilt Frappe Snippets – Commands, DocTypes, API calls, and server scripts.
  • ERPNext Utilities – Frequently used business logic patterns.
  • Custom Hooks Templates – Quickly scaffold hooks.py entries.
  • Python, JavaScript, and Jinja Support – Context-aware snippets for multiple languages used in ERPNext apps.

📦 Installation

You can install this extension from the Visual Studio Marketplace.

From VS Code:

  1. Open Extensions sidebar (Ctrl+Shift+X / Cmd+Shift+X on Mac).
  2. Search for Frappe ERPNext Snippets.
  3. Click Install.

From Command Line:

code --install-extension FrappeERPnextSnippets.frappe-erpnext-snippets

🚀 Usage

Open a .py, .js, or .html/.jinja file in VS Code.

Start typing the snippet prefix (e.g., frappe.get_doc, frappe.call) to trigger IntelliSense.

Press Tab or Enter to insert the snippet.

Example(Python)

🛠 Development

If you want to modify or add new snippets:

1. Clone this repo:
git clone https://github.com/ehsanjavaid/frappe-erpnext-snippets.git

2. Open in VS Code
3. Edit snippets/frappe.json to add/update snippets.
4. Build the .vsix file:
vsce package

🤝 Contributing

Pull requests are welcome!
If you’d like to improve or add new snippets:

Fork the repo

Create a new branch

Submit a PR

📬 Author

Developed by Ahsan Javaid
For questions or suggestions, feel free to open an issue.


---

If you want, I can also help you add badges, links, or improve the wording! Would you like me to?
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft