stride3d / stride3d/stride

Add clean button to gamestudio

Open
#2,655 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Is your feature request related to a problem? Please describe.
It would be very helpful to have the ability to clean the bin and obj folders of a project through GameStudio.

thought of from https://discord.com/channels/500285081265635328/740163288746426368/1344096363046113341 where someone couldnt get their rename to be noticed without manually deleting the folders.

Describe the solution you'd like

  1. Add a button next to the build and run buttons that would be "clean"
  2. when that button is pressed run dotnet clean on the solution
  3. (optional due to possible larger impact) delete built stride assets from those folders that dotnet clean may miss.

Describe alternatives you've considered
alternatives

  1. You can do this if you have VS2022 open with the clean option and the Stride extension.
  2. Manually go into the entry point project and delete the /bin and /obj folders then reload the editor
  3. run dotnet clean some other way (Im not 100% sure if this cleans intermediate assets)

This should make using GameStudio a bit more user friendly for people who dont always have an IDE open.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating GameStudio's existing build and run buttons and the solution build entry point. Determine where a clean action can invoke dotnet clean, then verify that the bin and obj folders and any built Stride assets are handled as intended; done means the new button cleans the project from GameStudio.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.