From bbbdaab799d82bb10f05a0a69dab3bbbbad9ba45 Mon Sep 17 00:00:00 2001 From: CanIGetaPR <45294513+CanIGetaPR@users.noreply.github.com> Date: Mon, 20 Nov 2023 21:55:00 -0500 Subject: [PATCH] Add instructions for haxelib auto complete Fixes #1140 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index fa8625d3f..616444e96 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,16 @@ Here's a snippet you can use: (Thanks to @isBatak) #end ``` +Auto Complete For Haxelibs +-------------------------- +1. Navigate to File -> Project Structure -> Modules -> Dependencies +2. Click the + to Add a new Library of type Haxe. +3. Select the folder that contains the top level source packages +4. If IDEA can't determine what kind of files the chosen item contains, choose Library Classes +5. For configure choose Project Library. + +For example, to enable auto complete for OpenFl 9.3.2, the folder with the top level source packages is located at `HaxeInstallPath/haxe/lib/openfl/9,3,2/src` . + Contribute ---------- See the [contributing document](CONTRIBUTING.md).