Code::Blocks

User forums => Using Code::Blocks => Topic started by: sospel on May 21, 2013, 02:50:44 pm

Title: parsing on fortran comments lines ?
Post by: sospel 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
Title: Re: parsing on fortran comments lines ?
Post by: MortenMacFly 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?
Title: Re: parsing on fortran comments lines ?
Post by: Alpha 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?
Title: Re: parsing on fortran comments lines ?
Post by: sospel 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
Title: Re: parsing on fortran comments lines ?
Post by: oBFusCATed 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.
Title: Re: parsing on fortran comments lines ?
Post by: MortenMacFly 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.)
Title: Re: parsing on fortran comments lines ?
Post by: Alpha 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 (http://wiki.codeblocks.org/index.php?title=SpellChecker_plugin#Dictionaries)).  Or disable the SpellChecker plugin.
Title: Re: parsing on fortran comments lines ?
Post by: sospel 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  :)