- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
Ссылка скопирована
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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

- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати