Commit Graph

114 Commits

Author SHA1 Message Date
Erich Gamma
9fee53765e Fixing #76711 handle the case that a script is customized in the tasks.json 2019-08-27 19:40:45 +02:00
Erich Gamma
67b0d5805e Fixing #78474 don't move focus on click 2019-08-27 11:42:33 +02:00
Alex Ross
466e5ef6c2 Use resolveTask in npm extension
Fixes #76520
2019-08-05 15:54:13 +02:00
Erich Gamma
af4bfe6ef4 Show the npm script explorer when there is a top level package.json 2019-07-29 14:27:07 +02:00
Martin Aeschlimann
9bc4699da4 package.json suggestions stopped working - skimdb is being retired. Fixes #75274 2019-06-13 17:30:10 +02:00
Martin Aeschlimann
4284a8ff20 use --json 2019-06-13 16:58:34 +02:00
Jonas Kemper
d78e970375 remove logs 2019-04-23 16:58:00 +02:00
Jonas Kemper
12e287dc3d implement npm view for version completions and hover suggestions 2019-04-23 16:34:35 +02:00
Jonas Kemper
6740eba07a merge packageJSONContribution to latest master 2019-04-23 15:04:21 +02:00
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
atompkins
30254a8e25 Use npm view to populate info box 2018-08-08 15:43:49 -07: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