Did you try naming the file with the normal extension of ".c" or ".cpp"?

Edit: Many IDEs use the file extension to decide how to treat the file.
The GUI image shows a file with no file extension...