Facepunch / sbox-issues

177 stars 12 forks source link

s&box editor preferences are not saving #5857

Closed matekdev closed 4 months ago

matekdev commented 4 months ago

Describe the bug

When I change my code editor to Visual Studio Code, it does not remember this option on the next launch of the s&box editor.

To Reproduce

  1. Change editor settings to Visual Studio Code
  2. Relaunch
  3. Notice that it changed back to Visual Studio

Expected behavior

^

Media/Files

No response

Additional context

No response

dch-GH commented 4 months ago

I believe this is also happening to the Layout too. Layout is set to the default every time I open a project.

matekdev commented 4 months ago

Have the changes been pushed yet? I'm still encountering this.

Gmod4phun commented 4 months ago

Has been fixed since yesterday, at least for me. IDE stays the same, layout too

matekdev commented 4 months ago

Has been fixed since yesterday, at least for me. IDE stays the same, layout too

  1. I launch up the s&box game editor
  2. Click preferences, change it to Visual Studio Code
  3. Close the entire editor
  4. It does not save

I'm on staging and tested it this morning. Anyone else also experiencing this?

badandbest commented 4 months ago

I'm still experiencing this.

solwllms commented 4 months ago

@badandbest @matekdev The change is in yeah, must be something else going on here breaking it for you guys. I'll have another look to see if there's a different issue causing this I can repro.

Few things if you wouldn't mind:

badandbest commented 4 months ago

I'll check these right now and get back to you

badandbest commented 4 months ago

https://github.com/user-attachments/assets/baa5950f-dc1c-461a-ba64-9177b2afa69e

solwllms commented 4 months ago

Cheers for the info, looks like my cockup.

I've pushed a fix which should be live now if you can give this another whirl

badandbest commented 4 months ago

It works now. Thanks a million. This issue was bugging me a lot.

matekdev commented 4 months ago

thank you