vulcan-dev / teardown-snippets

Teardown API snippets for Visual Studio Code
MIT License
8 stars 0 forks source link
api-documentation snippets teardown teardowngame visual-studio-code vscode vscode-extension vscode-snippets

Teardown API Snippet

deepcode GitHub license Maintenance

Badge for version for Visual Studio Code extension naereen.makefiles-support-for-vscode Badge for version for Visual Studio Code extension naereen.makefiles-support-for-vscode Badge for rating for Visual Studio Code extension naereen.makefiles-support-for-vscode

Repository for my Visual Studio Extension

Teardown-API Snippets

Teardown API Snippets (https://teardowngame.com/modding/api.html)

Example

Example

1.0.0

Initial release

Release 1.0.1

Release 1.0.2

Release 1.0.3

Release 1.0.4

Release 1.0.5

Params Params

Release 1.0.6

1.0.6 1.0.6

Release 1.3.6

Release 1.3.7

Release 1.3.8

Other

I did try doing this for Sublime Text 3 but it doesn't allow multiline descriptions so I don't see the point because you'll have to go to the teardown website (I made this so you don't have to do that)

Installation

[1] Run the code from api.js on this website
[2] Copy the object from the return result
[3] Paste that inside of data.json inside of src/
[4] Run : python fix-json.py
[5] This will create an output.json file in the src/ directory. From there you can do what you'd like

Thanks to Thomasims for helping with the scraping part with JS
Thanks to Cammy for helping me make an automated JSON fixer so I can parse the JSON