- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am using Visual Studio 2015 and Visual Fortran Compiler 17. My fortran files have .for extension and extended fixed form format (i.e. 132 characters width).
Everything seems to be working fine except my Text Editor coloring. It is automatically set up for standard fixed form width, so all the code to the right from Character 73 has the same coloring as comments.
Please, give me a suggestion how to improve coloring scheme in VS Studio 2015 for 132-character width fixed form fortran files.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could not find any available setting to alter the behavior here. I am checking w/our IDE integration team if there's any functionality available for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kevin D (Intel) wrote:
I could not find any available setting to alter the behavior here. I am checking w/our IDE integration team if there's any functionality available for this.
Hi Kevin,
Thank you for your reply. I found an intermediate solution for now: fixed form length can be specified in the properties of Fortran Project. So, I just created temporary project and added existing files there.
I will look forward to hearing an update about this setting for files outside of the project.
Thanks,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, you took all the air out of my bubble....I has just learned what you found. You set the Fortran Project setting: Fortran > Language > Source file Format to 132 Columns (/extend_source: 132), then close/reopen any source files under the VS IDE and ta-da! Correct coloring!
But as you note, this is not applicable to source files not yet a part of Fortran project so I'll go ask about that next. Stay tuned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, there's no solution for files outside of a Fortran project.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page