Commit graph

41303 commits

Author SHA1 Message Date
Rob Lourens 49ba5a4b9c Fix #60203 - VSCODE_NODE_CACHED_DATA_DIR can be inherited from the DA process. If --no-cached-data is passed, that var should be cleared 2018-10-18 08:59:20 -07:00
isidor b58e07b1cf openViewlet should return a Thenable 2018-10-18 17:15:54 +02:00
isidor 3b5247eb89 Composite.create is sync 2018-10-18 17:15:54 +02:00
Martin Aeschlimann 2317de3fc7 strict null checks for json utils (adopt latest jsonc-parser code) 2018-10-18 16:50:25 +02:00
Johannes Rieken f5bfeb734c fix #61179 2018-10-18 16:25:09 +02:00
Benjamin Pasero 5e12e53497 TPromise => Promise 2018-10-18 15:42:58 +02:00
Johannes Rieken f13c8d1eab use IconLabel for all icons, #44860 2018-10-18 15:19:20 +02:00
Johannes Rieken ceb17ee29b show folder icons from theme #44860 2018-10-18 15:19:20 +02:00
Benjamin Pasero 0301fdb51d introduce and use IFileService#activateProvider() 2018-10-18 14:42:14 +02:00
Andre Weinand cef0992fff use debug uri for relative paths; better fix for #61088 2018-10-18 13:56:11 +02:00
Martin Aeschlimann 994eaadcb9 Move icon theme down to editor/platform. Fixes #61031 2018-10-18 12:20:46 +02:00
Johannes Rieken faf868edf4 propagate error when it happens very early, make sure to throw meaningful error on ext host side, #61182 2018-10-18 12:20:05 +02:00
Martin Aeschlimann 0ca196a5cd Save file dialog initialized with the filesystem root. Fixes #60939 2018-10-18 11:42:43 +02:00
Martin Aeschlimann a333fd01bb Empty window with backup: opens twice the same window on each restart. Fixes #61210 2018-10-18 11:11:39 +02:00
isidor a6c8d961d4 debug: make sure to de-dupe if a session is re-intialized. In case of EH debugging we are adding a session again after an attach.
fixes #60809
2018-10-18 10:13:21 +02:00
Robert Balent 2f78e29ce5 Fixing image viewer zoom (#61198) 2018-10-18 07:56:59 +02:00
Rob Lourens 9e83209ed5 Bump node2 2018-10-17 21:03:24 -07:00
Rob Lourens 0120caf4e3 Fix querybuilder tests 2018-10-17 20:55:00 -07:00
Rob Lourens 66d113d2ce Fix #61089 - setting row height 2018-10-17 20:22:12 -07:00
Rob Lourens d47f6b4f99 Fix #61041 2018-10-17 20:22:12 -07:00
Rob Lourens 9b739ad670 Refactor search - multiline/preview options tweaks 2018-10-17 20:22:12 -07:00
Matt Bierner 1b812bade4 Don't re-encode markdown styles http uris
Fixes #60742

These uris should already be encoded. Don't try encoding them again which may cause the uri to become invalid
2018-10-17 18:49:18 -07:00
Matt Bierner 481e001d0b Strict null checks
#60565
2018-10-17 18:10:27 -07:00
Matt Bierner 33d86f14e2 Auto add a few more files to strict null checks 2018-10-17 17:26:16 -07:00
Matt Bierner c6f19c3ceb Use theme colors for webview scrollbars
Fixes #59320

Switches webview scrollbars to use themecolors instead of hardcoded values
2018-10-17 17:25:56 -07:00
Matt Bierner 39b6d1aaf2 Add guards for webview deserialization possibly failing
Fixes #60960

Adds two fixes for  #60960

- Don't convert uris to strings for serialization but instead leave them as their components. This lets us avoid having to call `parse` in `deserialize`

- Add try catches around operations like `parse` that may throw
2018-10-17 17:01:06 -07:00
Matt Bierner 3cf3e16284 Explicitly type simple array
Add typings for the pattern: `let x = []` which defaults to `let x: any[] = []`

#60565
2018-10-17 16:39:23 -07:00
Matt Bierner 202c2b697f let -> const 2018-10-17 16:29:31 -07:00
Matt Bierner f6397266ab Use namespaces for converts
Most converters are already using namespaces. Switch a few using const object to use namespaces instead
2018-10-17 16:28:50 -07:00
Matt Bierner e377ec6ed2 Use to for converting to extension host
Fixes #61141
2018-10-17 16:25:57 -07:00
Matt Bierner b43d76887d Add more detail to disableAutomaticTypeAcquisition setting description
Fixes #60984
2018-10-17 16:22:25 -07:00
Matt Bierner ff13b50277 Strict null checking some more files in base/node
#60565
2018-10-17 16:22:25 -07:00
Prem Kagrani 0338b5b8fe Fixed typos and a word (#61171) 2018-10-17 15:51:43 -07:00
Karthikayan f891d5a7b0 include priority in requestItem and add to request queue accordingly (#60582)
* include priority in requestItem and add to queue accordingly

* add boolean lowPriority flag to requestItem and add to queue based on that

* set lowPriority flag to optional

* send lowPriority flag from CodeLensProvider

* revert priorityFlag for provider
2018-10-17 15:21:36 -07:00
Alex Dima 4b8f928808 Faster monaco.d.ts generation 2018-10-17 23:19:20 +02:00
Andre Weinand 613aa464ae support relative paths for backward compatibility; fixes #61088 2018-10-17 23:11:17 +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
Andre Weinand 48adb204e9 never convert relative paths to URIs; fixes #60667 2018-10-17 16:48:07 +02:00
Johannes Rieken f0101b07d4 new monaco.d.ts 2018-10-17 15:57:02 +02:00
Johannes Rieken 993787821f typos #57093 2018-10-17 15:12:14 +02:00
Johannes Rieken 078b1415e4 add proposed api for CompletionItemInsertTextRule, #57093 2018-10-17 15:10:15 +02:00
Johannes Rieken 349c18db22 add CompletionItemInsertTextRules on modes.ts so that we can have that in vscode.d.ts, #57093 2018-10-17 15:10:15 +02:00
Johannes Rieken cceb269135 remove unused noAutoAccept property, #57093 2018-10-17 15:10:15 +02:00
Benjamin Pasero bc94252427 storage - 💄 2018-10-17 12:37:07 +02:00
Andre Weinand 1a348aa9f9 clone DAP message before modifying it; fixes #61129 2018-10-17 12:19:59 +02:00
isidor d08e54002b We add the input decoration only when the focus is in the input
fixes #61126
2018-10-17 12:17:33 +02:00
Alex Dima eef12f8734 Support using webpack's process: 'mock' (Microsoft/monaco-editor-webpack-plugin#17) 2018-10-17 12:01:47 +02:00
Sandeep Somavarapu f853267a5b #60211 Show message when data providers are not yet registered 2018-10-17 11:50:03 +02:00
Alex Ross 87ce9c3f24
Add a setting to control cwd behavior on terminal split (#60949)
Adds a new setting: `terminal.integrated.splitCwd`
With these options: `workspaceRoot`, `sourceInitialCwd`, `sourceCwd`
`workspaceRoot`is the existing behavior. The new split terminal's cwd will be the workspace root.
`sourceInitialCwd` uses the 'parent' terminals initial cwd for the new terminal.
`sourceCwd` on macOS and Linux this gets the cwd of the 'parent' terminal and uses that as the cwd for the new split terminal.
Default setting is to keep the existing behavior with `workspaceRoot`
Fixes #48447
2018-10-17 11:45:20 +02:00