As a Roblox developer, it is currently too hard to efficiently navigate, organize, and manipulate scripts due to the absence of certain editor features.
If this issue is addressed, it would improve my development experience because it would streamline the coding process, reduce redundant manual effort, and enhance readability and navigation within scripts.
-
Drag n’ Drop Code Snippets
- Problem: When creating custom script formats, functions, templates, etc., developers often rely on copy-pasting common pieces of code. This process is tedious and can slow down the workflow.
- Use Case: Being able to quickly access and drop commonly used sections, like the structure template below, can expedite the coding process.
— Services
— Types
— Dependencies
— Variables
— Functions
— Core
— Connections
-- [[ Script Name: New Module Template ]]
-- [[ Description: A basic outline for a new Roblox script or module ]]
-- [[ Author: YourName ]]
-- [[ Date Created: DD/MM/YYYY ]]
-- Services
local Players: Players = game:GetService("Players")
-- Constants
local MAX_HEALTH: number = 100
-- Variables
local currentPlayer = Players.LocalPlayer
-- Utility Functions
local function resetHealth(player: Player)
player.Character.Humanoid.Health = MAX_HEALTH
end
-- Main Functions
local function initialize()
-- Initialization code here
end
-- Events
currentPlayer.CharacterAdded:Connect(function(character: Model)
resetHealth(currentPlayer)
end)
-- Execution
initialize()
return {
ResetHealth = resetHealth,
}
-
Suggested Solution: A Snippet Library where developers can save and share code snippets.
-
Split View
- Problem: Developers often need to compare or edit multiple scripts simultaneously.
- Use Case: Having multiple scripts open in the same window can help in checking dependencies or making synchronous changes.
- Suggested Solution: Allow multiple scripts to be opened side-by-side, similar to Visual Studio Code, rather than just tabs.
-
Bookmarking & Tagging
- Problem: Tracing back to specific lines or sections of the code can be time-consuming.
- Use Case: While debugging, being able to quickly reference specific lines can speed up the problem-solving process.
-
Script Dependency Visualization
- Problem: Understanding the interconnectivity of scripts and modules is currently challenging.
- Use Case: When a ServerScript requires multiple ModuleScripts, visual representation can quickly convey their relationships.
-
Function Outliner
- Problem: Navigating through long scripts to find specific functions takes unnecessary time.
- Use Case: In a lengthy script with numerous functions, a sidebar listing them can speed up navigation.
-
Smart Duplicates Detection
- Problem: Accidental duplications in scripts can lead to inefficiencies and potential bugs.
- Use Case: In a large script, unintentionally copying sections can lead to redundancy. Alerts can help spot and rectify these.
-
Drag-to-Resize
- Problem: Adjusting loops, functions, or code blocks manually can be cumbersome.
- Use Case: When modifying loops to iterate more or fewer times, dragging to resize and auto-adjust can be quicker.
I hope these suggestions are taken into consideration as they could significantly boost productivity for the Roblox developer community.