Matt Bierner
c38d441d37
Make sure inline math is marked as markdown-math
...
For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
2021-10-20 14:22:44 -07:00
Matt Bierner
3dc7b03ff9
Allow leading and trailing math on same line as math block
...
Fixes #134893
2021-10-20 14:17:46 -07:00
Matt Bierner
04f51add61
Disable markdown math inside of raw code blocks
...
For #135254
2021-10-20 13:29:28 -07:00
Logan Ramos
514ad0acf0
Fix #135422
2021-10-20 15:18:46 -04:00
Martin Aeschlimann
510b49e1da
New snippets file has language mode of "JSON" rather than "JSON with comments". Fixes #120190 . Fixes #119538
2021-10-20 19:17:07 +02:00
Raymond Zhao
fc504f3af3
Fix when clauses for Emmet commands
2021-10-20 09:02:28 -07:00
Aex
56deb2ac17
Update to latest seti-ui icon theme
2021-10-20 15:32:24 +00:00
Henning Dieterichs
792df9da2f
Fixes #135125 by not colorizing any bracket pairs in html.
2021-10-20 16:08:11 +02:00
Matt Bierner
2ae9352ae3
Try to avoid opening text documents just to process diagnostics
...
To handle JS/TS diagnostics, we currently use the language mode of an open text document. This should always be correct, but also causes us to open text documents that we don't need to
This change instead tries using the file extension first before falling back to use the text document. Using the file extension is not strictly correct since users can setup weird file associations, but should be ok for the vast majority of use cases
Investigated as part of #101885
2021-10-19 17:54:23 -07:00
Matt Bierner
8fc2a8d2ce
Fix comment
2021-10-19 17:54:23 -07:00
Raymond Zhao
7f8d465069
Fixes #134149
...
- Add more Emmet onCommand activation points
- Only let Emmet commands show up in files
2021-10-19 16:07:27 -07:00
Tabitha Larkin
fba6ce545e
Add colorized bracket highlighting colours ( #132494 )
2021-10-19 05:48:39 -07:00
Matt Bierner
7bc28074bf
Exclude tr from markdown hover
...
Fixes #135278
Fixes #135037
2021-10-18 17:13:44 -07:00
Martin Aeschlimann
b53c8e1d99
Merge pull request #135188 from JaredNeil/jaredneil-fix-bazel-icon
...
Update seti-ui for Bazel icon fix
2021-10-18 14:28:38 +02:00
Martin Aeschlimann
a946f9e643
fix for #134873
2021-10-15 23:57:54 +02:00
Damian Cyntler
a12e9cd91e
Fix zoom-out on an image [ #131080 ] ( #134706 )
2021-10-15 14:38:38 -07:00
Jared Neil
65f21ad59f
Update seti-ui for Bazel icon fix
2021-10-15 15:07:04 -06:00
Martin Aeschlimann
a78567110c
html: polish reading of settings
2021-10-15 20:11:06 +02:00
Martin Aeschlimann
8d70e049dd
Merge pull request #129284 from ssigwart/noQuotes
...
Add doNotAddAttributeQuotes setting to disable automatic quotes
2021-10-15 19:56:02 +02:00
Martin Aeschlimann
b1c3c96901
Merge pull request #135050 from sean-mcmanus/patch-1
...
Update package.json
2021-10-15 19:47:33 +02:00
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