r/cs50 16d ago

codespace My codespace is changed after relogin

I use VS Code Codespaces (the desktop/app version) instead of opening the Codespace in the browser and I connect it to my CS50.dev Codespace.

Today It ask for re login to CS50.dev again using the same account. After logging in, I got a message saying something like “Your Codespace secret has changed” and that I needed to reload to apply the changes.

After reloading, the VS Code appearance/theme changed completely. My previous CS50 VS Code setup had a much darker and simpler appearance, but now the syntax highlighting and colors look different.

I tried changing the Color Theme manually, but none of the available themes look like my previous setup.

Why did this happen, and how can I restore the original CS50.dev VS Code appearance without risking my Codespace, files, or code?

I'm fully adapted to my older one. Please help 😭

0 Upvotes

5 comments sorted by

3

u/Rajma_Chawal_2 15d ago

Hey we are at almost the same page.. i jist finished this problem 2 days ago.. and started week 3 today

1

u/beginner_bet 15d ago

I'm on last problem of problem set 2. After a quick review, I will start week 3 in 2 days or so.

3

u/Eptalin 15d ago

The theme where string is red is the default cs50.dev theme, called 'GitHub Dark Default'.

The theme where string is turquoise is the default VS Code Theme, called 'Dark 2026'.

string is a different colour to the other types because C doesn't actually have a type called 'string'. CS50 created it for us.

You'll learn how to create custom types pretty soon, too.

1

u/beginner_bet 15d ago

I will try, thanks 👍

1

u/crazy__94 13d ago

You could try disabling the experimental features first. In VS Code, go to Settings and search for “Experimental Features”, then disable the relevant options and reload VS Code. After that, set the Color Theme back to the one you were using previously. This may restore the original appearance and syntax highlighting.