This Visual Studio Code extension provides useful Frappe framework snippets for both JavaScript and Python. These snippets will help speed up your development process when working with Frappe applications.
Features
The extension includes the following snippets:
JavaScript Snippets:
custom_button_frappe: A quick snippet to add code of add custom button.
frappe_call: Easily call a backend method with frappe.call.
Python Snippets:
@: make Method whitelisted.
frappe_set_value: Set a value in Frappe using frappe.db.set_value.
How to Use
Install the extension.
Start typing the snippet trigger (e.g., frappe.call) and select the snippet from the suggestion list.