Commit graph

89389 commits

Author SHA1 Message Date
Johannes Rieken 9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Johannes Rieken 799d82fcc3
add isProposedApiEnabled-util, move checkProposedApiEnabled-util, use utils instead of reading the enableProposedApi-property, https://github.com/microsoft/vscode/issues/129037 2021-11-09 14:13:32 +01:00
Johannes Rieken 9867849287
use nullExtensionDescription in more places, https://github.com/microsoft/vscode/issues/131165 2021-11-09 13:52:01 +01:00
Johannes Rieken 3abda3b8b9
💄 2021-11-09 13:38:10 +01:00
Henning Dieterichs d7ed0e3740
Uses Array.map. 2021-11-09 13:27:09 +01:00
Henning Dieterichs b2b3437743
Improves comments. 2021-11-09 13:26:32 +01:00
João Moreno 5dfa71a9e8
fix(git): 🐛 git api commands should be registered as contributions
Closes: #111658
2021-11-09 13:24:28 +01:00
Henning Dieterichs ace51630a9
hiddenAreasIds -> hiddenAreasDecorationIds, fixes leaking decorations when lines are reconstructed. 2021-11-09 12:16:46 +01:00
Henning Dieterichs 1abc24d708
_reduceRanges -> normalizeLineRanges. 2021-11-09 12:11:36 +01:00
Henning Dieterichs 3f56153091
💄 (Reordering Symbols, Fixing spaces) 2021-11-09 11:48:49 +01:00
Henning Dieterichs c833f69a9b
Moves modelLineProjectionData into its own file. 2021-11-09 11:41:33 +01:00
Henning Dieterichs 0b5e7026d2
Renames LineBreakData to ModelLineProjectionData 2021-11-09 11:35:21 +01:00
Henning Dieterichs 80ab37febe
model line projection cleanup. 2021-11-09 11:30:21 +01:00
Henning Dieterichs d2df861e50
Improves prefix sum computer docs. 2021-11-09 11:29:29 +01:00
Alex Ross 056fa407c6
Await workspace trust in auto tasks
Fixes #136715
2021-11-09 11:03:32 +01:00
Henning Dieterichs ee9d0446cf
Merge pull request #136665 from microsoft/hediet/injected-text-adoption
injected text adoption
2021-11-09 10:49:17 +01:00
Sandeep Somavarapu 3ad622acbd
update log message 2021-11-09 10:11:36 +01:00
Sandeep Somavarapu 5e0d7da407
debug error name 2021-11-09 10:07:23 +01:00
João Moreno 86dc8a88a4
refactor(table): align table colors with keybinding table 2021-11-09 10:00:28 +01:00
Alex Dima 14a2bc760b
Move error handling code sooner in the extension host process lifecycle 2021-11-09 09:57:46 +01:00
Henning Dieterichs 8b0ea7ddd9
Refactors color detector to use injected text. 2021-11-09 09:29:41 +01:00
Henning Dieterichs e7eb1fca51
Makes DynamicCssRules reusable. 2021-11-09 09:29:40 +01:00
Henning Dieterichs 744c859e71
Adopts injected text for debug inline values. 2021-11-09 09:29:40 +01:00
Henning Dieterichs 6336884c38
Adopts injected text for debug-top-stack-frame-column spacer. 2021-11-09 09:29:39 +01:00
Henning Dieterichs 13438fb09f
Adopts injected text for breakpoint space decoration. 2021-11-09 09:29:33 +01:00
Sandeep Somavarapu 89862489b1
clean up 2021-11-09 08:45:23 +01:00
Sandeep Somavarapu 0c240a6ca1
Merge pull request #136440 from microsoft:aeschli/abstractExtensionResourceLoaderService
Share common code for the ExtensionResourceLoaderService
2021-11-09 08:39:53 +01:00
Benjamin Pasero 1b0a9c19a2
lifecycle - emit onWillKill when app.exit 2021-11-09 07:59:07 +01:00
Benjamin Pasero 0413d4a596
web - make shutdown return a promise 2021-11-09 07:37:09 +01:00
Matt Bierner b614fb5db8
Fix highlighting of dollar amount at start of line in md files
Fixes #136535
2021-11-08 17:53:52 -08:00
Matt Bierner 0eee604f01
Allow non-word character after inline math code block
Fixes #136584
2021-11-08 17:43:46 -08:00
Matt Bierner 9b455176e9
Add matchesSomeScheme helper
Useful for checking against multiple allowed schemes
2021-11-08 17:25:33 -08:00
Matt Bierner 2d271e5e73
Add vsls to openers
For #136139
2021-11-08 17:19:02 -08:00
Matt Bierner d4f6110bbd
Document webviewPanel scheme 2021-11-08 17:19:01 -08:00
Gvozd fdf8f1114f
133348 fix oom when search opened in editor (#136554)
* fix crash by OOM, when search opened in editor (fix #135950) - major memory optimization [2671Mb -> 220Mb] [1.9sec -> 1.6sec]

usecase from https://github.com/microsoft/vscode/issues/133348#issuecomment-962272357
file for search - `plugins.pkgd.min.js` from https://github.com/froala/wysiwyg-editor

* fix crash by OOM, when search opened in editor (fix #135950) - additional memory optimization [220Mb -> 15Mb] [1.6sec -> 2.2sec]
Slightly slower due to gc calls

usecase from https://github.com/microsoft/vscode/issues/133348#issuecomment-962272357
file for search - `plugins.pkgd.min.js` from https://github.com/froala/wysiwyg-editor

* fix crash by OOM, when search opened in editor (fix #135950) - performance optimization[2.2sec -> 50ms]

usecase from https://github.com/microsoft/vscode/issues/133348#issuecomment-962272357
file for search - `plugins.pkgd.min.js` from https://github.com/froala/wysiwyg-editor
2021-11-08 17:09:44 -08:00
Matt Bierner e5bb28a325
Pick up TS@next for building vscode 2021-11-08 14:34:21 -08:00
Matt Bierner d18adf8669
Pick up TS 4.5 RC
For #136704
2021-11-08 14:34:21 -08:00
Tyler Leonhardt 4cbb56de95
walks up dom tree to select previous element. Fixes #114590 2021-11-08 14:14:53 -08:00
Matt Bierner 8b7aa3c278
Use editor font for markdown codeblocks
For #136693
2021-11-08 14:11:59 -08:00
rebornix dcb02cd1ec
💄 2021-11-08 13:51:16 -08:00
Matt Bierner 5e6d0e1cbb
Initial support for syntax highlighting md code blocks in notebooks
For #136693
2021-11-08 12:30:13 -08:00
Sandeep Somavarapu 0a8e75411e
clean up 2021-11-08 21:19:18 +01:00
Sandeep Somavarapu ecf994ecfa
- Use logger service to create output appender
- Unify output channels and services in ext host
- remove unused main output service methods
2021-11-08 21:15:31 +01:00
Henning Dieterichs 472b3e5447
Fixes LineBreakData unit test. 2021-11-08 19:52:24 +01:00
Benjamin Pasero 419744928a
editors - await closing of editor before opening to the side (fix #122363) (#136602) 2021-11-08 13:35:22 -05:00
Tyler Leonhardt b3c13934b1
use allow opener on non-Safari 2021-11-08 10:24:37 -08:00
Benjamin Pasero 9e3b8c9e50
web - properly ignore shutdown when expected 2021-11-08 19:23:41 +01:00
Sandeep Somavarapu a1de3ce2a5
introduce logger service in ext host and use it to create log service 2021-11-08 17:46:50 +01:00
Henning Dieterichs d6cc630086
Fixes bug when normalizing positions around injected text. 2021-11-08 17:36:14 +01:00
João Moreno 98f5bf9b9b
feat(scm): introduce scm.diffDecorationsIgnoreTrimWhitespace
Closes: #130956
2021-11-08 17:01:34 +01:00