I find a frustrating problem with intellisense JavaScript where, if I include jQuery UI in my file _references.js, I lose all intellisense JavaScript. Does anyone know if there is a way to fix this problem without removing the jQuery user interface from _references.js?
_references.js
_refernces.js
With this new information, I think it should be some kind of deeper problem in my project setup, which is causing the problem, as opposed to the problem with the installation or the specifics of JQuery UI. Does anyone have any idea what settings in the .sln or .csproj file might cause JS Intellisense problems?
For those experiencing this problem, I found that using jQuery 3.x causes instellisense to fail when the jQuery user interface is included in _references.js. My solution was to use NuGet to return to version 2.2.4, and everything started working fine again.
. , , , - jquery UI. Intellisense , , , , , . , , , jquery . , , _references.js, , .
_references script, intellisense , , script . , intellisense , .
, , .js ?
/// <reference path="/scripts/jquery-3.1.1.js" />
, , NuGet jquery . jquery intellisense , ( , ).
! jquery-ui-1.12.1.js ( ) _jquery-ui-1.12.1.js. , jQuery 3 _references.js, intellisense . script BundleConfig.cs, !
:
_references.js:
/// <autosync enabled="false" /> /// <reference path="jquery-ui-1.12.1.js" /> /// <reference path="jquery-3.3.1.js" />
Source: https://habr.com/ru/post/1657828/More articles:how to configure firebase to react-native ignite "best practice" - react-nativenpm multiple entry points - javascriptHow to specify alpha version of a module in Package.swift? - packageIssues with setTimeout interfering with the load event handler - javascriptThird-party user Auth with electronic - authenticationHow to check if the sum of 8 files with unlimited natural numbers stored in them is divisible by 8? - algorithmiOS10: UITextfield hangs with long input when secureTextEntry - iosReusing bindBufferBase and OpenGL computes shader - c ++Horizontal diagram (preferably animated) react.js - javascriptSQL Syntax ADODB - Access Table Internal Record with Excel Worksheet - sqlAll Articles