outlining

Outlining divs and images

岁酱吖の 提交于 2020-03-02 15:46:42
问题 I am working on my portfolio website, and I have a problem. Once I want multiple layers (you'll have to see to understand this) they line out totally different. I used the same pixel sizes for the images. Important: I can only use pixels for the divs surrounding the images and content. Because I need to use @media to make change the page for my phone, so I need to do everything else in percentages. This problem only occurs when I have an image on the left. Because I tried putting another

Outlining divs and images

一世执手 提交于 2020-03-02 15:44:09
问题 I am working on my portfolio website, and I have a problem. Once I want multiple layers (you'll have to see to understand this) they line out totally different. I used the same pixel sizes for the images. Important: I can only use pixels for the divs surrounding the images and content. Because I need to use @media to make change the page for my phone, so I need to do everything else in percentages. This problem only occurs when I have an image on the left. Because I tried putting another

Recursively expand collapsed regions in Visual Studio? (outlining)

左心房为你撑大大i 提交于 2019-12-11 03:23:09
问题 I'm using Visual Studio 2008, and it doesn't seem like once I have collapsed all the regions, I can expand ALL levels of a certain region with one click/command. Notepad++ has this functionality when you ctrl + click on a collapsed region, it recursively expands all regions within it. It's awesome. Anyone know of a plugin or macro that has this functionality? I'm using a custom language, aka not C++/C# btw thanks! 回答1: I am working with VS 2017, but I think it works the same: By default, ctrl

EnvironmentEvent macro doesn't complete

喜欢而已 提交于 2019-12-08 07:40:43
问题 I'm working in Visual Studio 2008 and I would like for Edit > Outlining > Collapse to Definitions to be run whenever I open a file. It would be nice if, after that, all regions were expanded. I tried the code that Kyralessa offered in a comment on The Problem with Code Folding, and that works very nicely as a macro that I have to run manually. I tried to expand this macro to act as an event by placing the following code in the EnvironmentEvents module in the Macro IDE: Public Sub

Visual Studio : exclude outlining from undo/redo stack

最后都变了- 提交于 2019-12-03 10:54:31
问题 There's something really annoying in Visual Studio : when I expand or collapse a method or code region, this action is pushed on the undo stack. So if I edit some code in a method, then collapse that method, and then want to undo my change, I have to undo twice : once for the collapse action, and once for the change in code. This can be VERY confusing if you expanded or collapsed several things after editing the code, the editor keeps jumping to different places and you don't know whether

Visual Studio : exclude outlining from undo/redo stack

允我心安 提交于 2019-12-03 01:21:41
There's something really annoying in Visual Studio : when I expand or collapse a method or code region, this action is pushed on the undo stack. So if I edit some code in a method, then collapse that method, and then want to undo my change, I have to undo twice : once for the collapse action, and once for the change in code. This can be VERY confusing if you expanded or collapsed several things after editing the code, the editor keeps jumping to different places and you don't know whether your changes have been undone or not... So my question is : is it possible to disable that behavior ? i.e.

Visual Studio 2013 C++ outlining / collapsing if/else/while code regions

China☆狼群 提交于 2019-11-30 21:44:03
问题 Apparently in VS13 they removed the outlining section in Option -> Text Editor -> C++ -> Formatting. Is there a way of collapsing if/while/etc statements in VS2013 C++? I know about the C# plugin and already got that, but I'm searching for a solution for a C++ enviroment. Cheers! 回答1: Answered by Hans Passant: "It is still there, Text Editor -> C++ -> View, Outline Statement Blocks" 回答2: For Visual Studio 2013, Tools -> Options -> Text Editor -> C++ -> Formatting -> Outline Statement Blocks -

Is there a way to specify outlining defaults in Visual Studio 2008 so that a file opens up with members collapsed by default?

∥☆過路亽.° 提交于 2019-11-30 15:15:26
问题 What I would like to do is have VS2008, when I open a code file, collapse all members of the classes/interfaces in the file by default (including, crucially, any XML documentation and comments). I do not want to use regions, at all. I would also like to be able to use the ctrl+m, ctrl+l chord to toggle all member outlining (for example, if everything is collapsed, I would like it to expand all of the members, but not the comments or XML documentation). Possible? How? 回答1: Yes to part 1.

Is there a way to specify outlining defaults in Visual Studio 2008 so that a file opens up with members collapsed by default?

强颜欢笑 提交于 2019-11-30 13:59:13
What I would like to do is have VS2008, when I open a code file, collapse all members of the classes/interfaces in the file by default (including, crucially, any XML documentation and comments). I do not want to use regions, at all. I would also like to be able to use the ctrl+m, ctrl+l chord to toggle all member outlining (for example, if everything is collapsed, I would like it to expand all of the members, but not the comments or XML documentation). Possible? How? Yes to part 1. Unsure about part 2. To have VS2008 automatically open files in a Collapsed state you'll need to create an addin

How to permanently disable region-folding in Visual Studio 2008

痞子三分冷 提交于 2019-11-28 03:07:29
Anyone know how to turn off code folding in visual studio 2008? Some of my colleagues love it, but I personally always want to see all the code, and never want code folded out of sight. I'd like a setting that means my copy of Visual Studio never folds #regions or function bodies. Greg Edit: I recommend this other answer Go to the Tools->Options menu. Go to Text Editor->C#->Advanced. Uncheck "Enter outlining mode when files open". That will disable all outlining, including regions, for all c# code files. The accepted answer turns off ALL code folding. If you want to disable #region folding but