Outlining not working in SSMS 18.x

%3CLINGO-SUB%20id%3D%22lingo-sub-2752496%22%20slang%3D%22en-US%22%3EOutlining%20not%20working%20in%20SSMS%2018.x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2752496%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20SSMS%2018.x%2C%20the%20outlining%20feature%20that%20allows%20you%20to%20collapse%20SQL%20code%20often%20stops%20working%2C%20i.e.%20the%26nbsp%3B%2B%2F-%20next%20to%20the%20code%20disappears%20and%20neither%20shortcuts%20or%20clicking%20in%20the%20menu%20will%20collapse%20code.%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20uncheck%20outline%20statements%20in%20the%20option%20under%20intellisense%20and%20then%20recheck%20it%2C%20but%20that%20makes%20no%20difference.%3C%2FP%3E%3CP%3EClosing%20SSMS%20and%20restarting%20sometimes%20helps%2C%20but%20after%20a%20while%20I'm%20back%20to%20the%20same%20problem.%3C%2FP%3E%3CP%3EI%20have%20never%20had%20this%20issue%20in%20SSMS%2017.x%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20else%20have%20this%20problem%2C%20and%20how%20do%20you%20solve%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

In SSMS 18.x, the outlining feature that allows you to collapse SQL code often stops working, i.e. the +/- next to the code disappears and neither shortcuts or clicking in the menu will collapse code.

I have tried to uncheck outline statements in the option under intellisense and then recheck it, but that makes no difference.

Closing SSMS and restarting sometimes helps, but after a while I'm back to the same problem.

I have never had this issue in SSMS 17.x

 

Does anyone else have this problem, and how do you solve it?

 

1 Reply
I'm having this problem as well, in version 18.10 (15.0.18390.0), with SQLPrompt installed. Reopening SSMS doesn't help. Occasionally, one level of outlining will appear at the start of a stored proc script. Once the outlining submenu disappeared from the Edit menu.

I've tried altering most of the settings associated with outlining, but nothing has helped.

This is a very useful feature, and I'd really like to be able to use it.