Commit Graph

60 Commits

Author SHA1 Message Date
Erich Gamma
af4bfe6ef4 Show the npm script explorer when there is a top level package.json 2019-07-29 14:27:07 +02: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
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
e93bb0c372 fix #57897 tasks cache not refreshed when workspace folder change 2018-09-17 19:53:20 +02:00
Erich Gamma
82423033d9 Added command to Run the selected npm script 2018-07-28 22:10:29 +02: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
baf3b60651 Merge NPM Scripts: Added configuration option to change default click action #49282 2018-05-28 11:09:36 +02:00
Erich Gamma
a323b399d6 dynamically refresh the view when the npm.exclude setting changes 2018-05-17 10:46:16 +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
c94f12ed34 switch to use config context key over manual context definition. 2018-04-30 19:43:54 +02:00
Erich Gamma
c9dec77d3d cache the provided tasks 2018-04-29 16:50:56 +02:00
Erich Gamma
c0e52d19ad amend to fix for #48806 2018-04-27 11:35:48 +02:00
Erich Gamma
a87b396730 FIxing #48806 npm.enableScriptExplorer requires reloading the window 2018-04-27 11:27:12 +02:00
Erich Gamma
40515c5aa0 fixing #48590 use task API to fetch tasks 2018-04-26 12:58:32 +02:00
Joao Moreno
d1870a4018 fix bad localize usage of localize 2018-04-23 14:42:39 +02:00
Erich Gamma
48b0ec47da added config option whether the explorer should be enabled. 2018-04-21 10:13:34 -07:00
Erich Gamma
adfe96397b only show the view when there are package.json files 2018-04-15 23:06:33 +02:00
Erich Gamma
3d5f0b75af externalize strings 2018-03-31 23:06:43 +02:00
Erich Gamma
14ce79bb4e refactoring: extract task related code into tasks module 2018-03-31 17:35:54 +02:00
Erich Gamma
2599d9526b honor the package manager when launching for debugging 2018-03-31 12:48:53 +02:00
Erich Gamma
2ce1f53e36 add Debug script command 2018-03-30 16:51:05 +02:00
Erich Gamma
a765cafa61 Detect out of date scripts 2018-03-28 15:51:19 +02:00
Erich Gamma
67949967f9 fetch only npm tasks 2018-03-27 23:50:23 +02:00
Erich Gamma
526a88aeb0 added npmExplorer 2018-03-27 22:28:29 +02:00
Erich Gamma
ba9da35ec8 Fix #45816 only search for package.json files when auto detection is enabled 2018-03-25 18:34:27 +02:00
Erich Gamma
d33ac428d3 Fixing #45023 task schema mismatch 2018-03-04 19:24:34 +01:00
Erich Gamma
a6dde81592 Fixing #31217 npm script not detected if the package.json is not in root folder 2018-02-28 16:51:43 +01:00
Matt Bierner
ac5ed16ece Move package-json extension to npm extesion
#44166
2018-02-23 13:29:52 -08:00
Erich Gamma
d2d8e45c80 Remove tslint disabling 2018-02-21 22:10:36 +01:00
Dirk Baeumer
04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Dániel Tar
a05e3d996a Fix different error message in source and package.nls for npm package (#37096)
* Fix package.nls.json for npm

Error message was different in main.ts.

* Fix language string key in npm/src/main.ts
2017-10-31 14:27:24 +01:00
Erich Gamma
117e621595 Reject promise when there is a parse error in a package.json file. 2017-10-27 16:06:36 +02:00
Erich Gamma
1420d41bf8 Fix for #31274 Support for yarn when running detected tasks 2017-10-27 10:52:17 +02:00
Erich Gamma
8844915863 ensure that the scheme is 'file' detecting scripts 2017-09-21 13:56:42 +02:00
Erich Gamma
90af6b4ed2 Adopt support for multiroot folders 2017-09-20 18:03:48 +02:00
Erich Gamma
de7e216e9e Fix for #31192 2017-07-21 10:47:22 +02:00
Erich Gamma
83fe9ed9f7 Use the root folder name for the short path 2017-07-20 15:13:25 +02:00
Erich Gamma
f911acfa49 Shortening the path name for scripts 2017-07-20 10:53:44 +02:00
Erich Gamma
584d00db01 Added support for multi root folders 2017-07-19 18:42:33 +02:00
Erich Gamma
6716723d9c npm task provider should not provide pre, post scripts - #30843 2017-07-19 18:42:31 +02:00
Rob Lourens
457fa64f61 Fix hygiene 2017-07-13 18:12:25 -07:00