Intellisense

VSCode Extension and Language Server for Frappe Framework

Install Intellisense

bench get-app https://github.com/frappe/intellisense

Tags

  • frappe-framework
  • intellisense

Add the Frappe Gems badge to your README

Maintain Intellisense? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=frappe%2Fintellisense)](https://frappegems.com/gems/apps/frappe/intellisense)

About Intellisense

Frappe Framework Intellisense

This project contains a Language Server and a VSCode Client to enable intellisense in Frappe projects.

Installation

  1. Make sure your frappe-bench directory is on Python 3.

    cd frappe-bench
    ./env/bin/python --version
    Python 3.7.7
    
  2. Install this extension from Marketplace. The extension will download the required dependencies automatically.

Features

Right now, we have only a few features but this is the starting point of many more features to come.

Document autocompletion

In DocType classes, fieldnames will be autocompleted after you type self.. For document objects created by get_doc will have fieldnames and method autocompletions.

Document Intellisense

Translation string diagnostics

Incorrect usage of translation strings will be highlighted in red and reported as error.

Translation Diagnostics

Jump to method source in patches.txt

If you command click any patch method in patches.txt you will be navigated to the patch source file.

Patches Jump to Definition


License MIT

Related Developer Tools apps for Frappe & ERPNext

  • Frappe — Low code web framework for real world applications, in Python and Javascript
  • Frappe Docker — Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
  • Builder — Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly
  • Bench — CLI to manage Multi-tenant deployments for Frappe apps
  • Frappe Ui — A set of components and utilities for rapid UI development
  • Press — Full service cloud hosting for the Frappe stack - powers Frappe Cloud
  • Gameplan — Open Source Discussions Platform for Remote Teams
  • Doppio — A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.