Skip to content
VukeFN edited this page Aug 15, 2026 · 9 revisions

Verse Auto Imports

Intelligent import management for Verse development in UEFN

Stop manually managing imports in your Verse code. This extension automatically detects missing imports, provides smart suggestions, and keeps your code organized with zero configuration.

Quick Navigation

Quick Start

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Verse Auto Imports"
  4. Click Install

Basic Usage

Just start coding! The extension works automatically:

# Type this - you'll get an error for missing import
if(MyCharacter := Player.GetFortCharacter[]){}

# Extension automatically adds: using { /Fortnite.com/Characters }
# Or shows you quick fix options to choose from!

Key Features

  • Automatic Import Detection - Detects missing imports in real-time as you code
  • Multi-Option Quick Fixes - Choose from multiple import options when VS Code finds ambiguous identifiers
  • Full Path Conversion - Convert relative imports to full path format with CodeLens
  • Module Visibility - Declare an internal module <public> from the compiler error that reports it
  • Smart Error Recognition - Enhanced pattern matching for various Verse compiler errors
  • Path Tree Caching - Fast identifier resolution with automatic cache updates
  • Zero Configuration - Works perfectly out of the box with sensible defaults
  • Import Organization - Sorts and consolidates imports with proper spacing, in an order Verse can actually resolve
  • Editor-Native Organize Imports - Shift+Alt+O and editor.codeActionsOnSave rebuild the import block in .verse files
  • Comment-Aware - Imports inside block comments stay commented out, and files keep their own line endings
  • Flexible Configuration - Customize behavior to match your coding style

Requirements

  • VS Code: 1.85.0 or newer
  • Environment: Working with .verse files in a UEFN project
  • Language Server: Epic's Verse extension, for automatic import detection

The extension contributes the verse language id itself, so its editor features — the path conversion CodeLens and save-time import spacing — work on .verse files whether or not Epic's Verse extension is installed. Automatic import detection is driven by the compiler's diagnostics, so that part still needs Epic's extension.

Contributing

Found a bug or want to contribute? We welcome issues and pull requests!

Clone this wiki locally