Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>The Basic Menu Lib APINew to Visual Studio Code? Get it now.
The Basic Menu Lib API

The Basic Menu Lib API

OGStoner

|
2 installs
| (0) | Free
Autocomplete and snippets for 'The Basic Menu Lib' with IntelliSense support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

The Basic Menu Lib API - VS Code Extension

This VS Code extension provides autocomplete, IntelliSense, and code snippets for "The Basic Menu Lib".

📚 Full API Documentation: https://atk-1.gitbook.io/menu-api

Features

  • Autocomplete: Type _menu: / menu: / menu/ menu. to get a list of all available API functions
  • IntelliSense: Detailed function signatures and descriptions
  • Code Snippets: Pre-built templates for common menu patterns
  • Examples: Complete working examples for all menu elements

Installation

  1. Via VS Code Extensions View:

    • Open VS Code
    • Go to Extensions view (Ctrl+Shift+X)
    • Search for "The Basic Menu Lib API"
    • Click "Install"
  2. Via Command Palette:

    • Press Ctrl+Shift+P
    • Type "Extensions: Install Extensions"
    • Search for "The Basic Menu Lib API"
    • Click "Install"

The extension will automatically activate when you open a .lua file.

Usage

For complete API reference, visit: https://atk-1.gitbook.io/menu-api

Autocomplete

Type _menu: or menu: in a Lua file to see all available API functions with:

  • Function signatures
  • Parameter descriptions
  • Return value information

Type menu. to see available menu properties:

  • config_name - Set the config file name
  • _state - Access menu state properties

Type menu._state. to see state properties:

  • tabs - Define custom menu tabs
  • tab_sections - Define custom sections for each tab
  • configs - Access configuration values

Type menu._state.configs[ to see common config names.

Snippets

Use these prefixes to insert common patterns:

  • menu_setup - Complete menu setup template
  • menu_create - Basic menu creation
  • create_checkbox - Checkbox element
  • create_slider - Slider element
  • create_button - Button with callback
  • create_dropdown - Dropdown selection
  • create_color_picker - Color picker
  • create_keybind - Keybind element
  • menu_example - Complete working menu example
  • style_override - Style customization
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft