Browse by Tags
All Tags »
JScript (
RSS)
jQuery 1.3 was released a little over a month ago. The 1.3 release adds exciting features such as selector performance improvements, "live events" where events can be bound to both current and future elements, and more. Version 1.3.2 was released a few days ago and fixes some bugs include one involving selector performance in IE. I just wanted to let everyone know that we now have VSDoc files for all of the 1.3 releases. You can download them from the jQuery Downloads page ... A refresher on how to use the file can be found here or here . Here's one of the new functions in action... Hope this helps! Jeff King Program Manager Visual Studio Web Tools Read More...
I've been reading through the 70 or so comments on our last 2 jQuery posts. There have been a lot of great questions. Apologies for not being able to answer them sooner (I was busy preparing for Dev Connections). Instead of answering them inline with the comments, I'll try to paraphrase the popular issues here and answer them centrally. 1. I have a ton of Content Pages, do I need to put script references for IntelliSense in each one? No, you do not need to repeat the script references on each content page. Visual Studio 2008 will auto-detect the presence of a master page and scan for references in that file. Thus, placing references in the master page is all you need to do. 2. I put a vsdoc reference in...
Last week I mentioned we would be releasing a Hotfix to accompany our new jQuery VSDoc file . This Hotfix is now available at the MSDN Code Gallery . Here's a direct download link for this small (2MB) patch: http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736 I want to emphasize that this patch is intended for all JavaScript files, not just those related to jQuery . Generally, we will opportunistically look for documentation files related to the script file. For example, given "mylibrary.js", we will search in the same directory for: mylibrary -vsdoc .js, then if we don't find it we will search for... mylibrary .debug .js, then if we don't find it we will search for... mylibrary.js The idea...
A while back we updated IntelliSense to not fail when referencing jQuery. However, getting IntelliSense for chained calls and rich summary/parameter hints still required adding special comments to a few thousand lines of jQuery. If you didn't have the time, you could download such a file from friendly members of the community such as James and Brennan . As part of our new partnership with jQuery , yesterday we announced the availability of the official IntelliSense documentation file. As you can see, our friends at jQuery have added a new download link for Visual Studio at http://docs.jquery.com/Downloading_jQuery#Download_jQuery . You can also download the file directly from http://code.jquery.com/jquery-1.2.6-vsdoc.js . As you might guess...
Every year we send a team to TechEds to meet you, our customers. They will be at the event site from 8.30 AM to 6.00 PM to answer your questions from June 3rd to June 6th. This time we have the following representatives at TechEd. ASP.NET Team: Kathy Carper, Scott Hunter, Simon Calvert, Clay Compton, Konst Khurin, Mark Rosenberg and Robert Boedigheimer Web Development Tools Team: Barry Tang, John Dundon, Vinaya Bhushana Gattam Reddy and Vishal Joshi So come talk to them and find out more about what our team has to offer. Also, watch out for a demo from Simon and Vishal on the Newest features in ASP.NET and Microsoft Visual Studio 2008 Web Developer . The session time and code is as mentioned below. Session code: WUX306: A Lap Around the Newest...
Colorization, validation, IntelliSense, and formatting comprise the core of any modern editor. With VS 2008 SP1, we are completing the core JScript editor by introducing code formatting. Additionally, we have promoted JScript to a dedicated node in “Tools Options” providing a clean separation from the HTML “Tools Options”. We realize many folks have been waiting for this feature and we’re excited to be able to finally provide it. We’re using “beta” period to fine tune the feature for final release. Thus, we would love to hear any feedback you have. There are two areas in particular I’d like to highlight: Correctness – It goes without saying that code integrity is of highest priority. We’ve done extensive testing to make sure nothing beyond the...
The feature I'm most excited about in Internet Explorer 8 Beta 1 is ironically one you might not notice at all. Problem If you're reading this, you probably know (and are still untangling the double-negative logic of) the "Disable script debugging" option in IE. Say you just spent 10 hours debugging script. It's time for a break. You read your favorite blog. Suddenly, you are presented with: Needless to say, you probably did not "wish to debug" the rest of the world's script... especially after a day of debugging your own. But you hesitate to uncheck the option because you know you're going to need it again tomorrow. Solution IE8 now enables debugging on-demand. Thanks to a feature we tucked into VS2008...
Wanted to update you on a upcoming web cast that I am doing in support of Visual Studio 2008 launch event... Title : New Enhancements for Web Developers in VS 2008 Date/Day: Tuesday, February 26th 2008 Time: 11am to 12:30pm Pacific Standard Time (PST) Description :Get an overview of how Visual Studio 2008 takes web development to the next level. See highlights of the key new Web tools experiences in the Visual Studio 2008 product including support for multi-Targeting, JavaScript enhancements, rich support for CSS standards, rapid development of data-bound web pages using LINQ To SQL, and more. Also learn about the new Web Application Project and Web Deployment Project enhancements to Visual Studio which adds an alternative Web application...
We have good news for jQuery fans. The hotfix we released today fixes a bug in IntelliSense where it would fail with jQuery. Any page with jQuery should just work now. While experimenting with this new-found functionality today, I found annotating the library with a few XML Doc Comments really made a big difference. The key is to add a return type of "jQuery" like this: Here's some jQuery chaining with IntelliSense: There were only a few functions that (due to the way they were declared) were not able to be annotated. Special thanks to Brennan where I borrowed the comments from. If anyone will be making a fully annotated version of jQuery, I'd be happy to post a link to it from here. Jeff King Program Manager Visual Studio Web Tools Read More...
I often get the question “Why isn’t IntelliSense working?”. The most common cause is an error in one of the referenced scripts. If there was an IntelliSense update error, the status bar will tell you. Given this situation, the Error List will complement the status bar with one of two messages. Error Message 1: A script failed to execute… This type of error is commonly caused by either a syntax error, calling a member that doesn’t exist, or an infinite loop. The filename/source is provided to help you debug. After the script error is fixed, IntelliSense will automatically retry. Note: I’ve noticed the line number to be off by 1; we’ll be fixing that. Error Message 2: Something more serious… In rare occurrences, our execution/analysis engine Read...
More Posts
Next page »