Commit Graph

104 Commits

Author SHA1 Message Date
Martin Aeschlimann
54adadd72c fix lgtm warnings 2019-01-17 20:53:18 +01:00
Martin Aeschlimann
20906c33c4 [json] IntelliSense doesn't work for scoped packages in package.json. Fixes #62377 2019-01-08 17:42:52 +01:00
Matt Bierner
c109d319fe Second pass converting for index based looping to for-of loops
More manual conversion of index based for loops to for-of loops
2019-01-04 12:03:23 -08:00
Matt Bierner
b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08:00
Matt Bierner
5cc00861fc Enable no-var-keyword tslint rule 2019-01-03 18:02:48 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Erich Gamma
cee0951b13 Enable Collapse All action in the npm script explorer 2018-11-30 10:25:41 +01:00
Alex Ross
cfd2ea16e8 Update NPM script explorer tree view when package.json changes
Fixes #62415
2018-11-07 11:58:51 +01:00
Alex Ross
18177c58cc Add a tooltip to scripts in NPM script view (#61596)
Fixes #55218
2018-10-29 14:15:55 +01:00
Johannes Rieken
b343fcf6ab declare proposed api usage only where actually being used 2018-10-24 12:27:59 +02:00
Matt Bierner
92a9a07213 Remove duplicate blank lines at the start of some extension src files 2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00
Matt Bierner
936742b5d1 Onboard npm to use shared tsconfig 2018-10-01 16:43:18 -07:00
Erich Gamma
cc0b42784c More robust handling of invalid script values 2018-09-18 08:29:12 +02:00
Erich Gamma
295f04ae24 Fix #57897 ignore object valued scripts 2018-09-17 20:54:44 +02:00
Erich Gamma
e93bb0c372 fix #57897 tasks cache not refreshed when workspace folder change 2018-09-17 19:53:20 +02:00
Erich Gamma
6bee7fc45d Simplify label and do not show the folder name 2018-09-14 10:57:58 +02:00
Erich Gamma
f7653eb02b Fixing NPM Scripts explorer shows the root folder only on the root package.json #50845 2018-09-14 10:52:50 +02:00
Erich Gamma
3fd4c7f4bd Use webpack for all big extensions #57680 2018-09-12 20:31:47 +02:00
Martin Aeschlimann
9a03a86c0a improve npm.fetchOnlinePackageInfo handling 2018-08-16 16:39:07 +02:00
Erich Gamma
82423033d9 Added command to Run the selected npm script 2018-07-28 22:10:29 +02:00
Erich Gamma
812d082e90 Fixing Cannot debug npm script using Yarn #55103 2018-07-28 18:41:09 +02:00
Ramya Rao
f51c30d8f4 Allow users to opt-out of features that send online requests in the background (#55097) 2018-07-27 15:42:17 -07:00
Erich Gamma
7697ef6711 Flush scripts cache when the document changes 2018-07-26 15:56:28 +02:00
Erich Gamma
22f0337064 cache the scripts for the hover 2018-07-26 09:42:38 +02:00
Erich Gamma
73b72464b3 Replace lenses with hover links 2018-07-26 09:42:36 +02:00
Erich Gamma
8d964cbd59 Added setting to control visibility of code lens 2018-07-20 09:43:49 +02:00
Erich Gamma
80b08b4c7f Add code lenses to run/debug a script 2018-07-20 09:43:48 +02:00
Erich Gamma
5c5f93cdbc Support to run the selected script in the editor 2018-07-18 12:58:19 +02:00
Erich Gamma
9a924f71f4 Fix for #54085 npmScript explorer doesn´t show scripts with same name in multi root setup 2018-07-17 08:53:26 +02:00
Erich Gamma
7452fe03a0 Generalize the debug argument matching 2018-07-03 16:56:27 +02:00
Dirk Baeumer
e5c3c10853 Remove old proposed task API 2018-06-07 10:05:47 +02:00
Erich Gamma
f7f2911e2b Reapply fix for #50790 2018-06-01 09:35:42 +02:00
Erich Gamma
6a62a945ea Fix for #50792 npm exclude doesn´t work for folder names 2018-05-30 17:43:58 +02:00
Erich Gamma
8b9b0d3582 Fix for #50792: empty pre post scripts not rendered properly 2018-05-30 17:31:02 +02:00
Erich Gamma
83cb1d7799 Support to run npm install from a package node 2018-05-28 14:41:28 +02:00
Erich Gamma
baf3b60651 Merge NPM Scripts: Added configuration option to change default click action #49282 2018-05-28 11:09:36 +02:00
Erich Gamma
5d8467dffe Add inline action for running 'debug scripts' 2018-05-23 22:56:40 +02:00
Callum Isitt
6d25151513 Add link to package homepage in package.json files
Displayed at the bottom of the box that appears when hovering over a package name
2018-05-17 15:15:40 +01:00
Erich Gamma
a323b399d6 dynamically refresh the view when the npm.exclude setting changes 2018-05-17 10:46:16 +02:00
Erich Gamma
c0126de1f3 Render pre/post scripts different from regular scripts 2018-05-15 16:22:40 +02:00
Erich Gamma
6b129c5558 remove filterPrePostScripts 2018-05-15 16:22:39 +02:00
Erich Gamma
4f652fc36c add setting to define whether pre or post scripts should be filtered 2018-05-14 22:49:49 +02:00
Erich Gamma
a411c2f4e6 Fix for #49237 filter out duplicate task entries 2018-05-08 12:42:28 +02:00
Erich Gamma
6025f1f45d Fix for #49348 don´t show install tasks in script explorer 2018-05-07 16:04:47 +02:00
Erich Gamma
d92f8aed6a Remove console.log 2018-05-07 16:04:47 +02:00
Erich Gamma
c94f12ed34 switch to use config context key over manual context definition. 2018-04-30 19:43:54 +02:00
Erich Gamma
6ed74d7736 Show message when no scripts were found 2018-04-30 19:23:42 +02:00
Erich Gamma
e72ea2399b Switch to use the JSON parser 2018-04-29 17:26:25 +02:00
Erich Gamma
c9dec77d3d cache the provided tasks 2018-04-29 16:50:56 +02:00