Skip to content

Commit d7f999e

Browse files
authored
Update README.md
1 parent b5bab58 commit d7f999e

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,33 @@ Lua header is a valid lua files, which have all functions and variables that was
1717

1818
# How to use it in any editor
1919
1)Install EmmyLua plugin. If editor have it.
20+
2021
2)Download zip file with defold api from [releases](https://github.com/d954mas/IntelliJ-Defold-Api/releases).
22+
2123
3)Extract zip file somewhere in your project. For example in headers folder.
2224

2325
# How to use it in IntelliJ
2426
1)Install lua plugin. EmmyLua https://plugins.jetbrains.com/plugin/9768-emmylua
27+
2528
2)Edit file associations. Press ctrl + shift + a. Then enter command Edit file associations. To lua language add .*script .*render_script .*gui_script.
29+
2630
3)Download zip file with defold api from [releases](https://github.com/d954mas/IntelliJ-Defold-Api/releases).
31+
2732
4)Add library to your project.(or you can extract zip file somewhere in your project)
33+
2834
File/Project structure/libraries/lua zip library.
2935

3036
![2019-01-22_10-13-33](https://user-images.githubusercontent.com/2655263/51518291-7e6e5680-1e2e-11e9-81ad-9988cf9918ae.png)
3137

3238

3339
# How to generate headers.
3440

35-
1)Download jar from [releases](https://github.com/d954mas/IntelliJ-Defold-Api/releases)
41+
1)Clone repository
3642

37-
2)Run it. It will create a folder DefoldDocs
43+
2)Run main method from Main.java
44+
-it will download json docs and create lua files with api headers
3845

39-
3)Compress DefoldDocs/api to zip
46+
3)Compress DefoldDocs/api to zip. [OPTIONAL]
4047

4148

4249
# Example

0 commit comments

Comments
 (0)