- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My Fortran is littered with documentation and such so I went in and used Visual Studio 2013 to hide the comments using the outlining. If I try to open the Solution with a different VS (e.g. VS 2015), the outlining is gone. What is worse, if I move the entire solution directory elsewhere, even VS 2013 loses the outlining I've spent hours putting in. I can't find anything in the Intel of VS directories that has changed in the move (maybe that'st he problem?).
Any help would be much appreciated. thanks, Bruce
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't get VS2013 to save outlining - can you show a small example and list the steps you take? Perhaps I am not understanding what you're seeing. I'm puzzled by your mention of "documentation" since the outlining support is for code blocks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll include an example but, since it will not preserve the outlining, I don't think it'll help you at all. Here is how you outline something: you highlight some section of your code; go to edit/outlining/hide selection and that section of code (or comments) will be hidden (with the usual "+..."). Now, much cleaner, readable code w/o losing critical information. For example, lines 11 - 18 in the uploaded code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got it.
Ok, the outlining information is stored in a hidden file with the file type .suo. Not only is this file version-dependent (it has the VS version number in its file name), but it also contains full paths to the files for which it is remembering this info. This is why it disappears if you open the project in a different VS version or if you copy the solution to a new folder.
This is VS behavior and not Fortran-specific.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Thanks for the clarification. I had moved the .suo file but, since it is mostly in binary, I didn't know it kept things in absolute addresses. But now I know which company's programmers to curse.
--Bruce

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page