Extend Python Plugin

Hi, I am a student, and as a project I'd like to extend type checking support for Django in the python plugin for professional edition. I wonder if anyone could tell me where to start. What I have done using the plugin API, in order to get django tag nodes, is:

Project project = (Project) event.getDataContext().getData(DataConstants.PROJECT);
VirtualFile file = (VirtualFile) event.getDataContext().getData(DataConstants.VIRTUAL_FILE);
PsiFile psiFile = PsiManager.getInstance(project).findFile(file);
FileASTNode node = psiFile.getNode();

But I don't know if I have to start coding by myself from here, or there is an already coded way to visit the nodes and get the information.

Any help will be very appreciated.

Thanks in advance,

Joffre

Please sign in to leave a comment.