Questions tagged [javascript-intellisense]

IntelliSense helps you write code faster and with fewer errors by providing information while you code.

IntelliSense helps you write code faster and with fewer errors by providing information while you code. As you work with client script in the JavaScript editor, IntelliSense lists the objects, functions, properties, and parameters that are available based on your current context. You can select a coding option from the pop-up list provided by IntelliSense to complete the code.

IntelliSense makes it easier to complete the following tasks:

  • Find member information.
  • Insert language elements directly into your code.
  • Maintain your context without having to leave the code editor.
  • Support custom IntelliSense with XML documentation comments and JavaScript IntelliSense extensibility.
209 questions
0
votes
2 answers

single intellisense file for multiple js function files?

I have functions1.js, functions2.js and functions3.js. Each has a function, funcA, funcB and funcC respectively. I created a file called "functions.intellisense.js" and added it to _reference.js. I then added a reference to _reference.js in my…
user736893
0
votes
1 answer

Regarding vs2012 javascript Intellisense

I have custom javascript code in A.js file,to have intellisense associated with it,I have A.intellise nse.js file in the same folder as A.js. Content of A.js: var test = (typeof test === "undefined") || !test ? {} : test; test= (function () { …
0
votes
1 answer

is there any more standard way to resume function from jQuery ajax call?

I am trying to write a big project which involves of a lot of code. That's why I want to separate functionalities from different files. the first file, dataJS, I make an AJAX call to get data from a JSON file. the second file, showJS I want to…
Hoy Cheung
  • 1,552
  • 3
  • 19
  • 36
0
votes
1 answer

What's wrong with this -vsdoc file?

I have a script, retry.js, that contains this: function retryAjax(load, count, config) { } There's a body to it obviously, but it doesn't matter because this problem occurs whether I have the body in the script or not. To document the object this…
Chris Moschini
  • 36,764
  • 19
  • 160
  • 190
0
votes
2 answers

Why does JavaScript Intellisense not always work in Visual Studio 2012?

I'm using Visual Studio 2012 and building a JavaScript Windows Store App. For the most part, intellisense works, but for some things it does not. I'm just wondering why. Here are a few examples: var…
0
votes
1 answer

Javascript Intellisense Message: JS Intellisense:Internal/(1:0) : Function expected

I am using Visual studio 2010. I have been using it for a long time with out problem. Today I am getting this message every time I try to declare a variable and use it in my javascript files. Javascript Intellisense Message: JS…
0
votes
1 answer

How can I return razor markup from a helper?

Recently I wrote a javascript library to reduce the amount of copy paste that I was doing. I feel like any time I copy paste code there is an opportunity to make it generic so I can re-use it. Upon making my library, I wanted to use it in a .cshtml…
Travis J
  • 81,153
  • 41
  • 202
  • 273
-1
votes
2 answers

How do i get VSCODE to lint javascript without having to open all the files

it's linting php just fine. but when i try to work on javascript it only finds the definitions in open files. which would be less annoying if i could just click on all the files i might need to lint from. but unless you edit them they don't stay…
-1
votes
1 answer

How to create a .d.ts file for an internal JavaScript module

I have a JavaScript project which uses a json file for configuration. Which config file is loaded is determined by environment variables, so I have a wrapper file, config.js that loads the proper json file and exports it as a constant. I'm using VS…
dx_over_dt
  • 13,240
  • 17
  • 54
  • 102
-2
votes
2 answers

Intellisense while editing JS files

I am creating project in Visual Studio. While editing JS in a HTML file, since we have included the reference to all JQuery files on top, we get intellisense for jquery instances. But, when we are editing JS files, we don't get any intellisense at…
-2
votes
1 answer

Missing suggestion in VSCode in a script tag within an html file

When using .style method in vscode for javascript in a