I am trying to expand and collapse methods and other things on an ashx file like any other code behind file. When I do tools > options > text editor and adding ashx as an extention of visual studio c#
, everything seems ok at the beginning. I can expand and collapse the methods also see the properties and methods at the top of the file. But then I lost most of intellisense. I cant reach my userdefined objects and methods.
Similar Issues that I have found did not help me to solve this problem
Visual Studio ASP.Net expand and collapse issue in ashx generic handlers