I'm working on a custom language plugin to write Latex in Intellij IDEA. While attempting to add a feature to compile Latex to PDF, I found this http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html
documentation, but I would like to know more specific details. In particular, besides extending `BuildTargetScopeProvider`, which other classes do I need to extend? What configuration changes must I make to my `plugin.xml` file? I have tried to looking at existing custom language plugins such as the Scala plugin (https://github.com/JetBrains/intellij-scala), but learning directly from the existing code has been difficult to manage on my own, and I would appreciate any help.