rojo-rbx / rojo

Rojo enables Roblox developers to use professional-grade software engineering tools
https://rojo.space
Mozilla Public License 2.0
906 stars 170 forks source link

Omit `.project.json` when searching for a project file #895

Open AridAjd opened 3 months ago

AridAjd commented 3 months ago

is it possible that we do rojo [command] anotherFile instead of rojo [command] anotherFile.project.json? Typing out .project.json is longer. Plus, it'd make development faster by not wasting the time on typing.

Dekkonot commented 3 months ago

I don't see a compelling reason to not do this, provided we default to checking for anotherFile before checking for anotherFile.project.json.

AridAjd commented 3 months ago

I don't see a compelling reason to not do this, provided we default to checking for anotherFile before checking for anotherFile.project.json.

Imo, the file should still be named anotherFile.project.json but it'd first check if there's a project file with the name provided. If there is, it'll just continue doing the other activities.

Dekkonot commented 3 months ago

Sorry, that is actually what I meant I just mixed up the order of them! That's on me, haha.

EDIT: No nevermind I actually just misread your message. No, I think checking for the exact name is the only backwards compatible behavior.