This is a feature of VS 2008 (not MVC framework)...you can check out the how (basically xml doc inside the function (versus outside the method for normal c# method))
Yes, I see that much is really great. But what about inside c# helper functions? The tag ids would be super to have available to intellisense
and if possible affectable by refactoring tools. Same would go for the javascript methods inside the helpers.
One option I suppose is to have a view engine to build the script files somehow based off a c# class and also keep some sort of collection of pages and their ids.
jwkygov
Member
31 Points
43 Posts
javascript, intellisense and the view engines
Oct 28, 2008 09:25 PM|LINK
Has anyone out there found a solution to the issue where you could have intellisense inside your .aspx/.ascx page
able to see your javascript functions and/or global vars? And possibly vice versa? Being able to see id's and whatnot
would be awesome.
Fevir
Member
657 Points
151 Posts
Re: javascript, intellisense and the view engines
Oct 29, 2008 01:53 AM|LINK
This is a feature of VS 2008 (not MVC framework)...you can check out the how (basically xml doc inside the function (versus outside the method for normal c# method))
http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx
jwkygov
Member
31 Points
43 Posts
Re: javascript, intellisense and the view engines
Oct 29, 2008 08:54 PM|LINK
Yes, I see that much is really great. But what about inside c# helper functions? The tag ids would be super to have available to intellisense
and if possible affectable by refactoring tools. Same would go for the javascript methods inside the helpers.
One option I suppose is to have a view engine to build the script files somehow based off a c# class and also keep some sort of collection of pages and their ids.