Commit graph

11595 commits

Author SHA1 Message Date
Connor Peet 9176be11bc
debug: don't active js-debug unnecessarily
Fixes https://github.com/microsoft/vscode-js-debug/issues/1106
2021-10-11 15:28:26 -07:00
Matt Bierner f47ae9e324
Disable dynamic routing when experimental project wide diagnostics are enabled
Fixes #132121

We don't track project loading state properly when project wide diagnostics are enable. Just disable it for now since this is an experimental feature
2021-10-11 14:50:28 -07:00
João Moreno a390f81744
no hack is better hack
Co-authored-by: Tyler <TylerLeonhardt@users.noreply.github.com>
2021-10-11 18:02:36 +02:00
Johannes Rieken 5dcc08052c
change back onDidChaonDidChangeInlayHints, ignore events for model for which a request is currently pending, https://github.com/microsoft/vscode/issues/13043 2021-10-11 10:32:00 +02:00
Raymond Zhao 8919d390eb
Fix #130868 2021-10-08 14:14:14 -07:00
Jim Griesmer 845af8a5c3
Enlarge small markdown text size - trivial change (#134550)
* Enlarge small markdown text size - trivial change

* Didn't intend to change h1 line height

* Simplify font-size story for h1, h2, h3 and p
2021-10-08 12:29:39 -07:00
Matt Bierner 14f72608c0
Remove definition list snippet
#134611

This is non-standard md and was incorrectly added. Instead the snippet should be included by whatever extension introduces support for this syntax
2021-10-08 12:24:20 -07:00
Tyler Leonhardt 5364c56768
include insiders.vscode in nocors 2021-10-08 11:32:28 -07:00
Raymond Zhao 1fff41e37c
Use actual value
Fixes #128110
2021-10-08 09:02:18 -07:00
Martin Aeschlimann 7aaa2474eb
JSON Schema validation https failed without details. Fixes #127769 2021-10-08 12:03:03 +02:00
Matt Bierner 0dae77d06e
Enable markdown links with line numbers to non-md files
Fixes #125320
2021-10-07 18:35:09 -07:00
Matt Bierner ecae847b95
Fix navigate in untitled files 2021-10-07 18:14:16 -07:00
Matt Bierner d8507236f1
Rewrite logic for opening markdown document links
Fixes #133823

This rewrites openDocumentLink to use `stat` to check if files exists before trying to open them. This lets us avoid showing extra error popups while trying to open resources
2021-10-07 18:10:05 -07:00
Matt Bierner 710e0d4d9c
Add mjs/cjs and mts/cts to path based language mode checks 2021-10-07 17:47:17 -07:00
Matt Bierner 62d631a165
Add serializer for simple browser
Fixes #119057
2021-10-07 16:49:33 -07:00
Raymond Zhao f542a0e83a
Update emmet-helper dependency
Fixes #117519
Fixes #131966
2021-10-07 16:30:17 -07:00
Raymond Zhao c359130500
Change emmet.extensionsPath to machine-overridable
Affects #117519
2021-10-07 16:30:15 -07:00
Gerrit Birkeland 3629e68250
Fix rendering of @example comment blocks (#132821) 2021-10-07 16:22:36 -07:00
Raymond Zhao f25fd50e22
Add > to Emmet expand suggestions
Fixes #120566
2021-10-07 08:34:51 -07:00
Matt Bierner 91132cab87
Use | undefined instead of ? for some readonly properties on objects that we control
For #124362

This includes:

- Event objects
- Context objects passed to providers
- Managed objects such as `TextEditor`
2021-10-06 19:08:22 -07:00
Raymond Zhao 665e0adaec
Add update tag placeholder.
Fixes #128110
2021-10-06 16:41:17 -07:00
Raymond Zhao 59bcc6a556
Ignore Emmet test workspace
Fixes #134112
2021-10-06 14:49:01 -07:00
Raymond Zhao 982e1af4ac
Change various Emmet settings to be resource scope
Affects #117519
2021-10-06 14:38:45 -07:00
Matt Bierner 8a600adb5c
Register .cts and .mts as TypeScript files
For https://github.com/microsoft/TypeScript/pull/44501
2021-10-06 14:33:36 -07:00
Raymond Zhao 7ff3cc58d6
Add specific activation languages
Fixes #133194
2021-10-06 12:22:37 -07:00
Raymond Zhao 748a753aa0
Don't show completion on comment lines
Fixes #117888
2021-10-06 11:24:32 -07:00
Matt Bierner 78c627f1c9
Trigger inlay hints for all visible JS/TS editors when one changes
Fixes #130430
2021-10-05 12:20:42 -07:00
Miguel Solorio b074a8af98 Fix #86965 2021-10-04 15:27:25 -07:00
Matt Bierner eb5ec1b324
Use warning for partial mode language status item 2021-10-04 09:19:47 -07:00
Logan Rasmussen 35ea6c0cf5
Remove angle brackets when checking the scheme (#133419)
* Remove angle brackets when checking the scheme

This only removes the brackets during the scheme check if the initial link provided actually has angle brackets.

* Move angle bracket logic to document link file

Change to use replace instead of match for easier reading
2021-10-04 08:31:52 -07:00
Matt Bierner 9990843822
Disable non syntax errors in files that don't have semantic capabilities (#134175)
If we're on a host that supports semantic checking, but in a file that doesn't support semantic errors, we currently don't want to report semantic errors since these will likely complain about imports and other undefined symols
2021-10-04 08:11:16 -07:00
Johannes Rieken f8e953fdff
adopt API breakage of onDidChangeInlayHints 2021-10-04 12:59:25 +02:00
Logan Ramos a4342f3add
Bump telemetry module 2021-10-01 16:52:56 -04:00
Matt Bierner 5fc835305a
Re-enable webview tests on web (#134300)
* Enable webview tests on web

These tests pass fine on Chrome and webkit. On Firefox, the two about loading resources currently fail

I spent a while trying to debug what is going on with these tests. It seems like the service workers is registered properly but `fetch` is never called on it. Skipping these for now

* Remove only

* Fix test
2021-10-01 12:32:29 -07:00
Matt Bierner 12167d7ce8
Note required TS version of JSX completion setting 2021-09-30 17:20:27 -07:00
Matt Bierner 595bc1d56b
Fix fragment being dropped from in-memory js/ts resources
Some documents (specifically notebook cells) use the fragment to identify different document parts

Make sure we preserve this
2021-09-30 11:49:08 -07:00
Christof Marti 71089dc095 Wording (microsoft/vscode-remote-release#5530) 2021-09-30 16:47:00 +02:00
Martin Aeschlimann ab55b573ea
add tag closing for tsx (for #34484) 2021-09-30 11:17:42 +02:00
Martin Aeschlimann 801dff2f3b
[html] auto close triggers on undo/redo and breaks undo/redo history. Fixes #34484 2021-09-30 11:10:09 +02:00
Eric Amodio 051a07a0c9 Forgot to bump limit to 10K 2021-09-30 01:12:28 -04:00
Eric Amodio 2306ad1ef4 Fixes #129669: new setting to control status limit
Also bumps the default from 5000 to 10,000
2021-09-30 01:04:30 -04:00
Matt Bierner 6fed60f8f4
Fix formatting
Introduced by PR
2021-09-29 21:32:20 -07:00
Stephen Sigwart 2b3f9adf88
Fix typescript NLS JSON (#134179) 2021-09-29 21:13:03 -07:00
Stephen Sigwart ba48f5c1f0 Update to match new enum 2021-09-29 23:16:07 -04:00
Stephen Sigwart c5d3ad08f0 Switch to settings.html.completion.attributeDefaultValue 2021-09-29 21:44:16 -04:00
Stephen Sigwart 40b976f056 Add doNotAddAttributeQuotes setting to disable automatic quotes 2021-09-29 21:44:16 -04:00
Don Jayamanne fc7adcf92a
Merge pull request #134168 from DonJayamanne/removeBuiltInLatex
Remove built-in latext output rendering in nb
2021-09-29 16:33:40 -07:00
Armando Aguirre 7fdc489e08
Add jsxAttributeCompletionStyle setting (#133920)
* Add jsxAttributeCompletionStyle setting

* Apply suggestions from code review

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2021-09-29 16:20:23 -07:00
Don Jayamanne d2c7e3d06f Remove built-in latext output rendering in nb 2021-09-29 16:02:47 -07:00
Matt Bierner fa27356174
Update link 2021-09-29 08:45:48 -07:00
Matt Bierner ece191d76f
Use correct project types for javascript projects 2021-09-29 08:42:59 -07:00
Christof Marti b085e1c21e Add "features" property to schema (microsoft/vscode-remote-release#5442) 2021-09-29 11:03:00 +02:00
Philipp Nagel e58932d492
Recognize .pyt files in Python extension (#133546) 2021-09-29 00:51:42 -07:00
Matt Bierner c03da8b023
Add consolidated IntelliSense status item
Fixes #133731
2021-09-28 18:30:47 -07:00
Matt Bierner c6d45158c5
Spelling 2021-09-28 16:59:04 -07:00
Eric Amodio 6fe68a2b0c Fixes #133974: SCM - sync changes button 2021-09-28 15:10:57 -04:00
Martin Aeschlimann e653defeca
[html/css] update services 2021-09-28 17:55:59 +02:00
Eric Amodio 214ac689ca Fixes type 2021-09-28 00:48:28 -04:00
Eric Amodio 51bd88d8f2 Adds git.showUnpublishedCommitsButton setting 2021-09-28 00:13:51 -04:00
Alex Dima bfc02befad
Revert "Update highlightjs"
This reverts commit 436f9d38b0.
2021-09-28 00:59:21 +02:00
Matt Bierner 436f9d38b0
Update highlightjs 2021-09-27 15:43:26 -07:00
Matt Bierner 124f1ef74e
Remove extra check for non-nullable param 2021-09-27 15:43:25 -07:00
Matt Bierner 8731be5e78
Fix errors in untitled JS/TS files 2021-09-27 14:09:31 -07:00
Matt Bierner 1aa23f12ac
Only show capabilities item when in single file mode
For #133731

No need to show this normally since project intellisense is the default
2021-09-27 13:39:26 -07:00
Matt Bierner f47586563e
Show loading spinner while loading status of tsconfig for current file 2021-09-27 13:39:25 -07:00
Ikko Ashimine 437b6ce304
Fix typo in completions.test.ts (#133401)
backets -> brackets
2021-09-27 12:23:56 -07:00
Martin Aeschlimann e29f8d7d14
[css/html/json] update service 2021-09-27 21:02:20 +02:00
Logan Ramos 26ba13ff98
Fix + re-enable close tests 2021-09-27 10:52:47 -04:00
Eric Amodio 55c726b53e Adds scm action button
Refs: #110882
2021-09-27 01:16:09 -04:00
Tyler Leonhardt 8c6e828a8e
update randombytes reference 2021-09-25 10:30:55 -07:00
Don Jayamanne 6f7d3aaacf
Merge pull request #133762 from microsoft/crlf 2021-09-24 14:15:02 -07:00
Don Jayamanne fd910caaf2 Support nbformat 4.5 2021-09-24 13:16:03 -07:00
Logan Ramos d2c8185df9
Skip tab close test for now 2021-09-24 15:57:24 -04:00
Logan Ramos 7800296d17
Add close to tab model 2021-09-24 15:53:38 -04:00
Don Jayamanne 217e74508d add new line 2021-09-24 12:48:03 -07:00
Don Jayamanne 0bf3b221ca Fix unnecessary changes 2021-09-24 12:45:03 -07:00
Don Jayamanne 3e10e0c49b oops 2021-09-24 10:51:16 -07:00
Don Jayamanne 2f43876783 Ensure nb cell source uses LF instead of CRLF 2021-09-24 10:35:22 -07:00
Alexandru Dima d02ba46704
undo bad change 2021-09-24 16:21:50 +02:00
Alexandru Dima be33a77d8c
Use onDynamic* instead of onScoped* for events that are returned from method calls (#133445) 2021-09-24 16:16:28 +02:00
Logan Ramos cbe175f438
Fix tests attempt number two 2021-09-24 10:12:52 -04:00
Logan Ramos ce7c00f4fb
Fix integration tests 2021-09-24 09:43:06 -04:00
Logan Ramos 620a61f5a3
Add more move tests 2021-09-24 09:09:35 -04:00
Tyler Leonhardt ab184912e6
make sure we splice the sessions if they have the same set of scopes for github authentication 2021-09-23 16:46:31 -07:00
Don Jayamanne cb70ab5526
Merge pull request #133464 from DonJayamanne/textLatex 2021-09-23 15:13:16 -07:00
Logan Ramos 927a28da01
Add tab move tests 2021-09-23 15:35:34 -04:00
Logan Ramos 282f499c22
Update extension telemetry module 2021-09-23 11:26:57 -04:00
Alex Ross a15378a9db
Allow tunnel providers to define port privacy options (#133677) 2021-09-23 16:24:51 +02:00
Johannes Rieken ba961427c3
fix https://github.com/microsoft/vscode/issues/132981 2021-09-23 14:55:54 +02:00
Don Jayamanne 1e5e3642b2 Misc 2021-09-22 13:16:37 -07:00
Logan Ramos 420436d4c4
Fix #133493 2021-09-21 13:36:30 -04:00
Don Jayamanne 245fffbce1 Misc 2021-09-21 10:17:33 -07:00
Henning Dieterichs d6b2e78477
Fixes #132847 by configuring ${...} as bracket pair. 2021-09-21 12:28:25 +02:00
Don Jayamanne 68ba13d07c Remove window keyword from serializer 2021-09-20 09:49:00 -07:00
Alex Ross 12bccfd022
Update devcontainer schema (#132047)
Part of microsoft/vscode-remote-release#3450
2021-09-20 15:22:44 +02:00
Alex Ross 086a033a56
Update C# grammar 2021-09-20 13:56:20 +02:00
Benjamin Pasero adee8fa29a
editors - shorten diff labels (#110694) 2021-09-19 17:29:44 +02:00
Benjamin Pasero 54cdd9c58b
status - improve hover feedback for compact entries (#129037) 2021-09-18 09:53:10 +02:00
Logan Ramos c46e473ad8
Re-enable notebook in tabs test 2021-09-17 13:08:44 -04:00
Daniel Imms 4a7fddb0d2 Fix TerminalState tests 2021-09-17 06:31:43 -07:00
Martin Aeschlimann 5aebde7b48
[html] auto close triggers on undo/redo and breaks undo/redo history. Fixes #34484 2021-09-17 14:35:52 +02:00
Matt Bierner c25cf4a01a
Remove workaround cast 2021-09-16 17:21:01 -07:00
Matt Bierner eefcaf6e0f
Extract duplicated constant 2021-09-16 17:20:03 -07:00
Matt Bierner 6d01964e8e
Add language status item for single file mode
Fixes #133296
2021-09-16 17:20:02 -07:00
Matt Bierner 43f7c113e4
Move project status items to a new ui folder 2021-09-16 17:20:02 -07:00
Don Jayamanne 192e689be1 Fixes to image serializations 2021-09-16 16:27:44 -07:00
Don Jayamanne 1eb4ff560b Fixes to image serialization 2021-09-16 15:59:41 -07:00
Matt Bierner 8b285b170e
Add log for failing test 2021-09-16 15:21:28 -07:00
Logan Ramos 76c3eb94c9
On the fly tab model construction (#133025)
* Enrich the change event

* Initial tab model building

* Work in progress model construction

* Add pauseable emitter

* Attempt using microtask

* Make tests pass

* Update active tab logic

* Fix layering issue

* event rename

* PR feedback

* Remove stray new line

* Add test for microtask emitter

* Add move event

* Add mmerge functionality to Microtask emitter

* Fix compilation errrors

* Fix tests

* Add tests to address feedback

* Change editor change event to an array

* Add array support to editorsChangeEvent

* Update src/vs/workbench/common/editor/editorGroupModel.ts

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>

* Switch to a less efficient array method

* Add console.log for debugging

* Test with different notebook

* Fix notebook URI

* For now split up file open for better debugging

* Don't use notebook in test for now

* Cleanup event

* Fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2021-09-16 14:34:54 -04:00
Martin Aeschlimann 57dde04b44
Can't read StatusBarItem.tooltip anymore. Fixes #133231 2021-09-16 11:57:26 +02:00
Matt Bierner 4fcbe9449c
Add support for cross file JS/TS intellisense in yarn web
Fixes #133199
2021-09-15 16:26:22 -07:00
Matt Bierner 8a912d57c3
Include in-memory in same implicit JS/TS project
Fixes #133195
2021-09-15 16:26:22 -07:00
Benjamin Pasero 8de035e09d
tests - remove only usage 2021-09-15 16:40:21 +02:00
Benjamin Pasero 129e62c989
storage - do not fail state access for extensions (#132777) (#133071) 2021-09-15 07:34:54 +02:00
Matt Bierner 4c78259529
Revert 75e1fa6c43
Fixes #132741

Let's keep the outline extensible. Instead, a markdown extension could contribute support for the syntax in the original issue in #131427
2021-09-14 16:36:53 -07:00
Matt Bierner 0db5f55854
Unskip two webview tests
These reliably pass locally for me
2021-09-14 14:29:55 -07:00
Matt Bierner 9e5ee5521a
Pick up new TS version for building VS Code
Fixes a few instances of `Promise.all` and also adds an any cast to workaround an issue
2021-09-14 14:24:53 -07:00
Matt Bierner b4b591213d
Pick up TS 4.4.3 2021-09-14 14:24:52 -07:00
Matt Bierner e43d47e852
Add missing await
Doesn't seem to cause any issues currently
2021-09-14 09:54:05 -07:00
Matt Bierner d3585388be
Make sure markdown.showSource correctly awaits opening the document
Fixes #132914
2021-09-14 09:54:05 -07:00
Matt Bierner fc5e2f515c
Adopting langauge status api for JS/TS versions (#132015)
* Adopting language status api for JS/TS versions

* Polish
2021-09-14 08:35:12 -07:00
Miguel Solorio e9b74efc3c Update seti 2021-09-13 10:34:54 -07:00
Matt Bierner ad67ad4530
Show lightbulb when user makes a selection in js/ts 2021-09-09 18:18:00 -07:00
Matt Bierner 74989b2993
Fix organize import for empty file
Fixes #132637

We should not show the lightbulb when auto applying code actions
2021-09-09 18:18:00 -07:00
Matt Bierner c62f59fcae
Fix map func not having this bound
Fixes #132703
2021-09-09 15:03:30 -07:00
Justin Wei 0aaedebdb0
Do not fold closing tag (#132316) 2021-09-09 14:27:16 -07:00
Martin Aeschlimann 8af5d85c3b
Merge pull request #132523 from AkatQuas/fix/runner
fix: early return on cancellation
2021-09-09 09:42:04 +02:00
Martin Aeschlimann 9ebc659dc1
[css/html] update language services 2021-09-09 09:36:04 +02:00
Martin Aeschlimann b7c8113cc4
Merge pull request #132512 from adaex/update-seti-ui
Update to latest seti-ui icon theme
2021-09-09 09:05:30 +02:00
Martin Aeschlimann 2039be03bf
Merge pull request #132508 from AkatQuas/fix/html-language-feature
fix(html-language-feature): remove vague statement
2021-09-09 09:04:10 +02:00
Matt Bierner 277f6ef132
Log errors when loading markdown-it plugins 2021-09-08 15:12:46 -07:00
Matt Bierner d3642c3f60
Removing support for old style markdown symbol links in vscode.d.ts
Fixes #132663
2021-09-08 15:11:19 -07:00
Logan Ramos 65a8d1234c
Remove diff resource 2021-09-08 14:20:08 -04:00
Raymond Zhao df115e761a
Revert "Re-enable tab tests"
This reverts commit e0cdd0974b.
Revert reason: browser integration tests failing
2021-09-08 10:31:46 -07:00
Logan Ramos e0cdd0974b
Re-enable tab tests 2021-09-08 10:35:58 -04:00
Matt Bierner 34861b8c8a
Add comments on how fenced code block should not be localized
For #132190
2021-09-07 16:31:45 -07:00
Logan Ramos b699fab482
Skip tests 2021-09-07 18:34:16 -04:00
Matt Bierner f1581dcad7
Fix labels for optional auto imports
Fixes #132212
2021-09-07 14:54:11 -07:00
Matt Bierner 80f4b6f655
Fix links in cgmanifest
Fixes #132525

Updates the links except for trac. These were just copied in from TS
2021-09-07 14:46:19 -07:00
Logan Ramos 0f238bf3f9
Try promise.race 2021-09-07 17:40:43 -04:00
Don Jayamanne 2581658e96
Merge pull request #132298 from davidanthoff/setKernelSpecAndLanguageInfo
Add setKernelSpecAndLanguageInfo to ipynb ext
2021-09-07 13:24:12 -07:00
Don Jayamanne c962433c68 Remove old API 2021-09-07 13:04:03 -07:00
Don Jayamanne 55af133ac4 Udpates 2021-09-07 09:40:55 -07:00
Logan Ramos e287a168dc
Fix tab tests 2021-09-07 10:31:47 -04:00
Logan Ramos d9a63f4cd8
Fix tabs tests 2021-09-07 09:49:34 -04:00
AkatQuas e4fb11a1e7 fix: early return on cancellation 2021-09-07 16:28:21 +08:00
Aex d4afb96b17 Update to latest seti-ui icon theme 2021-09-07 06:08:39 +00:00
AkatQuas 779e587197 fix(html-language-feature): remove vague statement 2021-09-07 11:35:18 +08:00
FW c2347df53b
Add .cff to the recognized YAML file extensions (#131323) 2021-09-06 14:33:29 +02:00
Tyler Leonhardt 997228d528
verify uri is correct 2021-09-04 08:58:31 -07:00
Tyler Leonhardt 15dfc742a6
ensure event comes from edit 2021-09-03 18:25:25 -07:00
Tyler Leonhardt e415d6ff35
revert test to unblock build 2021-09-03 17:59:05 -07:00
Tyler Leonhardt 3ccb217338
add additional logging 2021-09-03 16:18:03 -07:00
Tyler Leonhardt 319a72459f
fix windows CI failure 2021-09-03 16:06:37 -07:00
Tyler Leonhardt 4735c328d7
add confidence correction for language detection 2021-09-03 14:49:53 -07:00
David Anthoff 426d60625c Add language_info to setKernelSpec 2021-09-03 14:17:27 -07:00
David Anthoff 4f7a2ddf75 Add setKernelSpecAndLanguageInfo to ipynb ext 2021-09-03 13:17:09 -07:00
Logan Ramos 9408062d1a
Add active tab test 2021-09-03 15:46:07 -04:00
Logan Ramos 82a3d2645f
Skip tabs test 2021-09-03 14:56:52 -04:00
Logan Ramos 5d7f4d3461
Add todo and remove test.only 2021-09-03 14:29:28 -04:00
Logan Ramos 22ca6611bd
Add get tabs tests 2021-09-03 13:47:01 -04:00
Matt Bierner aec6ee09fa
Remove eslint disablement in file
" -> '
2021-09-02 16:58:01 -07:00
Matt Bierner 0e52275271
Introduce WebviewOptions.forms
Fixes #132157
2021-09-02 13:24:49 -07:00
Sandeep Somavarapu 961c2e353d
remove web extension kind in builtin extensions 2021-09-01 15:09:21 +02:00
Alex Ross bd2493499d
Update C# grammar 2021-09-01 09:14:11 +02:00
Martin Aeschlimann 554182620f
Use filenamePatterns in seti update script. Fixes #131650 2021-08-31 18:13:22 +02:00
Martin Aeschlimann 7b14717389
Merge pull request #131856 from adaex/update-seti-icon
Update to latest seti-ui icon theme
2021-08-31 15:18:47 +02:00
John Murray 75e1fa6c43
fix #131427 ignore extension contributions when populating Outline for markdown file (#131572) 2021-08-30 14:13:17 -07:00
Matt Bierner 28bc889cea
Use ActivationFunction 2021-08-30 13:54:39 -07:00
Matt Bierner 0ec3d48b70
Use @types/vscode-notebook-renderer 2021-08-30 13:54:39 -07:00
Alex Ross 6ceee3192e
Update grammars 2021-08-30 14:45:57 +02:00
Johannes Rieken 2d2b2519ce
Merge branch 'joh/next' into main 2021-08-30 09:14:30 +02:00
Aex eaf74ae6ac Update to latest seti-ui icon theme 2021-08-29 07:11:31 +00:00
Jonah Snider 19512e92cb
Fix typo in javascript.inlayHints.propertyDeclarationTypes.enabled description (#131760) 2021-08-27 15:20:20 -07:00
Logan Ramos 8dbad73de5
Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos ecc7fdac90
Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Johannes Rieken f71aba6560
make sure createDiagnosticsCollection doesn't leak RPC, https://github.com/microsoft/vscode/issues/115679 2021-08-27 12:12:53 +02:00
Matt Bierner cb842dcad0
Pick up TS 4.4 final 2021-08-26 16:02:34 -07:00
Matt Bierner b2bbd76e80
Fix writing kernelspec
For #130602

I think we need to write it into metadata section instead of the top level
2021-08-25 13:27:02 -07:00
Benjamin Pasero 68daa9669e
fix #131535 (#131630) 2021-08-25 10:53:38 -07:00
Henning Dieterichs 80627022a0
Don't colorize brackets in markdown files. 2021-08-25 10:25:47 +02:00
Henning Dieterichs c7d55735fd
Merge pull request #131405 from microsoft/hediet/colorizedBracketPairs
Implements language configurable colorizedBracketPairs property.
2021-08-25 10:23:55 +02:00
Matt Bierner d082058d44
Add API for setting kernelspec in ipynb files (#131219)
* Add API for setting kernelspec in ipynb files

Fixes #130602

This adds a new API to the built-in ipynb extension that lets other extension set the kernelspec metadata on a notebook file

* Temporarily skip the notebook editor tests

We need the new webview content to be published before these can run

* Use `custom`  instead of top level property
2021-08-24 18:06:53 -07:00
Matt Bierner d152e72606
Skip webview test on web for now 2021-08-24 18:06:18 -07:00
Don Jayamanne 7bbd66c2d2 Fixes with tests 2021-08-24 17:17:48 -07:00
Don Jayamanne 31abc3784e Revert "Merge pull request #131592 from DonJayamanne/revertPerfFixes2"
This reverts commit 52baabff07, reversing
changes made to 6e930fb6d4.
2021-08-24 17:16:44 -07:00
Don Jayamanne c397afa3bd Revert "Merge pull request #131035 from DonJayamanne/issue129370"
This reverts commit b23486ef7a, reversing
changes made to 9e0732389b.
2021-08-24 16:27:10 -07:00
Matt Bierner a024cbcc42
Unskip tests 2021-08-24 15:14:15 -07:00
Matt Bierner 065b5f9715
Don't skip webview tests
Should be fixed now
2021-08-24 15:08:11 -07:00
Don Jayamanne b23486ef7a
Merge pull request #131035 from DonJayamanne/issue129370 2021-08-24 13:51:50 -07:00
Rob Lourens f4db5eac35 Disable tests that hit the notebook webview (see e4a7f93ed3) 2021-08-24 00:03:09 -07:00
Rob Lourens 2212b766aa Also skip Notebook API Tests (see e4a7f93ed3) 2021-08-23 23:17:54 -07:00
Matt Bierner e4a7f93ed3
Temporarily skip the notebook editor tests
We need the new webview content to be published before these can run
2021-08-23 19:25:55 -07:00
Matt Bierner f29bc05bb5
Disable parameter names hints by default 2021-08-23 13:51:10 -07:00
Henning Dieterichs 9f6e7a7e9f
Implements language configurable colorizedBracketPairs property. 2021-08-23 15:21:51 +02:00
Ladislau Szomoru f29238c5f4
Update jschardet package 2021-08-23 10:47:41 +02:00
Daniel Imms 23760f5234 Remove change state event interface
Part of #127717
2021-08-19 14:40:33 -07:00
Don Jayamanne 23cfb0b997 Fixes 2021-08-19 12:23:01 -07:00
Don Jayamanne 6cbf300b65 Fixes 2021-08-19 12:22:08 -07:00
Don Jayamanne 9347bc5c24 More perf fixes after review 2021-08-19 12:20:39 -07:00
Rob Lourens 81a3dceec5 Fix #131113 2021-08-19 08:03:58 -07:00
Martin Aeschlimann e6a3ae661d
html-language-features CONTRIBUTING.md is wrong. Fixes #129842 2021-08-19 11:50:09 +02:00
Matt Bierner e802791cf1
Introduce typescript.tsserver.useSyntaxServer
Fixes #131142

This setting replaces `typescript.tsserver.useSeparateSyntaxServer` and officailly documents the syntax only mode on desktop
2021-08-18 18:36:37 -07:00
Matt Bierner e56fa01346
Switch to dompurify 2021-08-18 16:54:59 -07:00
Matt Bierner 068dcfbfc8
Allow images in md by default 2021-08-18 16:54:58 -07:00
Matt Bierner a6d26aa31c
Add insane for notebook markdown rendering 2021-08-18 15:09:23 -07:00
Tyler Leonhardt 78414130c7
update setting since we support non-untitled editors for language detection and clean up code a tad. 2021-08-18 10:54:32 -07:00
Don Jayamanne 09f68d545d Optimize indentation detection 2021-08-17 14:51:53 -07:00
Don Jayamanne 0882f1e571 Perf improvements to the ipynb serializer 2021-08-17 12:52:59 -07:00
Martin Aeschlimann cae939b682
Merge pull request #129330 from matkoniecz/patch-1
recognise .geojson as json, fixes #129329
2021-08-17 17:11:28 +02:00
Alex Dima 2fbaf20cca
Merge remote-tracking branch 'origin/main' into pr/ssigwart/128931 2021-08-17 14:57:37 +02:00
Jean Pierre c094fcf995
Fixes #113475 (#130815) 2021-08-16 16:47:23 -07:00
Tyler Leonhardt 520fa49e68
refactor github auth to be a bit simpler. Remove PAT for GitHub auth since Settings Sync doesn't allow for it and add timeout so that GitHub Auth is not stuck. 2021-08-16 16:34:21 -07:00
Alex Ross 84a8a567e8
Move TaskGroup isDefault api out of proposed
Part of #79188
2021-08-16 15:07:07 +02:00
Matt Bierner 691e9cea33
Support clickable links between markdown cells
Fixes #103519
2021-08-13 14:17:10 -07:00
Daniel Imms 00cb4888d6
Merge pull request #130726 from microsoft/tyriar/127717
Implement Terminal.state proposed API and associated event
2021-08-13 08:08:40 -07:00
Daniel Imms ddcf2d6630 Dispose of terminal at end of onDidChangeTerminalState test 2021-08-13 07:00:41 -07:00
Daniel Imms 189a73a197 Add listener to disposables array 2021-08-13 06:45:36 -07:00
Daniel Imms be646cf780 Use correct assert import 2021-08-12 17:21:26 -07:00
Matt Bierner bbe80088ee
Pick up TS 4.4 rc 2021-08-12 15:35:07 -07:00
Matt Bierner 5fe071c2e7
Don't return trigger characters for ambient JS suggestions
Fixes #130096
2021-08-12 15:34:34 -07:00
Daniel Imms 241a07d412 Add test, finish piping through interaction event
Part of #127717
2021-08-12 15:33:25 -07:00
Tyler Leonhardt 84abbfba40
rename language detection setting and ensure one worker gets created 2021-08-12 13:38:54 -07:00
Matt Bierner ab8e743520
Organize imports in ext tests 2021-08-11 16:55:51 -07:00
Matt Bierner 76cbce4663
Pick up ts 4.4 insiders 2021-08-11 16:42:14 -07:00
rebornix 0ab9d9926d revert undo/redo fix for scrolling. fix #130607, #130617 2021-08-11 16:04:00 -07:00
Rob Lourens ff681a5db2 Ensure final cell execution update is not delayed 2021-08-11 14:52:52 -07:00
Miguel Solorio 7c25c17472 Update seti (refs #129894) 2021-08-10 21:37:29 -07:00
Logan Ramos da7d76d2ec
Update extension telemetry module 2021-08-10 12:43:41 -04:00
Alex Ross dd4fd68940
Update grammars 2021-08-10 17:06:42 +02:00
Matt Bierner 813c0b2178
Pick up newest TS versions 2021-08-09 11:24:34 -07:00
Logan Ramos 6aa5b9226b
Update extension telemetry module 2021-08-09 13:16:08 -04:00
Rob Lourens accf5ae359 Add Jupyter language with JSON syntax highlighting
#128495
2021-08-06 15:51:29 -07:00
Miguel Solorio 3f4879a8cb update seti theme 2021-08-06 13:52:02 -07:00
Miguel Solorio 5a394770ad update seti theme 2021-08-06 13:18:22 -07:00
rebornix 5dd10ce83b no more undo command test. 2021-08-06 13:03:40 -07:00
Tyler James Leonhardt cfcda1c048
Improve performance of language detection (#130006)
* initial move to worker

* move event handling to the untitledTextEditorModel

* reuse simpleWorker interfaces and classes

* use correct path to languageDetection

* have vscode-languagedetection be outside of the asar

* add telemetry

* don't unpackage anything from languagedetection because it's not needed

* add an integration test

* some of Ben's feedback

* rework worker code to avoid duplication

* add isDisposed check

* fix test

* Isi and Ben feedback part 2

* use RunOnceScheduler instead and try to fix the test using events

* Ben feedback part 3

* bump distro
2021-08-06 11:56:14 -07:00
Rob Lourens 1dae051c56 Change exportNotebook API to return string 2021-08-05 17:14:47 -07:00
Matt Bierner bc0e917553
Mark embedded template expressions as other
Fixes #127005
Fixes ##124270
2021-08-05 17:08:52 -07:00
Matt Bierner affc733e4e
Fix format errors from PR 2021-08-05 14:55:55 -07:00
Christopher Yeh 4a69c3dda7
Persist KaTeX macros across render calls (#129747)
* Use KaTeX "globalGroup" for markdown rendering

* Use KaTeX "globalGroup" for markdown rendering
2021-08-05 14:37:49 -07:00
Matt Bierner a4eb4d6884
Update math fixture 2021-08-05 14:00:36 -07:00
Matt Bierner f8cc75937a
Fix syntax highlighting of math in markdown lists
Fixes #128411
2021-08-05 13:32:55 -07:00
Matt Bierner dc54347a27
Exclude a few extra build files from build 2021-08-05 13:32:54 -07:00
Rob Lourens 2a933e4505 Add ipynb extension API to invoke the serializer.
So the jupyter extension can implement custom Export functionality, and can dump an unsaved notebook
#128495
2021-08-05 12:14:08 -07:00
Alfi Maulana 0f99773ce9
feat: add .tpp and .txx as c++ extensions (#130101) 2021-08-05 09:27:58 +02:00
rebornix 369afa6562 fix #121100. PausableEmitter 2021-08-04 11:59:29 -07:00
Raymond Zhao 686745c5d4
Help emmet settings show up in settings editor 2021-08-04 10:37:01 -07:00
Megan Rogge d579ec3d9b
fix #121523 2021-08-04 12:14:59 -04:00
Matt Bierner f944203712
Remove old cast
Not needed with TS 4.4
2021-08-03 22:15:43 -07:00