Skip to content

Conversation

@HardCodeDev777
Copy link
Contributor

@HardCodeDev777 HardCodeDev777 commented Jan 25, 2026

Implementation of #15

This PR also contains fix for #32, It wasn't intentional, I'm also figuring out how PRs on GitHub works😅
EDIT: Fixed it.

Copy link
Owner

@chrisyarbrough chrisyarbrough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, works like a charm!

I have projects with this setup, for example:

-logFile SomeCustom/Path/Editor.log -cacheServerEnableDownload false -cacheServerEnableUpload false

Please fix the minor formatting issues. Maybe it works to apply the suggestions from the GitHub UI, if not, please fix locally. Thank you! (Or I will when merging, but I thought it makes sense to pass on the feedback.)


ProjectInfo project = Project.Parse(searchPath);

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Remove extraneous tabs.

[Description("Open only the code editor without launching Unity")]
public bool OnlyCodeEditor { get; init; }


Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Remove extra line.

{
return string.Empty;
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Remove extra line.

AnsiConsole.MarkupLine($"[cyan]{message}...[/]");
}
}
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove newline at end of file. I wish I could just add this as a suggestion, but I guess removal of newline doesn't work.

Comment on lines +89 to +90
// If you remove args from project in Unity Hub, this field still will exist but now with empty value,
// so we can't guarantee that it has value and we need to check
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// If you remove args from project in Unity Hub, this field still will exist but now with empty value,
// so we can't guarantee that it has value and we need to check
// The cliArgs field persists even when arguments are removed from a project in Unity Hub,
// but will contain an empty value. Validation is required before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants