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.
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
mainin an object namedobj_ashould be associated toobj_a/main.luau. This prevents scripts from different objects (e.g., a second instance with the same script namedany/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.