Wiki

Clone wiki

Lua For IDEA / Setting_Up_Custom_Libraries

Setting Up Custom Libraries

Custom libraries allow you to resolve references to code outside of your project.

As an example we will use the FrameXML code from World of Warcraft as an example.

To create a custom library for FrameXML:

  1. File|Project Structure
  2. Global Libraries (click the node)
  3. Create a new global library (click the "+")
  4. In the name field type "FrameXML"
  5. Click "Attach Classes", and then point to your FrameXML directory.
  6. Click OK and you should be good to go.

Note: You might want to File|Clear Caches if you have any trouble.

Updated