Commit graph

336 commits

Author SHA1 Message Date
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 8330a69571 fixing web packing 2018-09-13 12:59:24 +02:00
Johannes Rieken f1962fe5ad webpack - use mainFields: ['module', 'main'] for everyone 2018-09-13 11:48:06 +02:00
Erich Gamma 3fd4c7f4bd Use webpack for all big extensions #57680 2018-09-12 20:31:47 +02:00
Johannes Rieken c2c5819fc8 adopt vscode-nls 4.0.0 2018-09-06 14:44:33 +02:00
Martin Aeschlimann 9a03a86c0a improve npm.fetchOnlinePackageInfo handling 2018-08-16 16:39:07 +02:00
Benjamin Pasero 920defc6a6 debt - update extensions node dependency to 8.x 2018-08-14 10:44:56 +02:00
Rob Lourens a0764210a8 #55478 - switch all builtin settings to 'markdownDescription' instead of 'description' where needed 2018-08-08 17:01:37 -07:00
atompkins 30254a8e25 Use npm view to populate info box 2018-08-08 15:43:49 -07:00
Pine Wu c9764c85d7 Settings description update for #54690 2018-08-01 14:46:33 -07:00
Alex Dima 47212be6f3 Settings sweep (#54690) 2018-07-30 12:35:43 +02:00
Erich Gamma 83a42a58af Contribute run selected to the context menu 2018-07-29 11:38:22 +02:00
Erich Gamma 345440f62f prefix command with extension name 2018-07-29 11:12:25 +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 1616ea1193 Disable npm code lens by default 2018-07-24 12:18:13 +02:00
Erich Gamma f6064affd1 update to tasks 2.0 2018-07-24 08:30:52 +02:00
Erich Gamma 1c14e736d2 Add missing nls key in package.json, fixing #54714 2018-07-23 09:34:03 +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
Greg Van Liew c150d0d42d Edit pass on new built-in extension comments (#54277) 2018-07-13 15:28:27 -07:00
Ramya Achutha Rao f89c16c04c Standardize readme across built-in extensions #54098 2018-07-11 16:38:32 -07:00
Erich Gamma 7452fe03a0 Generalize the debug argument matching 2018-07-03 16:56:27 +02:00
Dirk Baeumer 21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Greg Van Liew 14274ef7d1 Use VS Code with a space in built-in extension descriptions. (#53080)
* Use VS Code with a space in comments

* User VS Code with a space in built-in extension descriptions.
2018-06-26 18:38:18 -07:00
Erich Gamma 09e8559257 Don´t show npm explorer commands in the command palette fixes #51196 2018-06-13 12:03:13 +02:00
Dirk Baeumer e5c3c10853 Remove old proposed task API 2018-06-07 10:05:47 +02:00
Martin Aeschlimann eb2b51aeb9 associate npmignore with ignore language (for #51026) 2018-06-04 11:42:05 +02:00
Erich Gamma b48a89d461 remove commented out lines 2018-06-04 09:42:47 +02:00
Erich Gamma a10a7633d1 use unused span for unused locals/parameters 2018-06-04 09:11:17 +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
Josh Schreuder 1c3fc6fa21 Fix spelling mistake in NPM task tooltip (#48980)
ommitted -> omitted
2018-05-07 11:51:17 +02:00
Erich Gamma fece020cc2 Added inline action to run a script 2018-05-04 14:52:57 +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
Erich Gamma 1638acdd62 #48832 filter out synthetic install tasks 2018-04-27 15:54:32 +02:00
Erich Gamma 9a7fe683a8 Do not activate on '**/package.json' but only on 'package.json' 2018-04-27 12:05:35 +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 51a880315f Add a Learn More action fixing #48538 2018-04-26 16:32:38 +02:00
Erich Gamma 20994d2b53 Remove unneeded keys 2018-04-26 16:32:38 +02:00
Erich Gamma 40515c5aa0 fixing #48590 use task API to fetch tasks 2018-04-26 12:58:32 +02:00
Erich Gamma cb982cab99 Fixing #48456 always include npm install 2018-04-26 12:13:15 +02:00
Erich Gamma ea40a3e001 Fixing #48552 specify the protocol 2018-04-25 14:03:13 +02:00
Erich Gamma 7cf5c292d1 Fixing #48538 use modal alert for the error message 2018-04-25 13:53:47 +02:00
Erich Gamma d9f8813eb6 Fixing issue #48539 improve wording of error message 2018-04-25 13:33:43 +02:00
Joao Moreno d1870a4018 fix bad localize usage of localize 2018-04-23 14:42:39 +02:00
Erich Gamma 6220b3949a Merge branch 'master' into egamma/npmExplorer 2018-04-21 10:14:28 -07:00
Erich Gamma 48b0ec47da added config option whether the explorer should be enabled. 2018-04-21 10:13:34 -07:00
Erich Gamma 0911fb867d Change document selector to include the schema explicitly 2018-04-18 11:44:58 -07:00
Erich Gamma bb1119e0b1 Open script on single click 2018-04-17 09:18:02 -07:00
Erich Gamma ee2ed2f200 open the document at the script´s offset 2018-04-16 05:23:45 +02:00
Erich Gamma 76495e8b0a Change view name to title case 2018-04-15 23:10:02 +02:00
Erich Gamma adfe96397b only show the view when there are package.json files 2018-04-15 23:06:33 +02:00
Erich Gamma 7fc78e7b0c remove explorerVisible configuration setting 2018-04-15 22:04:17 +02:00
Erich Gamma ea73a8dad6 Support the all the debug argument flavors 2018-04-15 22:00:50 +02:00
Erich Gamma 8f6206c7d0 bug fixing 2018-04-01 18:13:55 +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 41b49e2dc1 added icons 2018-03-31 17:24:32 +02:00
Erich Gamma f27b68cdcc improve error message 2018-03-31 15:52:32 +02:00
Erich Gamma 2599d9526b honor the package manager when launching for debugging 2018-03-31 12:48:53 +02:00
Erich Gamma 2b73118942 adding open for script 2018-03-30 17:32:18 +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 a07dfe72c6 Add link to the task documention. 2018-03-05 14:47:51 +01:00
Erich Gamma d33ac428d3 Fixing #45023 task schema mismatch 2018-03-04 19:24:34 +01:00
Erich Gamma 815720cb58 Fix typos in Readme 2018-03-01 10:33:11 +01:00
Erich Gamma 5a7ed0f6e9 Change scope of exclude setting to resource 2018-02-28 16:57:38 +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
Erich Gamma bc540f119d externalize strings 2018-02-28 12:28:25 +01:00
Erich Gamma 1a8ff9edff Bump version number 2018-02-27 16:00: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
Erich Gamma 0d05c782fa Readme tweak 2018-02-21 13:19:09 +01:00
Erich Gamma eaec7c3383 Fixing #43978 add description/readme 2018-02-21 13:16:58 +01:00
Dirk Baeumer e91b851ca8 Upgrade to latest language pack format 2018-01-30 00:11:57 +01:00
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Joao Moreno 0a8b6fb706 yarn: replace most shrinkwrap files 2017-11-13 23:03:52 +01:00
Matt Bierner 3f9bc10e81 Set strict mode in a few extensions that already have strictNullChecks 2017-11-06 10:32:24 -08:00
Matt Bierner 0421cba67f Localize npm.packageManager 2017-11-02 16:44:55 -07: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
Martin Aeschlimann 12d4925c72 Use strict version-identifier for @types/xyz-modules . For #35561 2017-10-04 11:25:45 +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
isidor efdc328058 ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +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
Erich Gamma 10a5cee648 added silent setting 2017-07-13 16:43:18 +02:00
Dirk Baeumer 8efcb4e909 Fixes #30044: Task contribution should allow extension to supress problem matcher attach message 2017-07-10 13:09:38 +02:00
Rob Lourens 04db7c3a45 Remove devDependencies from npm-shrinkwrap 2017-06-30 11:39:10 -07:00
Dirk Baeumer 0e39ec5af5 Fixes #29835: Move Task API from proposed to final. 2017-06-29 11:03:33 +02:00
Dirk Baeumer 19f310a027 Fixes #29427 & #29617 2017-06-27 21:38:56 +02:00
Dirk Baeumer cf594ad817 Make tthe source attribute mandantory for tasks defined in extensions 2017-06-25 22:44:46 +02:00
Dirk Baeumer 2903fc5ee5 More loose build and test task detection 2017-06-23 17:29:32 +02:00
Dirk Baeumer 22fa494aee Incooperate API feedback 2017-06-23 10:25:45 +02:00
Dirk Baeumer 2ef8e48de4 Implemented latest feedback from #28235 2017-06-23 10:25:44 +02:00
Joao Moreno 5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
Dirk Baeumer bf5bb9de5c Implements #27087: Simplify task activation events 2017-05-29 14:50:16 +02:00
Dirk Baeumer e58c2abb97 Implements #27399: Separate the task provider name from the task name in the task API 2017-05-29 14:44:31 +02:00
Erich Gamma 8c1c1d14df Added npm install to the list of discovered npm tasks 2017-05-28 17:29:47 +02:00
Erich Gamma 3568e98ec6 Added npm extension that contributes tasks for npm scripts 2017-05-24 10:47:34 +02:00