Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Assembly LUA HelpersNew to Visual Studio Code? Get it now.
Assembly LUA Helpers

Assembly LUA Helpers

ASSEMBLY LUA

|
4 installs
| (0) | Free
Support for custom Lua API with autocompletion and documentation
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Assembly LUA Helpers

A Visual Studio Code extension that provides comprehensive IntelliSense support for the Assembly Lua API. This extension enhances your development experience with autocompletions, documentation, and snippets.

Features

  • Intelligent Code Completion for all Assembly Lua API functions
  • Detailed Documentation available on hover
  • Parameter Information while typing function calls
  • Organized by Categories:
    • UI Elements (checkbox, button, slider, etc.)
    • Global Functions
    • Camera Controls
    • Game Instances
    • Entity Cache System
    • Rendering Functions
    • JSON Handling
    • Math Operations (Vector2, Vector3, Matrix3)
    • Utility Functions
    • HTTP Requests
    • Event System
    • Input Management

Usage

This extension activates automatically when editing Lua files. Simply start typing to see suggestions for the Assembly Lua API.

Examples

UI Elements

-- Create a checkbox
local checkbox = ui.new_checkbox("Enable Feature")
if checkbox:get() then
    -- Feature is enabled
end

-- Create a slider
local slider = ui.slider_float("Opacity", 0.5, 0.0, 1.0, "%.2f")
local value = slider:get()

Entity Cache System

-- Access cached player data
local players = entity.get_players()
for _, player in ipairs(players) do
    local name = player:Name()
    local health = player:Health()
    print(name, health)
end

Rendering

-- Render text on screen
render.text(10, 10, "Hello World", 255, 255, 255, 255, "s", 2)

-- Draw a rectangle
render.rect(100, 100, 200, 150, 255, 0, 0, 128, 5)

Utilities

-- Convert 3D world position to 2D screen coordinates
local screenPos = utils.world_to_screen(worldPosition)
print("Screen position:", screenPos.x, screenPos.y)

-- Get random numbers
local random = utils.random_int(1, 10)

HTTP Requests

-- Make a GET request
http.get("https://api.example.com/data", function(response)
    local data = json.parse(response)
    print("Received data:", data.message)
end)

Requirements

  • Visual Studio Code 1.60.0 or higher

Installation

From VSIX File

  1. Download the .vsix file
  2. Open VS Code
  3. Go to Extensions view (Ctrl+Shift+X)
  4. Click the "..." in the top-right of the Extensions view
  5. Select "Install from VSIX..."
  6. Choose the downloaded file

License

MIT


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft