If you want to have a peek how exactly do we provide intellisense, validation and other language features in server script blocks, have look at this patent application (20050125730). VSIP SDK provides information on interfaces that you need to implement if you want to add your own programming language to VS IDE and fully support ASP.NET development and Web projects in the Visual Studio IDE.