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
Miguel Solorio
4533aa0c0a
Merge pull request #62739 from RDIL/master
...
Optimize images
2018-11-08 08:42:57 -08:00
Alex Ross
cfd2ea16e8
Update NPM script explorer tree view when package.json changes
...
Fixes #62415
2018-11-07 11:58:51 +01:00
ImgBotApp
d412f89baf
[ImgBot] Optimize images
...
*Total -- 201.93kb -> 142.81kb (29.28%)
/extensions/npm/images/npm_icon.png -- 3.21kb -> 0.51kb (84.1%)
/src/vs/workbench/parts/debug/electron-browser/media/stepout-tb.png -- 2.89kb -> 0.47kb (83.83%)
/src/vs/workbench/parts/debug/electron-browser/media/stop-tb.png -- 1.50kb -> 0.35kb (76.43%)
/src/vs/workbench/parts/debug/electron-browser/media/pause-tb.png -- 1.55kb -> 0.37kb (76.34%)
/src/vs/workbench/browser/parts/editor/media/forward-tb.png -- 1.57kb -> 0.37kb (76.25%)
/src/vs/workbench/browser/parts/editor/media/back-tb.png -- 1.52kb -> 0.37kb (75.53%)
/src/vs/workbench/parts/debug/electron-browser/media/continue-tb.png -- 1.60kb -> 0.42kb (73.48%)
/src/vs/workbench/parts/debug/electron-browser/media/stepinto-tb.png -- 1.66kb -> 0.47kb (71.51%)
/src/vs/workbench/parts/debug/electron-browser/media/restart-tb.png -- 1.91kb -> 0.59kb (68.84%)
/src/vs/workbench/parts/debug/electron-browser/media/stepover-tb.png -- 1.93kb -> 0.62kb (67.75%)
/resources/linux/code.png -- 5.76kb -> 2.66kb (53.86%)
/extensions/html-language-features/icons/html.png -- 4.40kb -> 2.28kb (48.15%)
/extensions/theme-seti/icons/seti-circular-128x128.png -- 8.73kb -> 4.70kb (46.12%)
/extensions/typescript-language-features/icon.png -- 1.60kb -> 0.97kb (39.15%)
/src/vs/platform/extensionManagement/node/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/src/vs/workbench/parts/extensions/electron-browser/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/extensions/vscode-api-tests/testWorkspace/sub/image.png -- 35.87kb -> 24.99kb (30.33%)
/extensions/vscode-api-tests/testWorkspace/image.png -- 35.87kb -> 24.99kb (30.33%)
/resources/win32/code_150x150.png -- 0.55kb -> 0.39kb (29.96%)
/extensions/css-language-features/icons/css.png -- 5.07kb -> 3.63kb (28.37%)
/extensions/json-language-features/icons/json.png -- 5.84kb -> 4.33kb (25.89%)
/extensions/markdown-language-features/icon.png -- 1.19kb -> 0.88kb (25.86%)
/src/vs/workbench/parts/extensions/electron-browser/media/theme-icon.png -- 9.90kb -> 7.42kb (25.1%)
/extensions/php-language-features/icons/logo.png -- 10.85kb -> 8.99kb (17.13%)
/extensions/gulp/images/gulp.png -- 7.36kb -> 6.20kb (15.8%)
/extensions/merge-conflict/resources/icons/merge-conflict.png -- 2.47kb -> 2.10kb (14.96%)
/extensions/jake/images/cowboy_hat.png -- 43.85kb -> 41.67kb (4.98%)
2018-11-06 20:46:03 +00: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
Joao Moreno
707787c5b8
update yarn.lock files to use integrity
2018-09-30 16:34:43 +02: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
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
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