intellisense
intellisense copied to clipboard
VSCode Extension and Language Server for Frappe Framework
Frappe Framework Intellisense
This project contains a Language Server and a VSCode Client to enable intellisense in Frappe projects.
Installation
-
Make sure your
frappe-bench
directory is on Python 3.cd frappe-bench ./env/bin/python --version Python 3.7.7
-
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.
Translation string diagnostics
Incorrect usage of translation strings will be highlighted in red and reported as error.
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.
License MIT