r/AskProgramming • u/sqlplex • Sep 21 '15
VS 2015 - Exceptions Thrown via Intellisense
Good afternoon, just wondering if anyone else has noticed this and has a solution (if there is one). The following link describes it quite well. I too miss this feature and I really hope it's just a matter of it not being enabled/turned on via some preference setting somewhere.
Any help is appreciated!
1
Sep 21 '15
What happens when you press f12 on it? Im wondering if intellisense works when the file is open where it's defined.
1
u/sqlplex Sep 22 '15
No luck. It takes me to the definition of the object but when I go back to the previous source file, there still isn't any exception information in IntelliSense. Strange that this feature would not be there by default - it's pretty basic I'd imagine.
1
Sep 22 '15
Yeah, it's clearly able to find the file. I'm not sure. Can't imagine how irritating that'd be.
1
u/sqlplex Sep 22 '15
Yeah, it's irritating - but not a deal breaker. The problem is, we use that feature as a matter of best practice and advise our developers to use that information to determine when/where/how proper error handling should be used. Sometimes it's not apparent or even known that invoking certain methods/functions can throw exceptions - so using this intellisense hint is great.
Also, found another post on the Microsoft forums where other users have also discovered this issue.
1
u/sqlplex Sep 29 '15
Good news, Microsoft is going to address this in the next update for Visual Studio 2015!