Skip to content

frappe/intellisense

Repository files navigation

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

About

VSCode Extension and Language Server for Frappe Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published