You can just have it run for N amount of seconds where N is some finite number, and it is no longer requires solving the halting problem. And that's only in functions where the return type is impossible to predict without executing it, which are probably not very common.
@Bass: It's also not perfect (aka, not all functions/members are listed). It's like an approximation, which is why it's possible.
I'll state that Visual Studio has had JScript and VBScript IntelliSense support since at least VS2003 (it's very useful when writing shell scripts). It wasn't perfect, but it did support named functions, variables, and a limited number of return values (e.g. it knew what CreateObject("Scripting.FileSystemObject") returned).
@PopeDai:Well, it did support some, but very limited (at least up to VS2010).
I do hope they can resolve link tag with Url.Content() path, though, so that I did need to add the "@if (false)" workaround to make the intellisense work for me. Very inconvenient and waste lots of storage for a large project.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.