sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
586 stars 19 forks source link

is it better/possible to add a recent simulators section #22

Closed aelam closed 4 months ago

aelam commented 4 months ago

there are so many simulators including Watch, iPhone, plus old ones from one Xcode

and actually users dont know which simulator is active I feel iOS-debug way is simple and clean do you have any idea

hyzyla commented 4 months ago

Hello! Thanks for the valuable feedback. There is definitely room for improvement for the simulators view. Here are some ideas to improve it:

  1. Remove non-iPhone/iPad simulators, like Apple Watch and Apple TV.
  2. Put recently used simulators at the top of the list.
  3. Remove unavailable runtimes.
    1. ... what else?

Could you also share how your list of devices looks in the Sweetpad extension and the iOS-debug extension for reference?

aelam commented 4 months ago

I refer to Xcode list here is the scenario.

  1. I choose a scheme. the scheme target is determined. so I know the list should only list iPhone or iPhone Simulator or generic iPhone or generic iPhone Simulator
    • same for watch scheme
  2. then choose a target

| User-Scheme | target |

the scheme drop down menu and target drop down menu might be a good solution and they should show in the UI maybe in the bottom or somewhere

Screenshot 2024-07-07 at 0 36 09
hyzyla commented 4 months ago

I've published a new version of the extension, 0.1.24, which includes a "Recent" section. Inside this section, destinations are sorted by usage frequency

CleanShot 2024-07-21 at 17 25 48@2x