Author Topic: Fortran syntax Highlighting  (Read 7399 times)

Offline asd34

  • Multiple posting newcomer
  • *
  • Posts: 27
Fortran syntax Highlighting
« on: November 28, 2012, 05:58:54 am »
Dear all,

I've installed the MinGW and CB correctly I can run the Fortran type projects, but it seems that editor is not aware of the Fortran syntax.  Everything looks like as in a plain text. How can I fix that manually ?

Regards,

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Fortran syntax Highlighting
« Reply #1 on: November 28, 2012, 11:25:40 am »
I've installed the MinGW and CB correctly I can run the Fortran type projects, but it seems that editor is not aware of the Fortran syntax.  Everything looks like as in a plain text. How can I fix that manually ?
Well if you didn't install the Fortran lexer that will be the reason. Verify the Fortran lexer is installed.
Then, if you didn't follow the common file extension policies for Fortran, that might be another reason - if so, wither follow the standard or adopt it in the lexer settings for Fortran.
Finally, you can apply any highlighting-settings via Edit -> Highlight mode.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ