Once I by mistake associated my file called `fresh_desk_sync.rb` to `text` type. Then what happened is my file is no more considered as `ruby` file. No code highlighting and auto suggestions.
I finally figured out how to get rid of this..
The file “fresh_desk_sync.rb” being a “ruby” file not taking any code-highlighting. just behaving as a simple text file
Needed to create a new trivial/random file without any extension
Type the name of the ruby file in “File Pattern” field and select “Ruby” in File Types
Then problem is solved