Shell script associated with c++ file

Before submitting issue, I'd like to check that it's not because of my specific setup.

So, I'd be grateful if somebody tries to reproduce the following:

  • Create file: abc
  • Fill it like this:
    #!/bin/bash
    #
    # abc def
  • Notice that "def" is highlighted differently. I.e. it thinks it's preprocessor directive.
  • If #<br> is removed and Ctrl+S, the highlighting returns to normal shell one.

 

I checked my settings in Editor / File Types / Shell Script

They are default: #~*sh*

Other file types seem not affect either...

If I put the name of file in the "File Name Patterns" from the same tab, the issue does not happen.

1

Please sign in to leave a comment.