Alex Ross
66c63c5d70
Update npm tasks when npm refresh is run
...
Fixes #106780
2020-09-17 11:30:24 +02:00
Alex Ross
0de8d51904
Finalize task detail API
...
Fixes #69785
2020-08-27 11:08:48 +02:00
Martin Aeschlimann
88664e267a
npm: avoid invalid lookups
2020-08-24 16:58:36 +02:00
Alex Ross
bb3c233e97
Fix when NPM view is shown
...
#104591
2020-08-14 11:33:53 +02:00
Martin Aeschlimann
4899592904
npm.fetchOnlinePackageInfo is not respected in latest build. Fixes #103540
2020-08-12 11:59:56 +02:00
Connor Peet
85b70cc872
npm: enable debugging all scripts
...
Fixes https://github.com/microsoft/vscode/issues/104403
Fixes https://github.com/microsoft/vscode/issues/102847
2020-08-10 16:24:39 -07:00
Martin Aeschlimann
e32da59d30
[npm] support serverless & cleanup
2020-06-19 21:58:54 +02:00
Alex Ross
45da8ac9bc
Fix resolveTask for npm install
...
Fixes #97197
2020-05-11 16:20:22 +02:00
Matt Bierner
7ae7343973
Fix some strict null errors revealed by change to emitter
2020-04-08 18:06:24 -07:00
Miguel Solorio
573fe9e800
Update npm scripts explorer to use codicons (ref #90911 )
2020-03-04 16:13:36 -08:00
Erich Gamma
e77c58dd0b
Inform user when 'npm.autoDetect' is off.
2020-02-20 16:17:18 +01:00
Matt Bierner
ea0880611f
Use non-deprecated version of registerTasksProvider
...
For #88391
2020-02-12 17:20:05 -08:00
Johannes Rieken
430de16fef
fix compilos and adopt proposed api usage, #10266
2020-01-16 17:52:18 +01:00
Alex Ross
acb595b158
Exclude .vscode-test folder from npm task detection
...
Part of #88328
2020-01-09 10:36:44 +01:00
Martin Aeschlimann
5f1b81b497
[css/html/json] provide replace & insert proposals
2019-12-02 21:43:59 +01:00
Alex Ross
5a1242ab45
Detail for npm: install task ( #83765 )
...
Fixes #83654
2019-11-01 15:26:58 +01:00
Matt Bierner
76a8e836c5
Use standard vscode.proposed.d.ts instead of copying it
2019-10-23 13:20:58 -07:00
Alex Ross
56246ed3d8
Update vscode.proposed.d.ts in npm extension
2019-10-22 18:20:21 +02:00
Alex Ross
87998af618
Add task detail property and adopt in npm extension
...
Fixes #69785
2019-10-22 15:56:21 +02:00
Erich Gamma
4225aa8a9a
Remove inefficient code to set a custom tooltip
2019-10-21 15:05:01 +02:00
Erich Gamma
7485ffde50
Some polish for 'Run NPM Script in Folder'
2019-10-14 16:13:06 +02:00
helen3141
cecda63be5
Pull Request feedback: updated documentation and naming, read from cache if available instead of creating new tasks
2019-10-11 15:18:31 -07:00
Erich Gamma
3577fd0fab
Merge branch 'master' into runNpmFromContextMenu
2019-09-30 17:00:58 +02:00
Martin Aeschlimann
bae6f5f1a5
[json] "Fetch Online Package Info" feature doesn't work when npm is not present. Fixes #77066
2019-09-30 16:59:34 +02:00
Erich Gamma
846fefe1b7
Merge branch 'master' into runNpmFromContextMenu
2019-09-30 16:52:14 +02:00
Helen Choi
757097d2d8
fix UX bug, runs when user clicks the result now
2019-08-29 10:47:26 -07:00
Helen Choi
1f78795f58
enable running individual npm scripts in the containing folder
2019-08-27 19:25:20 -07:00
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