Commit graph

974 commits

Author SHA1 Message Date
Matt Bierner 34c620efbe
Hook up new markdown workspace header suggestion setting (#174004)
Fixes #172977

Also fixes the settingsTree matching settings ids too eagerly
2023-02-10 09:09:00 +01:00
Ely Ronnen 5b79b91838
Fix #173869 marking active line for code elements too in markdown pre… (#173870)
Fix #173869 marking active line for code elements too in markdown preview
2023-02-08 20:25:54 +00:00
Logan Ramos 8e6bcc9b9e
Bump module to new package (#173599) 2023-02-06 12:29:36 -08:00
Matt Bierner c35c98fc00
Pick up latest markdown language server (#173234)
For #172977
2023-02-03 06:46:30 +01:00
ibuky 9894ae8700
fix#171379 (#172175)
Co-authored-by: VTX0 <VTX0>
2023-02-01 00:35:02 +00:00
Arthur 934e0ee5d8
Fix #170706 (#172842) 2023-02-01 00:34:02 +00:00
Matt Bierner c18f80a2d4
Pass translations down to Markdown Language Server (#172884)
Fixes #172060
2023-01-31 06:29:41 +01:00
Matt Bierner 4630d8e4de
Remove more implicit activation events from built-in extensions (#172838) 2023-01-30 17:25:56 -08:00
Matt Bierner 10ffbae8ae
Use more restrictive lib for markdown language server (#172873) 2023-01-30 16:52:58 -08:00
Matt Bierner e4b323c098
Allow <source> tags in rendered markdown (#172063)
Fixes #171330
2023-01-23 21:07:25 +01:00
Logan Ramos 8cea434dec
Remove unused proposals (#172035) 2023-01-23 19:09:07 +01:00
Daniel Imms e29f8fd78f
Remove .only from test (#170970) 2023-01-10 16:14:18 +01:00
Logan Ramos 4acf2d9b46
Update the telemetry modules (#170512)
Update the module
2023-01-03 15:10:45 -05:00
Matt Bierner fc763d98df
Re-apply markdown copy files setting (#169661)
* Revert "Revert "Add experimental setting to define where files should be copied for markdown (#169454)" (#169615)"

This reverts commit b2121c2dbe.

* Fix tests

These paths should always use `/`
2022-12-20 11:04:51 -08:00
Christof Marti b2121c2dbe
Revert "Add experimental setting to define where files should be copied for markdown (#169454)" (#169615)
This reverts commit 1d6b47a005.
2022-12-20 10:03:12 +01:00
Matt Bierner 1d6b47a005
Revert 1d0a9f9e63 (#169578)
Resubmits the original PR with test fixes for windows
2022-12-19 14:25:37 -08:00
Benjamin Pasero 1d0a9f9e63
Revert "Add experimental setting to define where files should be copied for markdown" (#169492)
Revert "Add experimental setting to define where files should be copied for markdown (#169454)"

This reverts commit 09c0b1f799.
2022-12-18 14:11:45 -08:00
Matt Bierner 09c0b1f799
Add experimental setting to define where files should be copied for markdown (#169454)
For #157043
2022-12-16 16:23:59 -08:00
Daniel Imms 925b335bb9
Replace other non-hyphenated double-click cases
I used ^[^*\/\/]+double click to find the non-comment cases
2022-12-15 10:54:54 -08:00
Logan Ramos b1076b41f3
Bump telemetry packages (#169283) 2022-12-15 17:29:10 +01:00
Matt Bierner 57dd298b47
Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Matt Bierner ac88f33e2c
Revert "Fix: New md file scrolls to Top. (#164999)" (#168224)
This reverts commit 54543cf5bf.
2022-12-06 22:50:30 +01:00
Matt Bierner d62fb120a4
Pick up latest markdown language server (#167869) 2022-12-05 21:13:24 +01:00
Matt Bierner 9b3371e6e3
Fix path sep for markdown drop on windows (#167862)
Fixes #167824
2022-12-01 19:27:21 +01:00
Matt Bierner 3b29d21a83
Dynamically register markdown completions and document highlights (#167451)
Fixes #165920
2022-11-28 20:56:55 +00:00
Matt Bierner 107d3ab28c
Fix markdown scrolling between elements being too jumpy (#166746)
Fixes #165055

We need to consider the distance between the end of the previous element and start of the next element. Previously we were taking distance from start of the previous to start of the next
2022-11-18 13:02:56 -08:00
Greg Van Liew 816f31f691
More settings description tuning (#166429) 2022-11-16 09:33:33 -08:00
Johannes Rieken 3ffb834054
Merge branch 'main' into joh/rewrite-privates 2022-11-16 10:20:49 +01:00
Matt Bierner edccbd1307
Pick up latest markdown language server (#166404)
Also removes some duplicated files
2022-11-15 18:27:22 -08:00
Matt Bierner 04ef3dad8f
Adopt @vscode/l10n for markdown language server (#165880) 2022-11-15 22:56:12 +01:00
Johannes 5912ad3ff1
Merge branch 'main' into joh/rewrite-privates 2022-11-15 09:44:34 +01:00
Matt Bierner 0b9121953f
Added mangling loader for ts files in extensions 2022-11-14 16:34:04 -08:00
Greg Van Liew 27a550f451
Settings description edits (#166315)
* Settings description edits

* Remove unnecessary trailing line returns
2022-11-14 13:47:54 -08:00
Logan Ramos 73d882bcf7
Update telemetry package (#166292) 2022-11-14 09:30:33 -08:00
Matt Bierner a62879bb46
Try computing windows paths correctly on markdown drop (#166077)
Fixes #165352
2022-11-13 15:03:05 -08:00
Matt Bierner ca15dea96b
Pick up latest dompurify and typings for vscode-markdown-languageservice (#166062)
Pick up latest typings from vscode-markdown-languageservice
2022-11-10 21:58:16 -08:00
Marina Miyaoka aa37e17423
Do not preprocess Unicode newlines in Markdown preview (#166026)
Revert LS PS preprocessing in Markdown preview
2022-11-10 19:46:43 +00:00
Debayan Ganguly 54543cf5bf
Fix: New md file scrolls to Top. (#164999)
Fixes #164071.
2022-11-09 13:48:39 -08:00
Logan Ramos bf1697d98c
Consume proposed telemetry API (#165862)
* Consume proposed telemetry API

* Update webpack
2022-11-08 21:58:28 -05:00
Matt Bierner cd29f751eb
Adopt l10n for markdown extension (#165448)
For #164438

Also makes our eslint rules understand `vscode.l10n.t(`
2022-11-04 09:49:49 +01:00
Hugh Lilly 190db489e0
Markdown lang preview settings description (#165109)
* Change descriptions to just say “Enable…”

Previously these said “Enable or disable…”, which in the context of a tick box doesn’t make sense.

* Change “Enable/disable” wording in descriptions
2022-11-01 15:48:59 -07:00
Matt Bierner 4bf630f00e
Pick up latest markdown language service (#165093) 2022-10-31 19:52:21 -07:00
Matt Bierner 33867c55f3
Adopt prefix private with _ in markdown extension (#165088) 2022-10-31 14:22:39 -07:00
Matt Bierner 3e407526a1
Pick up latest markdown LS (#164945)
Picks up https://github.com/microsoft/vscode-markdown-languageservice/pull/84
2022-10-29 11:40:56 -07:00
Matt Bierner 7cb1b9d9f0
Fix bugs with close of markdown docs (#164942)
There are two bugs here:

- Something in the lsp is converting a value from `undefined` to `null`. To fix this, I've updated us just to check for falsy values instead
- The `hasInMemoryDoc` implementation was incorrect. It needs to verify that the value of `this.inMemoryDoc` is not null/undefined
2022-10-29 02:08:21 +02:00
Matt Bierner 12ada73bf9
Disable markdown insert link commands in readonly editors (#164820)
Disable insert link commands in readonly editors
2022-10-27 23:52:05 +02:00
Matt Bierner 3544aabd5a
Fix markdown document deleting (#164829)
Fixes #164562

My previous fix was incorrect as it checked if the document existed by still consulting our `_documentCache`. When we are deleting/renaming an opened md document, it should pretty much always exist in our cache

The fix is to instead treat `this.documents` and the file system as the source of truth when determining if the doc should be deleted or not
2022-10-27 21:49:05 +02:00
Matt Bierner 0570a7678d
Use posix path for markdown links (#164822)
Fixes #164782
2022-10-27 19:21:03 +02:00
Alexandru Dima 0f2285c3e9
Don't ship yarn.lock file with the markdown extension (#164794) 2022-10-27 12:09:38 +02:00
Matt Bierner 1316bf789f
Rework markdown update link glob (#164766)
* Rework markdown update link glob

Fixes #164587

This changes the `externalFileGlobs` setting to instead be a include array of globs that should trigger link updates. I've split the globs into markdown files and image/video files

This also makes it easier for users to add their own new globs to the list

* Fix scopes
2022-10-27 01:45:45 +02:00