Skip to content

Add "Strict" Mode File Association #85

Description

@MdONeilsl

Request:
Implement a 'strict' mode option. When enabled, clicking the 'Edit' button in-world should open the script file using the object's name as part of its path within VS Code.

Specifically: A script named main in an object named obj_a should be associated to obj_a/main.luau. This prevents scripts from different objects (e.g., a second instance with the same script named any/main.luau) from being incorrectly linked or overwritten.

This is important for editing already existing scripts accurately, especially when object's inventory are managed by name.

Step:
I'm in strict mode? -> yes
Is there a folder in the VS Code project with the same name as the in-world object that the script is associated with? -> yes
Do: Only scan that sub-folder in association function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions