Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Code completion for Burp Jython extensions

The IntelliJ Python plugin supports code completion and this can recognize the Burp API. First, make sure your project has the SDK set to Jython:


Then, add the Burp API as a library:


To get function parameters to provide code completion, you need to add type hinting:


If you encounter difficulty, the cache may have become corrupted. Try invalidating the cache and restarting.


Copy link

parsiya commented Nov 8, 2019

Thanks. It works. Is there a way to use Python2 type hints instead?

from burp import IBurpExtender, IBurpExtenderCallbacks

class BurpExtender(IBurpExtender):

    def registerExtenderCallbacks(self, callbacks):
        # type: (IBurpExtenderCallbacks) -> None


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment