News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

parsing on fortran comments lines ?

Started by sospel, May 21, 2013, 02:50:44 PM

Previous topic - Next topic

sospel

 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

MortenMacFly

Quote from: sospel on May 21, 2013, 02:50:44 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Alpha

The SpellChecker strikes again.

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

sospel


@  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

oBFusCATed

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!]

MortenMacFly

Quote from: sospel on May 21, 2013, 09:34:37 PM
1/  I've downloaded and installed CODE::BLOCKS version 12.11 rev 8629  ( "codeblocks-12.11mingw-setup.exe ")
So then try a nightly...

Quote from: sospel on May 21, 2013, 09:34:37 PM
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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Alpha

Quote from: sospel on May 21, 2013, 02:50:44 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.

sospel


Hello !

Thanks for all :

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

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

Sospel  :)