Author Topic: parsing on fortran comments lines ?  (Read 15028 times)

Offline sospel

  • Multiple posting newcomer
  • *
  • Posts: 10
parsing on fortran comments lines ?
« on: May 21, 2013, 02:50:44 pm »
 Hello !

I am a new user of "Code::Blocks" and I use it to modify some scientific programs written in FORTRAN 95. For that purpose, I took the option of compiler GNU FORTRAN and this work very nice.

But I have a (little) problem : all  words of lines put in comments after a "!" character  are underlined by a fine sinusoidal red line ! As I suspect a " parsing " problem , I tried to modify parameters in " Settings - > Editor - > Code completion " , but I always have the underlining of the words   >:(

So, is someone has a solution ?

Thank you in advance !
Cordially  ,
Sospel

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: parsing on fortran comments lines ?
« Reply #1 on: May 21, 2013, 05:36:59 pm »
So, is someone has a solution ?
First, start with posting your version information, otherwise we cannot tell anything.

Second, do you use the fortran project plugin?
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

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: parsing on fortran comments lines ?
« Reply #2 on: May 21, 2013, 09:28:32 pm »
The SpellChecker strikes again.

@devs: should we backport some of the modifications to this plugin, and release an update to 12.11?

Offline sospel

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: parsing on fortran comments lines ?
« Reply #3 on: May 21, 2013, 09:34:37 pm »

@  MortenMacFly

1/  I've downloaded and installed CODE::BLOCKS version 12.11 rev 8629  ( "codeblocks-12.11mingw-setup.exe ")

2/ I don't  use the "fortran project plugin" : I've not found this plugin in CODE::BLOCKS setup file  :(

Cordially
Sospel

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: parsing on fortran comments lines ?
« Reply #4 on: May 22, 2013, 01:07:44 am »
Alpha: I'm for a full release, but I'm not sure we all have the time to do it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: parsing on fortran comments lines ?
« Reply #5 on: May 22, 2013, 02:52:21 pm »
1/  I've downloaded and installed CODE::BLOCKS version 12.11 rev 8629  ( "codeblocks-12.11mingw-setup.exe ")
So then try a nightly...

2/ I don't  use the "fortran project plugin" : I've not found this plugin in CODE::BLOCKS setup file  :(
...or install this 3rd party plugin which will help you a lot when you develop in Fortran from here:
http://darmar.vgtu.lt/
(There is a release specific to 12/11.)
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

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: parsing on fortran comments lines ?
« Reply #6 on: May 22, 2013, 03:27:32 pm »
But I have a (little) problem : all  words of lines put in comments after a "!" character  are underlined by a fine sinusoidal red line
Sorry, I forgot to actually respond to your question.  Right click in the bottom right corner of your screen (*probably* a flag icon), and select the appropriate language (you may need to install a dictionary).  Or disable the SpellChecker plugin.

Offline sospel

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: parsing on fortran comments lines ?
« Reply #7 on: May 23, 2013, 09:57:08 am »

Hello !

Thanks for all :

- @ MortenMacFly : I'll try CodeBlocks FORTRAN on "http://darmar.vgtu.lt/"

- @  Alpha            : I'll try also yours advices  !!

Sospel  :)