Commit Graph

11405 Commits

Author SHA1 Message Date
Matt Bierner 8b2b819f55 Update test case 2021-10-12 17:29:53 -07:00
Matt Bierner 5d60bcd241 Fix null type error 2021-10-12 17:02:06 -07:00
Lemmingh d3ceb35bec Add source map for every possible element in the Markdown preview (#134799)
* Update markdown-it and type definitions

* Refresh the source map mechanism in `markdownEngine.ts`
2021-10-12 16:25:56 -07:00
Rob Lourens cee08d43d0 Avoid async promise executor
#134873
2021-10-12 15:04:11 -07:00
Matt Bierner fc7a9d1309 Add missing change 2021-10-12 12:18:34 -07:00
Matt Bierner d8091da23c Simplify _onDidChangeInlayHints firing 2021-10-12 12:11:34 -07:00
Don Jayamanne 79a3586d6c Add cell_ids for ipynb with nbformat >= 4.5 (#134835) 2021-10-12 09:35:05 -07:00
Alexandru Dima d89101fcaa Merge pull request #134856 from yume-chan/patch-1
Fix a typo in npm extension package.json
2021-10-12 17:32:46 +02:00
Johannes Rieken 7283f5cb7c fix https://github.com/microsoft/vscode/issues/130057 2021-10-12 13:12:11 +02:00
Benjamin Pasero 3cda269c80 ESlint: enable no-async-promise-executor (#134873) 2021-10-12 10:50:44 +02:00
Simon Chan c6e447b350 Fix a typo in npm extension package.json 2021-10-12 12:27:25 +08:00
Matt Bierner 8b688986b7 Enable rendering of bare math blocks in notebooks
Fixes #133390

Adds support for math blocks that just start with `\begin` instead of being wrapped in dollar signs
2021-10-11 19:08:44 -07:00
Raymond Zhao 68013971ff Add language mapping as param to getEmmetMode
Fixes #127996
2021-10-11 15:38:12 -07:00
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