Skip to content

Commit e763ac1

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 54bc432 + a3dce46 commit e763ac1

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,41 @@ It will help me make more items for defold.
1111

1212
[![](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/d954mas)
1313

14+
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/d954mas)
15+
1416
# How it work
1517
This app download docs for last defold version and generate lua headers.
1618
Lua header is a valid lua files, which have all functions and variables that was described in doc.
1719

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

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

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

3240

3341
# How to generate headers.
3442

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

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

39-
3)Compress DefoldDocs/api to zip
48+
3)Compress DefoldDocs/api to zip. [OPTIONAL]
4049

4150

4251
# Example

0 commit comments

Comments
 (0)