I cannot edit my code

when I open my code it opens the text in google but I cannot edit the code

Hi, go to Edit > Preferences > External Tools > External Script Editor, and ensure that you enable the preferred IDE to open the script codes.