Is there any extension for VS2013 to make it possible to organize CSS files and collapse and expand some sections of .css files?
3 Answers
Ctrl+M, Ctrl+L (press in order) will toggle the sections
-
2Frustrating this isn't the same as the Code window/editor shortcut:
CTRL M + O
(Collapse to Definitions) Commented Jan 14, 2015 at 15:18 -
After years working with nested scss, I finally found this! Changed my life.– DPacCommented May 19, 2016 at 16:20
You can change the shortcuts under Tools/Options/Environment/Keyboard. Here is a description: https://msdn.microsoft.com/en-us/library/5zwses53.aspx?f=255&MSPPError=-2147217396#Anchor_1
-
1Welcome to Stack Overflow! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Commented Jan 29, 2016 at 15:02
This worked for me (visual studio 2010):
- Select lines you want to collapse
- Press Ctrl+M and Ctrl+H (in order)
https://msdn.microsoft.com/library/td6a5x4s%28v=vs.100%29.aspx