Everything was good. Today, I opened Android Studio, and every kotlin class code and even layout and value files turned into another format like XML. I don't know what kind of strange reason it is. I have been trying to fix this for 2 days now. even though I opened my files into some other editors(sublime, notepad)but the problem is still there.
I am attaching some screenshots MainActivity.kt.
I also tried these couple of things below
File > Sync project with Gradle files. Result: didn't solve my problem. File > Invalidated cache/restart. Result: didn't solve my problem.