Require By Name (Roblox LSP Plugin)

Introduction

I made a plugin for Roblox LSP that adds linking and autocompletes for modules that are required by name.

Code_mGZO39ONWF

This is helpful if you use Roblox LSP + Rojo with a require-by-name (require("ModuleName")) scheme when requiring libraries.

Installation Instructions Here


**Usage:**

(Rojo project required)

When a string argument is passed to any function named require, it will attempt to link the most context-relevant file. Contexts include Server, Client, Shared. More details here.

10 Likes

Looks interesting! I will sure try it.