Sleitnick / AeroGameFramework-VSCE

Visual Studio Code extension for AeroGameFramework

Home Page:https://marketplace.visualstudio.com/items?itemName=aerogameframework-vsce.aerogameframework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AeroGameFramework VS Code Extension

The official VS Code extension for the AeroGameFramework.

Usage

Getting Started

Be sure to install Rojo, which will sync source files into Roblox Studio.

Create new project

  1. Create a new directory for your source files to live
  2. Open the directory in VS Code
  3. From the command panel (Ctrl+Shift+P), run AeroGameFramework: Init
  4. If using the Rojo VS Code extension, restart Visual Studio Code
  5. Start Rojo and run the Rojo plugin within Roblox Studio

Creating new source files (Services, Controllers, and Modules)

  1. Right-click within the Explorer and click on AeroGameFramework: Create from the context menu.
  2. Select whether the source file should exist within the Server, Client, or Shared
  3. Select the source type (e.g. Service, Controller, or Module)
  4. Type in the name & press Enter

Directory Structure

  • src: Where all the source files live.
    • Client: All the client-side code.
      • Controllers: Client-side singleton controllers.
      • Modules: Lazy-loaded plain modules.
    • Server: All the server-side code.
      • Services: Server-side singleton services.
      • Modules: Lazy-loaded plain modules.
    • Shared: Lazy-loaded plain modules shared between the client and server.
    • _framework: Internal AeroGameFramework source files. Hidden in VS Code.

Note: The rojo.json file is specifically configured to work with the directory structure described above. Changing the structure may break Rojo from properly syncing changes into Roblox Studio.

Features

  • Create new AeroGameFramework projects
  • Generates boilerplate code for framework services, controllers, and modules
  • Includes Rojo configuration file for quick synchronization with Roblox Studio
  • Includes Selene configuration file

Requirements

Required:

Recommended:

Acknowledgements

Known Issues

  • No issues reported

About

Visual Studio Code extension for AeroGameFramework

https://marketplace.visualstudio.com/items?itemName=aerogameframework-vsce.aerogameframework

License:MIT License


Languages

Language:TypeScript 96.2%Language:JavaScript 3.8%