Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7807939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:00:34+00:00 2026-06-02T03:00:34+00:00

After looking into Asynchronous Module Definition (AMD) in the javascript context I was wondering

  • 0

After looking into Asynchronous Module Definition (AMD) in the javascript context I was wondering how to get intellisense in Visual Studio 2010 for a dependent module.

For example given module A:

define(function() {
    return {
        square: function(value) {
            return value * value;
        }
    };
});

and a corresponding module B:

define(["A"], function(a) {
    return {
        value: a.square(10)
    }
});

Then I would like to have full intellisense for the module A (represented as parameter a) within module B. Note that both of these modules would be defined in separate files (A.js and B.js in this case).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:00:36+00:00Added an answer on June 2, 2026 at 3:00 am

    It looks like the author of RequireJS is working on Intellisense support here:
    https://github.com/jrburke/requirejs-intellisense

    Unfortunately I haven’t gotten the “magic” to work yet.

    Update: I did get this to work in certain scenarios. In particular it works great when all of the js files are in the same folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with someone who's looking to get back into programming after several years
I am looking into using Lucene.NET after reading some bad reviews of SQL Server's
I ran into this quite often stated problem but even after looking up nearly
I recently ran into a quite complex problem and after looking around a lot
I found this strange behaviour in .NET and even after looking into CLR via
After looking into 3D game programming, it quickly became evident why a physics engine
After looking into WCF, I don't believe it can do what I need it
My head is about to explode after looking into why this is not working
NOTE: Originally had this listed as a memory leak. After looking into this deeper,
I'm looking into creating an Web or iPad application that will use HTML5. After

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.