How to get intellisense in standalone javascript files in VS 2010(blog.krisvandermast.com)

submitted by vijaystvijayst(1311) 7 months, 24 days ago

When jQuery is used within an ASPX page or within a CSHTML page, intellisense works fine. If the same jQuery script is moved to a standalone javascript file, intellisense stops working. This is very frustrating for the developers. This post gives a tip of how to enable intellisense in standalone javascript files.

1 comment |category: |Views: 98

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 7 months, 23 days ago 0

I'm glad there's a solution, but that seems SO backwards. Most other IDEs would allows you to configure syntax highlighting like that from a preferences window. Now instead we have to remember to paste that line into all our .js files and stare at it for as long as we use VS to edit our javascript. Seems like an oversight on Microsofts part.

Reply

information Login or create an account to comment on this story