Commit Graph

11471 Commits

Author SHA1 Message Date
Raymond Zhao 5e2605f0e3 Bump emmet-helper 2021-10-15 10:41:13 -07:00
Megan Rogge 5350eaa205 skip failing test 2021-10-15 09:41:50 -07:00
Benjamin Pasero 1afe238fed comment out failing test (#135157) 2021-10-15 13:40:33 +02:00
Matt Bierner e125508f86 Update colorization test results
Turns out the results differ if you run the tests in VS Code insiders VS from the cli :(
2021-10-14 17:05:08 -07:00
Matt Bierner 41df0673f8 Allow spaces in katex commands
Fixes #128411
2021-10-14 16:00:00 -07:00
Matt Bierner 6ae9e9d86c Add more specific check for lib files on web 2021-10-14 10:10:55 -07:00
Matt Bierner b7c340f119 Simplify import path 2021-10-14 09:32:35 -07:00
Matt Bierner c986aef642 Remove .only and fix fragment used when opening file
Keeping the fragment causes a duplicated file to be opened
2021-10-13 19:33:56 -07:00
Matt Bierner 830987eac3 Refactor document link opening
- Extract out of command
- Try to preserve uri instead of converting to path
- Better handle case with absolute file path when there is no workspace
2021-10-13 19:27:35 -07:00
Matt Bierner d1f72b5420 Try to clairify how md links are resolved
For #101203

The current logic ends up tossing out the uri scheme and other important info when opening md links. This PR tries to avoid that
2021-10-13 19:00:19 -07:00
Sean McManus ae1bfc57d1 Update package.json
%html.format.wrapAttributesIndentSize.desc% contains markdown text.
2021-10-13 16:48:42 -07:00
Tyler Leonhardt a4a3e4e8b0 remove async executor of Promise ref #134873 2021-10-13 09:09:24 -07:00
Henning Dieterichs 1a2749d798 Fixes #132802 by making maxTokenizationLineLength configurable per language and reducing the default for TypeScript. 2021-10-13 16:19:54 +02:00
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