Johannes Rieken
e27d7cafa1
only one double-qoute string rule
2019-12-31 09:14:07 +01:00
Johannes Rieken
9fefd2b6fb
relax and allow double quoted strings appearing inside localize call
2019-12-30 18:45:33 +01:00
Johannes Rieken
c9179d1e6a
fix nls-rule when using member-expression
2019-12-30 18:39:30 +01:00
Johannes Rieken
a61f38eee5
migrate no-unexternalized-strings rule (have two variants)
2019-12-30 17:48:21 +01:00
Johannes Rieken
53d1dffaff
use AST selector to simplify things
2019-12-30 14:57:04 +01:00
Johannes Rieken
4db80066b4
use ts-es-tree-typings, support import-equals
2019-12-30 14:08:44 +01:00
Johannes Rieken
11f9af09d7
check call expression argument length
2019-12-30 13:33:42 +01:00
Johannes Rieken
808865cf57
extract import path detection into util
2019-12-30 13:01:33 +01:00
Johannes Rieken
b05b481265
migrate no-standalone-editor rule
2019-12-30 11:23:53 +01:00
Johannes Rieken
2ea9132cab
migrate no-nls-in-standalone-editor rule
2019-12-30 11:19:24 +01:00
Johannes Rieken
a3bd604627
migrate translation remind rule
2019-12-30 11:09:38 +01:00
Johannes Rieken
9819da68ab
migrate import-patterns rule to eslint
2019-12-30 10:03:52 +01:00
Johannes Rieken
b0d38052b5
use rulesdir instead of rules-module
2019-12-30 09:46:58 +01:00
Johannes Rieken
1075b91187
tweaks
2019-12-30 09:24:56 +01:00
Johannes Rieken
0aa86043c2
Merge branch 'master' into joh/eslint-rules
2019-12-30 09:05:53 +01:00
Benjamin Pasero
7909462634
tslint - rewrite globals rule to not use tslint ( #87754 )
...
* tslint - rewrite globals rule to not use tslint
* comments
2019-12-27 08:57:03 +01:00
Johannes Rieken
556475c71f
add eslint-rules "module" and use it in eslintrc-file
2019-12-24 13:07:59 +01:00
Johannes Rieken
ddb6d058f7
Merge branch 'master' into joh/bulkEditPreview
2019-12-20 12:01:15 +01:00
Sandeep Somavarapu
dbc7fa3c3e
#87246 Introduce name in view container
2019-12-18 21:42:56 +01:00
Johannes Rieken
ee9d42129d
first cut of panel and changes tree
2019-12-18 12:08:06 +01:00
Benjamin Pasero
19062a2976
debt - move workbench.enableExperiments to correct place
2019-12-18 11:42:43 +01:00
Peng Lyu
8d8580260f
Merge remote-tracking branch 'upstream/master' into rebornix/notebook
2019-12-09 11:04:24 -08:00
Matt Bierner
529351318e
Removing test custom editors
2019-12-02 17:53:32 -08:00
Peng Lyu
d6d29a6ef4
layout editor with dimentions
2019-11-29 13:36:36 -08:00
Alexandru Dima
0789507d6b
Commit missing output file
2019-11-28 10:30:41 +01:00
ZHAO Jinxiang
352d641042
Add .cjs to known JavaScript file extensions ( #85460 )
2019-11-25 19:46:09 -08:00
Alexandru Dima
b5ce6014d7
Improve output in case of errors and generate an analysis folder with the source content (for easy diffing)
2019-11-13 11:15:38 +01:00
Alexandru Dima
032925e74e
Improve error reporting during treeshaking
2019-11-13 11:15:36 +01:00
Alexandru Dima
f6b6a97807
Take typings from tsconfig.monaco.json
2019-11-13 11:15:36 +01:00
Benjamin Pasero
d2cff74b66
web - make sure adblocker do not prevent startup
...
Renamed workspace stats => workspace tags
2019-11-13 07:47:20 +01:00
Benjamin Pasero
0ec1207e40
build - compile leftover
2019-11-13 07:38:16 +01:00
Benjamin Pasero
2977cfea26
encoding - more tests
2019-11-12 09:57:58 +01:00
Rachel Macfarlane
b9a9714d4c
First cut of OAuth in the AuthTokenService
2019-11-11 12:45:38 -08:00
Matt Bierner
806bcecfa7
Merge branch 'master' into ben/test-custom-editor
2019-11-08 14:52:18 -08:00
Alex Dima
c9a2de2d9c
Improve integration test output on Windows ( #84239 )
2019-11-08 17:21:35 +01:00
Benjamin Pasero
9893f45eb2
Merge branch 'master' into ben/test-custom-editor
2019-11-07 09:45:27 +01:00
Matt Bierner
c8d64b13e5
Add code actions contributon point
...
For #82718
Fixes #52846
This adds a newly proposed codeActions contribution point. For details, see #82718
This change also makes the intellisense for the `editor.codeActionsOnSave` property dynamic by using the new contribution point
2019-11-06 10:13:59 -08:00
Benjamin Pasero
bc29be3025
custom editor - first cut playground
2019-11-06 11:53:14 +01:00
Benjamin Pasero
14c3b2e486
Update build to use node.js 12.x ( #83967 )
...
* build - update to node.js 12x for building
* fix it
* adopt vscode-gulp-watch
2019-11-05 09:53:15 +01:00
Joao Moreno
9289dd7842
remove yarn gulp electron
2019-10-16 15:35:53 +02:00
Joao Moreno
5048816ebf
extract yarn electron
2019-10-16 11:15:43 +02:00
Benjamin Pasero
6ee1da3dc5
debt - shuffle things around
2019-09-27 09:44:35 +02:00
Benjamin Pasero
64eed745f5
💄 move a few services around
2019-09-26 18:37:58 +02:00
Alex Dima
fe5315badc
Ship codicon with the standalone editor
2019-09-23 13:18:39 +02:00
Sandeep Somavarapu
1e10216856
trigger sync after closing the conflicts editor
2019-09-18 12:37:21 +02:00
Joao Moreno
136600a7bb
miss compilation
2019-09-17 09:58:33 +02:00
Dirk Baeumer
449b87dad8
Fixes #80985 : Language Pack import add ./build
folder to internal LP structure.
2019-09-16 15:47:41 +02:00
Sandeep Somavarapu
65f14490b7
Merge branch 'master' into sandy081/userDataProvider
2019-09-11 13:42:07 +02:00
Matt Bierner
011836a150
Prototyping custom editors ( #77789 )
...
* Custom Editor exploration
For #77131
Adds a prototype of custom editors contributed by extensions. This change does the following:
- Introduces a new contribution point for the declarative parts of a custom editor
- Adds API for registering a webview editor provider. This lets VS Code decided when to create a webview editor
- Adds an `openWith` command that lets you select which editor to use to open a resource from the file explorer
- Adds a setting that lets you say that you always want to use a custom editor for a given file extension
- Hooks up auto opening of a custom editor when opening a file from quick open or explorer
- Adds a new extension that contributes a custom image preview for png and jpg files
Still needs a lot of UX work and testing. We are also going to explore a more generic "open handler" based approach for supporting custom editors
Revert
* Re-use existing custom editor if one is already open
* Don't re-create custom editor webview when clicking on already visible custom editor
* Move customEditorInput to own file
* First draft of serializing custom editor inputs
* Use glob patterns instead of simple file extensions for matching custom resoruces for custom editors
* Add descriptions
* Try opening standard editor while prompting for custom editor
* Make sure we hide image status on dispose
* Make sure we restore editor group too
* Use glob patterns for workbench.editor.custom
* Allow users to configure custom editors for additional file types
* Use filename glob instead of glob on full resource path
* Adding placeholder for prompt open with
* Add enableByDefault setting for editor contributions
* Enable custom editors by default and add `discretion` enum
Changes `enableByDefault` boolean to a `discretion` enum. This should give more flexibility if we want other options (such as forcing a given custom editor to always be used even if there are other default ones)
* Allow custom editors to specify both a scheme and filenamePattern they are active for
* Rework custom editor setting
* Don't allow custom editors to be enabled for all resources by a config mistake
* Replace built-in image editor with one from extension
* Adding reopen with command
* Improve comment
* Remove commented code
* Localize package.json and remove image
* Remove extra lib setting from tsconfig
2019-09-10 17:56:57 -07:00
Sandeep Somavarapu
63e24dd208
Merge branch 'master' into sandy081/userDataProvider
2019-09-10 17:40:05 +02:00
Sandeep Somavarapu
cae7f1c4b9
Merge branch 'master' into sandy081/userDataProvider
2019-09-10 15:17:32 +02:00
Sandeep Somavarapu
c26e198c9c
settings sync using remote user data service
2019-09-10 15:16:57 +02:00
Johannes Rieken
5a9913099c
undo usage of tsProjectSrc-stream
2019-09-10 14:58:08 +02:00
Johannes Rieken
c695729eb1
remove gulp-tsb hack, fixes #80629
2019-09-10 14:51:46 +02:00
Johannes Rieken
9ab449f3bd
use tsb 4.0.2 use project files as src-stream, https://github.com/microsoft/vscode/issues/80632
2019-09-10 12:48:04 +02:00
Benjamin Pasero
0030e6ee92
🆙 terser@4.3.1 ( #80627 )
2019-09-10 10:57:54 +02:00
Rob Lourens
bb02180904
Delay gulp-watch read so watch task isn't broken on slower disks.
...
vscode writes files non-atomically. This is useful on an azure devbox over ssh.
2019-09-09 14:39:13 -07:00
isidor
a33e554693
adopt registerAndGetAmdImageURL
...
fixes #80563
2019-09-09 18:15:11 +02:00
Alex Dima
1ba4dc6954
Introduce registerAndGetAmdImageURL and inline such images in the bundle phase in .js
2019-09-09 17:17:12 +02:00
Alex Dima
7b4c75560d
Merge remote-tracking branch 'origin/master' into alex/editor-options
2019-09-06 22:03:38 +02:00
Johannes Rieken
2b46fe4c30
adopt gulp-tsb 4.0.0, remove postinstall hacks
2019-09-06 17:21:36 +02:00
Alex Dima
e787da13c3
Merge remote-tracking branch 'origin/master' into alex/editor-options
2019-09-04 12:54:28 +02:00
Joao Moreno
5d7c8d9212
fix i18n for extensions
2019-09-04 08:05:47 +02:00
Sandeep Somavarapu
3dc748ccca
Merge branch 'master' into sandy081/userDataProvider
2019-09-03 14:55:28 +02:00
Matt Bierner
cf446b9233
Build VS Code using TS 3.6
...
Fixes #80079
Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Alex Dima
363b976941
Convert more editor options
2019-09-02 23:05:00 +02:00
Benjamin Pasero
c7d4c3ce1b
Use terser for minification ( #80201 )
...
* build - minify using terser
* fix minification issues
* build ffs
* Update .cachesalt
* add comment
2019-09-02 11:19:26 +02:00
Sandeep Somavarapu
bb1866ab4e
User data sync: Implement starting flow
...
- user identity
- user login provider
- user data provider
- activation event
- status bar UI
2019-08-25 20:25:16 +02:00
Benjamin Pasero
ccd6d203a0
tslint - also show warning when using NodeJS type
2019-08-22 20:04:00 +02:00
Benjamin Pasero
de04dc374f
tslint - move rules
2019-08-22 08:05:22 +02:00
Johannes Rieken
8d70c559e5
npm installing
2019-08-21 18:05:31 +02:00
Benjamin Pasero
da25e0802a
tslint - polish rule (support multiple declarations)
2019-08-21 17:19:33 +02:00
Benjamin Pasero
90a35ecc5d
TSLint: show a warning when accessing node.js globals in common|browser ( #79222 )
...
* trivial first cut
* document where globals are from
* improve rule detection
* fix "gulp tslint" task
* share rules
* enable more rules
* also add a rule for DOM
2019-08-19 17:13:18 +02:00
Joao Moreno
2278f87c1c
fixes #78159
2019-08-12 16:45:12 +02:00
Yisrael Veller
f084f2c793
Reuse never show again logic - work in progress ( #73968 )
...
* Support never show again option in notification service
* in notify put never show again as secondary
* Allow customization of whether never show again is shown as secondary or primary
* put never show again inside notification object
* feedback
* feedback
2019-08-08 15:47:15 +02:00
Alex Dima
135c473ddf
Fixes #77454 :
...
- do not cary over unnecessary "extends" in tsconfig.json
- keep members ending with `Brand`, but do it at the right phase
- remove shorthand literal usage which confuses tree-shaker
- add back noImplicitAny
2019-07-29 15:39:29 +02:00
Joao Moreno
c96cf5d4d9
fixes #76508
2019-07-26 16:08:27 +02:00
Benjamin Pasero
9e09089a19
eng - bump gulp-watch to stay compatible with our node version
2019-07-15 15:09:22 +02:00
Joao Moreno
7181bf6820
Merge branch 'master' into joao/build-cleanup
2019-07-15 07:32:11 +02:00
Benjamin Pasero
1648e1dcf8
web - add build
2019-07-14 13:12:54 +02:00
Joao Moreno
28c01d3b52
move upload sourcemaps to common agent
2019-07-14 10:31:07 +02:00
Benjamin Pasero
4330dd0eb4
compile leftover
2019-07-11 12:21:14 +02:00
Sandeep Somavarapu
0df6764710
move file service to platform
2019-07-10 20:55:44 +02:00
Alex Dima
cb3b792b50
Fixes #70205 : Switch to polling based watcher that does not miss events
2019-07-05 18:11:44 +02:00
Joao Moreno
b4add9fcaa
remove gulp sequence
2019-07-05 16:11:50 +02:00
Joao Moreno
b472feaafa
add node build script
2019-07-02 08:45:47 +02:00
Joao Moreno
9d75c4e528
cleanup node tasks
2019-07-01 15:20:38 +02:00
Joao Moreno
399ff1a2fe
gulp ci build task
2019-07-01 12:24:33 +02:00
Joao Moreno
e2289d05da
fix relative path
2019-07-01 12:01:47 +02:00
Joao Moreno
a78e60f67f
missing compilation
2019-07-01 11:56:07 +02:00
Joao Moreno
0678cb9ed3
build: remove old extensions build task, split extensions into gulp task
2019-07-01 11:54:36 +02:00
Sandeep Somavarapu
664dacc8b2
move connection auth token out of web configuration
2019-06-19 12:30:16 +02:00
Sandeep Somavarapu
021839444b
take web related changes
2019-06-19 11:55:53 +02:00
Aurélien Pupier
7a5bca9faf
Add License field to package.jsons #68423 ( #68771 )
...
it should avoid to have "warning XXX: No license field" during yarn
build
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Waldir Pimenta
f3e4e47164
Fix spelling of the example abbreviation (e.g.)
2019-06-05 16:00:26 +02:00
Johannes Rieken
6f1da34c2e
debt - decouple webviews from code insets, move things to /browser/-layer, change inset api proposal to push style, re #66418
2019-06-04 12:31:18 +02:00
Benjamin Pasero
73643c60a6
Update to Electron 4.0.x ( #73119 )
...
* Bump electron@4.0.0-beta.9
* electron 4 - temporarily warn about exploration change
* update to Electron 4.0.0 stable
* remove electron 4 notification
* bump to electron@4.0.1
* electron 4: adopt format change of "version" file
* build - set to use exploration image
* Revert "build - set to use exploration image"
This reverts commit 1bb280fc5e
.
* electron@4.0.2
* fix electron.d.ts
* update distro
* bump electron@4.0.4
* debt - adopt new process.getProcessMemoryInfo()
* update electron@4.0.5
* electron@4.0.6
* electron 4.0.x - remove Linux 32bit build
* electron@4.0.7
* electron - update to 4.1.2
* bump electron@4.1.4
* update build (remove Linux32)
* electron@4.1.5
* electron 4 - remove linux 32bit warning
* Remove more 32-bit Linux build stuff
Fixes #66271
* electron@4.2.0
* electron@4.2.1
* electron@4.2.2
* electron@4.2.3
* Revert "electron@4.2.3"
This reverts commit ae375ef764
.
* Revert "Revert "electron@4.2.3""
This reverts commit 513581ebc5
.
2019-06-04 10:50:10 +02:00
Alex Dima
9bcd00284b
Add remote.contribution
2019-05-22 11:50:49 +02:00
Joao Moreno
a477e1eafe
extract native modules ignore rules
2019-05-09 16:27:37 +02:00
Peng Lyu
b72fba1a56
Fix Monaco compilation ( #73243 )
...
* Fix Monaco tsconfig parsing failure and Monaco compilation.
2019-05-03 10:59:50 -07:00
Benjamin Pasero
d5e88fa051
files - more cleanup
2019-04-16 14:40:19 +02:00
Alex Dima
fd8b829e83
Hold back test extensions
2019-04-11 12:34:05 +02:00
Keyi Xie
172a32d5c6
fix mispell
2019-04-09 13:21:46 +08:00
Martin Aeschlimann
6d7959a938
console.log in tslint rule crashes ts server
2019-03-25 15:28:38 +01:00
Alex Dima
78d62636f0
Move standalone editor nls calls to standaloneStrings which will be translated via VS Code
2019-03-25 12:41:32 +01:00
Dirk Baeumer
3d92b725b2
Fixes #71065 : Bring back translation for standalone editor
2019-03-25 12:21:44 +01:00
Benjamin Pasero
71204c12d1
FileService2 - implement createFolder() ( #70758 )
...
* files2 - implement createFolder()
* files2 - easier to understand root check
2019-03-19 15:25:47 +01:00
Johannes Rieken
2f89a79efe
api proposal, add call hierarchy contrib
2019-03-14 16:14:43 +01:00
Alex Dima
c4bed46784
Add a download util that uses a separate process
2019-03-06 10:19:17 +01:00
Daniel Imms
08f1e188f6
Rename contrib/execution to externalTerminal
...
Part of #69107
2019-03-04 16:29:20 -08:00
Dirk Baeumer
1242997422
Fix problem with update localization script
2019-02-20 20:24:28 +01:00
Rob Lourens
aeaef41d51
Fix #68805
2019-02-19 18:05:55 -08:00
Dirk Baeumer
95719e9158
Fixes vscode-translations-export failure
2019-02-18 16:28:31 +01:00
Rob Lourens
f7bfa34a67
Fix build - remove nls.mock reference
2019-02-14 22:51:16 +00:00
Johannes Rieken
3283483974
add formatter call, use it for no-formatter-case for now #41882
2019-02-14 11:16:32 +01:00
Alex Dima
35ffdf5fa5
Better time output
2019-02-12 20:45:54 +01:00
Alex Dima
af95b7d343
Adopt task.define (better task names)
2019-02-12 20:43:55 +01:00
Alex Dima
bb6a790711
Introduce task.define for more precise task naming
2019-02-12 20:43:55 +01:00
Alex Dima
c25de7d09f
Extract task code to its own file
2019-02-12 15:13:43 +01:00
Johannes Rieken
42f2fc9783
Merge pull request #68121 from Microsoft/joh/es6
...
es6 compile
2019-02-11 08:31:44 +01:00
Benjamin Pasero
06ccc3a515
debt - move integrity service to workbench
2019-02-09 16:49:44 +01:00
Alex Dima
7d38cdcb51
Render more task names
2019-02-08 15:55:19 +01:00
Alex Dima
51305a6647
Remove syncExtensions from ResolvedAuthority
2019-02-08 15:24:36 +01:00
Johannes Rieken
815063890b
fix monaco build
2019-02-08 15:20:00 +01:00
Benjamin Pasero
176b65a432
debt - make issue service a contrib to the workbench
2019-02-08 07:47:24 +01:00
Benjamin Pasero
d0f043db69
debt - move jsonValidationExtensionPoint out of services
2019-02-08 07:34:50 +01:00
Benjamin Pasero
289d6a6e7a
kompilatreste
2019-02-07 16:46:41 +01:00
Benjamin Pasero
35523f6c51
debt - workbench/parts => workbench/contrib (update imports and scripts)
2019-02-07 11:48:58 +01:00
Alex Dima
9dc75e92e7
Remove no longer used static method
2019-02-06 21:26:32 +01:00
Alex Dima
64c6cb2174
Update dependencies, remove workaround
2019-02-06 21:23:33 +01:00
Alex Dima
f88e4f457a
Adopt changes in gulp.src
2019-02-06 10:15:36 +01:00
Alex Dima
d71299fe5d
Upgrade to gulp4
2019-02-05 23:11:05 +01:00
Alex Dima
b4445a9f73
Move away from deprecated gulp-util
2019-02-05 22:21:05 +01:00
Alex Dima
c9352c4ca9
Adopt new style gulp tasks for the editor ( #67863 )
2019-02-05 19:23:51 +01:00
Alex Dima
c0c719c651
More gulp task work ( #67863 )
2019-02-04 18:06:23 +01:00
Alex Dima
4676da4595
More gulp clean task simiplifications ( #67863 )
2019-02-04 17:34:26 +01:00
Alex Dima
0280160bd2
More simplifications to extensions gulp tasks ( #67863 )
2019-02-04 16:07:36 +01:00
Alex Dima
77b61a1e55
Simplify gulp tasks for extensions
2019-02-04 14:41:39 +01:00
isidor
c47c001600
move labelService to workbench
2019-01-10 17:21:53 +01:00
Joao Moreno
a6ebfe5082
missing compilation
2019-01-04 11:24:53 +01:00
Matt Bierner
f28c02195a
Revert two bad loop conversions in build
2019-01-03 19:35:20 -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
Rob Lourens
ef2547d547
replace void 0 with undefined
2019-01-03 11:20:19 -08:00
Alex Dima
e4b1db51cc
Fixes #65040
2018-12-17 15:43:09 +01:00
Alex Dima
8c09d4f476
Add error handlers to watchers
2018-12-17 15:23:07 +01:00
Dirk Bäumer
8b86554f3a
Support updating localization extensions from files on disk
2018-11-22 23:36:35 +01:00
isidor
085f4656ed
add some commit hashes and versions to cgmanifest.json
2018-11-20 16:31:08 +01:00
isidor
9edd984da8
delete OSSREADME.json
2018-11-20 12:54:22 +01:00
Alex Dima
976cfe3aa7
Merge branch 'master' into isidorn/cgmanifest
2018-11-16 17:52:27 +01:00
Christof Marti
f00cf99102
Can be undefined ( #63033 )
2018-11-16 09:04:02 +01:00
Rob Lourens
3c6b6e614d
Fix #63033
2018-11-14 15:11:20 -08:00
isidor
347fb6347b
add all cgmanifests. Still no commitHash
2018-11-14 18:18:25 +01:00
Alex Dima
d4bfba4653
Execute extension webpacking in sequence
2018-11-13 16:09:56 +01:00
Alex Dima
6e465986a7
Fix editor publishing scripts (on Windows)
2018-11-13 15:31:28 +01:00
Alex Dima
88bb48278d
Authority exploration
2018-11-08 21:59:56 +01:00
Joao Moreno
e4f9cae949
Merge remote-tracking branch 'origin/master' into snap
2018-11-08 15:21:27 +00:00
Alex Dima
b60903d3c2
Remove no longer necessary 'use strict'
2018-11-07 19:55:44 +01:00
Alex Dima
ffba25fc25
Add compilation output
2018-11-07 17:40:54 +01:00
Alex Dima
c2a09ed400
Minor tweaks
2018-11-07 17:35:55 +01:00
Joao Moreno
b8e7442f5d
set exec bit
2018-11-07 13:58:14 +00:00
Konrad Borowski
0ea372371e
Fix accidental fallthrough in snapshot loader
2018-10-31 16:46:37 +01:00
Rob Lourens
02275f047b
Add tslint rule banning new Buffer
2018-10-25 10:05:34 -07:00
Matt Bierner
9375a38648
Fixing editor-distro compile error
...
Fixes #61741
2018-10-24 22:53:33 -07:00
Alex Dima
072eef20ac
Show monaco.d.ts output only when something has changed
2018-10-24 16:11:48 +02:00
Alex Dima
9deb8d4a42
Read monaco.d.ts.recipe files as needed (don't prepare them up front)
2018-10-24 16:11:48 +02:00
Alex Dima
7e8384ba86
Execute just once after N changes
2018-10-24 16:11:48 +02:00
Alex Dima
baf8b88b1d
Add versioning to monaco.d.ts generation
2018-10-24 16:11:48 +02:00
Dirk Baeumer
d426ebf764
Add linter rule to check for valid localize keys
2018-10-23 21:43:12 +02:00
Johannes Rieken
ac643e170c
show progress when activating an extension via onCommand:Foo, #59645
2018-10-23 12:04:56 +02:00
Alex Dima
67eacaa4a8
Use const enums (and generate non-const ones for standalone editor)
2018-10-22 09:59:30 +02:00
Alex Dima
4b8f928808
Faster monaco.d.ts generation
2018-10-17 23:19:20 +02:00
Alex Dima
4f09f1aa4a
Cache TS source files between runs of generator
2018-10-17 16:54:45 +02:00
Alex Dima
238440b738
Change how monaco.d.ts is generated:
...
- do not use the .d.ts files coming in from gulp-tsb
- remove the generation of .d.ts files
- run before compilation starts
- install file watchers directly
2018-10-17 16:54:45 +02:00
Johannes Rieken
e3062841eb
fix incremental compiler
2018-10-15 11:54:47 +02:00
Benjamin Pasero
05e1c11111
Merge pull request #60875 from Microsoft/ben/sqlite
...
Introduce SQLite (in-memory) for localStorage
2018-10-15 09:10:24 +02:00
Joao Moreno
0f71aebcb5
fix build
2018-10-14 23:33:55 +02:00
Benjamin Pasero
e7c47cdf9c
sqlite - fix compile
2018-10-14 10:44:59 +02:00
Benjamin Pasero
e7ddb88e1e
sqlite - fix compilation
2018-10-14 08:35:31 +02:00
Benjamin Pasero
32f401fb93
sqlite - storage => legacy storage
2018-10-13 17:45:43 +02:00
Matt Bierner
3fcb671444
Use es2017 as target for build scripts ( #60707 )
...
Upgrades our build scripts to target ES2017 since they are run on modern versions of node
This allows us to remove shims for es6 features such as `Object.assign`, and also remove a few extra typings packages
2018-10-12 11:24:15 -07:00
Benjamin Pasero
db6ebe93f8
remove now obsolete code
2018-10-11 12:56:54 +02:00
Matt Bierner
104275cb9f
Add tsconfig.strictNullChecks.json
...
Part of #60565
Adds a new `tsconfig.strictNullChecks.json` project that does not emit anything and is only used for enabling strict null checks on a subset of the vscode codebase.
Opt `iterator.ts` into strict null checking.
Fix our build scripts to properly handle `extends`
2018-10-10 14:55:06 -07:00
Alex Dima
d729e50521
Fix standalone editor gulp scripts.
...
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution
Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Johannes Rieken
ba0448d8bf
add missing compile
2018-10-05 11:48:42 +02:00
Matt Bierner
4b2aed7bb2
let -> const
2018-10-04 19:01:34 -07:00
Matt Bierner
8ecebfb761
var -> let
2018-10-04 19:01:34 -07:00
Matt Bierner
e8475ad59f
Enable noUnusedParameters in build scripts
2018-10-03 17:26:47 -07:00
Matt Bierner
5de9c9bf8b
Compile build in strict mode
2018-10-03 17:26:47 -07:00
Matt Bierner
494395f62f
Adding correct typings for event-stream this values
2018-10-03 17:26:47 -07:00
Matt Bierner
86fbc62cf1
Remove some unused types and variables
2018-10-03 17:26:47 -07:00
Matt Bierner
b3f85e5f19
Add explicit any typings for this
...
Prep to compile build in strict mode
2018-10-03 17:26:47 -07:00
Matt Bierner
f7456ebf90
Switch to use standard @types/node types instead of our customized version
...
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:
- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number
These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here
This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07:00
Matt Bierner
63e3162bc9
Switch to use @types
for pump
2018-10-03 14:18:36 -07:00
Matt Bierner
38fbec9568
Converting some require
imports to import from
imports
...
This ensures we pick up the correct typings for these imports
2018-10-03 14:18:36 -07:00
Matt Bierner
7026335451
Switching to use @types where possible in build
2018-10-03 10:47:32 -07:00
Matt Bierner
ac737307d7
Enable noImplicitAny in build
2018-10-03 10:47:32 -07:00
Matt Bierner
fe45a7d21f
Fix remaining strict null errors in build scripts
2018-10-03 10:47:32 -07:00
Matt Bierner
5862b41657
Fixing strict null rules in tslint
2018-10-03 10:47:32 -07:00
Matt Bierner
31e0752065
Fixing strict null checks in build util
2018-10-03 10:47:32 -07:00
Matt Bierner
ddc5eeee01
Fixing more strict null errors in build
2018-10-03 10:47:32 -07:00
Matt Bierner
6b9ec57923
Fix bundle.ts for strict null checks
2018-10-03 10:47:32 -07:00
Matt Bierner
0434bd7915
Clean up type inclusion logic
2018-10-02 15:59:35 -07:00
Matt Bierner
f5850c9510
Try using @types for typings instead of our custom versions in src/typings
2018-10-02 14:07:19 -07:00
Matt Bierner
fb51020ae3
Switch to use node module resolution
...
This is the modern form of module resolution recommend by typescript
2018-10-02 10:24:20 -07:00
Joao Moreno
13436602b1
Revert "build script: log dowload finished"
...
This reverts commit 3cfe173979
.
2018-10-01 12:44:39 +02:00
Joao Moreno
707787c5b8
update yarn.lock files to use integrity
2018-09-30 16:34:43 +02:00
Martin Aeschlimann
3cfe173979
build script: log dowload finished
2018-09-29 20:54:20 +02:00
Joao Moreno
ece59d53dc
build: sequentialize extension packaging
2018-09-26 15:05:10 +02:00
Joao Moreno
bd0e3aa0cc
fix reporter
2018-09-26 14:55:38 +02:00
Joao Moreno
47bf9b65e8
build
2018-09-26 14:41:56 +02:00
Johannes Rieken
f429984045
try-catch for build stats telemetry
2018-09-24 12:55:32 +02:00
Benjamin Pasero
33911f0634
fix #45749
2018-09-24 07:40:35 +02:00
Ramya Rao
ae526292df
Upgrade appinsights ( #58999 )
...
* Upgrade appinsights
* Env, global updates before starting shared process
* Disable console logging from appinsights Fixes #55417
* Move workaround to helper
2018-09-22 23:09:48 -07:00
Joao Moreno
45200866c0
fixes #58589
2018-09-21 12:16:30 +02:00
Joao Moreno
aa5bcf3565
💄
2018-09-21 08:04:02 +02:00
Johannes Rieken
6c12277bf8
better error printing when vsce fails
2018-09-20 12:06:55 +02:00
Benjamin Pasero
df2af5cc51
add compilation leftover
2018-09-12 08:59:56 +02:00
kieferrm
3193ed3168
correcting GDPR annotations
2018-09-11 16:47:45 -07:00
Johannes Rieken
b118d76826
bundle stats - include all extensions
2018-09-07 11:33:53 +02:00
Johannes Rieken
f8e67cef5d
bundle stats - include commit
2018-09-07 10:26:36 +02:00
Johannes Rieken
934593d7fd
bundle stats: JSON stringify before sending data
2018-09-06 20:02:37 +02:00
Johannes Rieken
9c3d240c9b
build stats - send one object with size and count properties
2018-09-06 18:41:31 +02:00
Johannes Rieken
94c4825153
bundle stats, rename event, tweak gdpr comment
2018-09-06 11:40:52 +02:00
Johannes Rieken
9536dde3b4
app insights challanges
2018-09-06 10:25:45 +02:00
Johannes Rieken
3885d4613e
Merge branch 'master' into joh/vsce-next
2018-09-05 14:06:12 +02:00
Johannes Rieken
cf94186168
tweak event name, add GDPR comment
2018-09-05 10:30:12 +02:00
Matt Bierner
cb81c2c241
Build using ts 3.0 ( #57906 )
...
* Build VS Code using TS 3.0
Fixes #57151
2018-09-04 15:25:39 -07:00
Johannes Rieken
293b1a4eef
stats - send telemetry event about bundle size and file count in extensions
2018-09-04 14:12:26 +02:00
Johannes Rieken
ccec2c9543
use vsce packagedDependencies
2018-09-04 12:29:23 +02:00
Johannes Rieken
07141d4e6b
print all stats at the end of the package task
2018-09-03 11:51:26 +02:00
Johannes Rieken
165bb1aa63
tweaks, add the stream to the bundle step
2018-08-31 13:28:24 +02:00
Johannes Rieken
14596e9475
add a statsStream that aggregates the number of files and bytes so that we can handle them
2018-08-31 11:21:09 +02:00
Johannes Rieken
370e90de7f
webpack - even betterer logging
2018-08-29 19:06:27 +02:00
Johannes Rieken
13763de8e8
webpack - print extension name in context of potential failure
2018-08-29 17:53:57 +02:00
Johannes Rieken
73d8c449c5
webpack - let build fail when webpack generates an error or a warning
2018-08-29 15:20:40 +02:00
Martin Aeschlimann
91c7c6084c
webpack: make sure to only modify package.json next to webpack.config
2018-08-27 14:40:46 +02:00
Martin Aeschlimann
df77466bfa
webpack json-language-features
...
json
2018-08-27 09:46:52 +02:00
Alex Dima
bced36add0
Mark optional property
2018-08-21 12:43:51 +02:00
Alex Dima
92c776bc99
Move packaging extensions to lib/extensions.ts
2018-08-21 12:19:10 +02:00
Johannes Rieken
a25b5cc805
enforce certain compile options
2018-08-16 10:55:49 +02:00
Johannes Rieken
4962417ffc
Revert "ensure uploading source maps happens *after* they have been created"
...
This reverts commit c93fe0d58b
.
2018-08-14 14:23:35 +02:00
Johannes Rieken
c93fe0d58b
ensure uploading source maps happens *after* they have been created
2018-08-14 10:53:59 +02:00
Johannes Rieken
06139b43d4
leave upload path as /dist/
2018-08-13 20:40:22 +02:00
Johannes Rieken
bb07163524
more tweaks
2018-08-13 18:52:12 +02:00
Johannes Rieken
0425b36c5d
patch and save source maps so that they get uploaded
2018-08-13 18:23:46 +02:00
Johannes Rieken
4955f2131e
Merge branch 'master' into joh/extpack
2018-08-13 15:38:49 +02:00
Alex Dima
933c8d4b06
Bring back nls bundles for the editor
2018-08-12 15:46:41 +02:00
Alex Dima
3c7b9a8c55
Create the ESM distribution from the tree shaken sources
2018-08-12 15:46:32 +02:00
Johannes Rieken
b2c8ca553c
tweak source mapping url
2018-08-10 16:15:34 +02:00
Johannes Rieken
6f55622a06
make sure to massage sourcemaps-url, make sure to upload sourcemaps from dist/folders
2018-08-10 15:36:44 +02:00