Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Formatting Fortran in Forum posts....

andrew_4619
Honored Contributor III
621 Views

Using the Fortran and /Fortran tags (in square brackets) makes code snippets infinitely more readable than posting them as normal text. I am frustrated each time by the fact that when I paste some Fortran it comes out looking a mess and offends my eyes. More specifically the treatment of spaces and carriage returns..... In the edit view you have massive line spacings and some random looking formatting and then you preview and get something totally different looking (but not correct) and then iterate a few times between the edit and preview panes....

Am I just doing it wrong?

Is there a "guide" or some top tips on making it less painful?

Are there any improvements to this in hand for the forum?

Thanks

Andrew

 

0 Kudos
3 Replies
Steven_L_Intel1
Employee
621 Views

This is still being worked on - it seems to depend on where you are pasting from.

0 Kudos
andrew_4619
Honored Contributor III
621 Views

What is the 'best' thing to paste from BTW?

0 Kudos
Steven_L_Intel1
Employee
621 Views

Notepad, I would say, though I've pasted from Visual Studio without issues. I don't quite have a handle on what works and what doesn't.

0 Kudos
Reply