diff --git a/CHANGELOG.md b/CHANGELOG.md index 91688f6..cf47fde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0 Stable Release + +Added +- `!dxl` [Pull](https://github.com/RobloxArchiver/dx9lua/pull/1) + # 0.1.2 Stable Release Added diff --git a/README.md b/README.md index 7777eb2..5952eb4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This VSCode extension adds snippets for DX9WARE Lua. Currently has support for a Here is a horrible demo as I do not know what to demo! If anyone would like to contribute a good demo please go ahead! -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/demo.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835313708564530/demo.gif) Created and Maintained by RobloxArchiver. The git is OPEN to contributions! In the event you find a issue or get errors, make a Issue! If you want to add code of course make a pull whenever! @@ -14,7 +14,7 @@ There are multiple ways to get `dx9lua`. Pick your own flavor! `dx9lua` is available on the VSCode Marketplace! -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/vsc_download.png) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835315361140826/vsc_download.png) ## GitHub releases @@ -22,11 +22,11 @@ A prebuild binary can be downloaded from GitHub Releases! Step 1: Download the latest build from the GitHub repository. -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/github_release_installation_1.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835314283196558/github_release_installation_1.gif) Step 2: Open VSCode and go to the Extenstions tab. Click the 3 dots and click `install from .vsix`. Go to your downloads folder and double click the binary you just installed. -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/github_release_installation_2.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835314576793620/github_release_installation_2.gif) ## Build You can also just build it yourself. @@ -37,19 +37,19 @@ Requirements Step 1: Go to the GitHub repository, and click on the green `Code` dropdown button and click `Download ZIP`. -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/build_installation_1.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835312248959046/build_installation_1.gif) Step 2: Extract it to Desktop. -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/build_installation_2.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835312571916288/build_installation_2.gif) Step 3: Open the folder, and run `cmd` and then run `vsce package`. -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/build_installation_3.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835312865525820/build_installation_3.gif) Step 4: Copy the path of the folder you made the build in and open VSCode. Go to the Extensions tab and click the 3 dots, then click `install from .vsix`. Paste in the path you copied, and open the build file. Now dx9lua should now be installed and ready for use! -![](https://github.com/RobloxArchiver/dx9lua/blob/main/images/build_installation_4.gif) +![](https://cdn.discordapp.com/attachments/1000834839265681448/1000835313394003988/build_installation_4.gif) # Contributors diff --git a/snippets/snippets.code-snippets b/snippets/snippets.code-snippets index 5b5ff39..2cf6b3a 100644 --- a/snippets/snippets.code-snippets +++ b/snippets/snippets.code-snippets @@ -1,4 +1,11 @@ { + "!!!TEST": { + "prefix": "!!!TEST", + "body": [ + "-- THIS IS FOR TESTING!" + ], + "description": "Testing Function for dx9lua." + }, "dx9.FindFirstChild": { "prefix": "dx9.FindFirstChild", "body": [ @@ -308,7 +315,34 @@ "!dxui": { "prefix": "!dxui", "body": [ - "loadstring(dx9.Get(\"https://raw.githubusercontent.com/soupg/DXLibUI/main/main.lua\"))()" + "local ${1:lib} = loadstring(dx9.Get(\"https://raw.githubusercontent.com/soupg/DXLibUI/main/main.lua\"))()" + ] + }, + "dxui.SetWatermarkVisibility": { + "prefix": "dxui:SetWatermarkVisibility", + "body": [ + "${1:lib}:SetWatermarkVisibility(${2:bool})" + ] + }, + "dxui:SetWatermark": { + "prefix": "dxui:SetWatermark", + "body": [ + "${1:lib}:SetWatermark(${1:text}, {Location = ${2:x}, ${3:y}})" ] + }, + "dxui:Notify": { + "prefix": "dxui:Notify", + "body": [ + "${1:lib}:Notify(${2:Notification_Message}, ${2:duration})" + ] + }, + "dxui:CreateWindow": { + "prefix": "dxui:CreateWindow", + "body": [ + "${1:lib}:CreateWindow(${2:WindowTitle})" + ] + }, + "dxui:AddTab": { + "prefix": "dxui:AddTab" } }