Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Lexers for Fortran (77)

<< < (3/3)

MortenMacFly:

--- Quote from: thomas on August 19, 2005, 01:35:02 pm ---This is hardcoded (unluckily). [...]
please make a patch upload it to sourceforge.

--- End quote ---
Thanks for the hint. I'll give it a try and I'm quite sure it works. However - submitting a patch might not be a good idea. I believe this is clearely something to be generally thought of. I mean: Setting up (new) compilers is greatly modularised ind Code::Blocks. So should be for the file-extension. Another example: Some of my collegures using the ".c++" and ".h++" extension for their files so they are lost similary even if it's clearly a C++ domain. Why not making extension be generally freely defined? Maybe one could use the lexers (there are the extension provided anyway) to build ftSource and ftHeader...?!

I am going to post this a s a feature request for further discussion (with main developers of course).

How about that?!

Morten.

terje_a:
... after several hours of building, rebuilding, then rebuilding again the 2.6.2 wxWidget libraries, then eventually successfully building C::B from a CVS download I fetched the middle of last week...   

... alas, a development version of C::B complete with Fortran lexers... 

Very nicely done!!!

(I am not sure if I'll be able to duplicate again after my next CVS download, but hey, I'm willing to give it a try)

Now, there are a few more things I would like to see happen - for instance - the file properties should have sticky check boxes for compile and link...  Currently need to reselect them every time I reload the project...  not too much of a problem with one or two source files, but a major issue with more than that.  The other is probably an item to add to the enhancement request list - the ability to select multiple files in a project folder and modify properties for all selected files.  Use 3-state checkbox with gray to indicate setting not consistent across all selected files (similar to VC++ and possibly other IDEs)

Being a highly inexperienced C++ programmer - I am not sure what success I would have delving into to code to make the change - but then again, what were nights and weekends made for if not for playing software engineer...

[I plan to provide feedback for Fortran as well as mixed C/C++ and Fortran code as time goes on].

I am using the compilers from MinGW + MSYS and Cygwin for my unix shell on the Windows desktop...  Most of the Fortran code I will be working with is legacy IBM 360 mainframe and HP/SGI unix code.

C::B is very slick!

Keep up the great work!

terje

Navigation

[0] Message Index

[*] Previous page

Go to full version