aaron-bond / better-comments

https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
MIT License
852 stars 161 forks source link

Fortran .f90 Problem #133

Open TheLight8 opened 5 years ago

TheLight8 commented 5 years ago

Hi, FTF amazing Extension, but here I have a little problem. Basically in order to use the color scheme I have to, in order, do this, every time:

  1. Change the file style (bottom right of the screen) from Fortran90 to C#
  2. Open the extension tab from the sidebar
  3. Return to the file, the color is now loaded
  4. Change back to Fortran90

Also, it doesn't work with the default Fortran90 commenting style, I have to use a kind of hybrid from the default and C#, i.e. !* This should be red but it isn't ! //* This is red, but after all the procedure I explain Any help? Could be useful to know I have also have Modern Fortran and FORTRAN IntelliSense installed? Thanks for your help!

aaron-bond commented 5 years ago

This sounds like a bug with the Fortran language code being picked up. I'll get this sorted ASAP

AnirbanKopty commented 3 years ago

Yes, this is exactly what happened in my case as well! I realized that, we can also switch to any desired language, like Python uses # for commenting, so, following the same steps as above instead of C# to Python,

! # ? This comment is working