Commit graph

13037 commits

Author SHA1 Message Date
Matt Bierner c6559ccf21
Pick up TS 4.9 rc for bundled VS Code version (#165205) 2022-11-01 16:39:15 -07:00
Matt Bierner 8ad43669a9
Prompt users to test with extensions disabled (#165203) 2022-11-01 16:38:45 -07: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
Sandeep Somavarapu fe882ab334
api feedback (#164470)
* api feedback
- remove critical log level
- move log level off to be 0

* handle off log level

* fix disabling log level in tests

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-11-01 10:41:19 -04:00
Alex Ross ceaf7a431b
Update grammars (#165100) 2022-11-01 07:21:34 -07:00
João Moreno 18f1101f70
skip flaky test (#165150)
* skip flaky test

related to #165149

* skip the entire suite
2022-11-01 06:26:44 -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 b97827dacf
Adopt notebook serializer for notebook document tests (#165081)
For #160580

Also remove one test that is no longer relevant
2022-10-31 12:56:40 -07:00
Tyler James Leonhardt 9b3e147d6d
GitHub Enterprise Auth improvements (#165082)
1. Namespace secrets based on the value of github-enterprise.uri to support "multiple separate GHES instances"
2. If the setting value disappears, continue using last set value. Fixes https://github.com/microsoft/vscode-pull-request-github/issues/3992
3. Mark github-enterprise.uri as requires trust
3. Refactoring like:
  * UriHandler is handled in extension.ts and passed down everywhere since we can only have 1 instance of it
  * misc style (`private` usage, better `disposable` handling)
2022-10-31 12:18:54 -07:00
Matt Bierner c60980ca7a
Adopt notebook serializer for test (#165078)
For #160580
2022-10-31 12:01:38 -07:00
Matt Bierner ef5671a46f
Pick up latest TS for VS Code (#165075) 2022-10-31 11:42:11 -07:00
Henning Dieterichs 6800f96aad
Merge pull request #165051 from microsoft/hediet/nearby-worm
Implements #164686
2022-10-31 18:57:46 +01:00
David Dossett 2e7c0662c3
Updates custom menu borders and item styles (#164165)
Updates menu item margin and radius and adds border to default themes
2022-10-31 10:27:56 -07:00
Henning Dieterichs d27d0c28e2
Implements #164686 2022-10-31 14:54:57 +01:00
Henning Dieterichs 50b1bccd17
Remove inlineCompletionsNew proposal. Fixes #164856 (#165044) 2022-10-31 13:29:04 +01:00
João Moreno 53ef06a2dc
bump unique names generator (#165015) 2022-10-31 08:25:51 +01: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
Ladislau Szomoru 67b8c25157
Commit Action button polish (#164746) 2022-10-28 15:23:19 +02:00
Ladislau Szomoru f09c4124a2
Engineering - adopt l10n for git-base/git/github extesions (#164566)
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-10-28 11:27:08 +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
Rob Lourens 98f401e8b9
Fix .ipynb extension name capitalization (#164817)
Towards microsoft/vscode-jupyter#11773
2022-10-27 18:05:28 +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
Matt Bierner d2f8ae6cce
Clean up a few markdown setting descriptions (#164765)
Clean up wording and make sure we use `Markdown` uppercase
2022-10-26 16:29:06 -07:00
Matt Bierner d1af68711d
Pick up latest markdown LS (#164763)
Includes a few more fixes for link update on rename
2022-10-27 00:39:58 +02:00
Matt Bierner 7060fb81dd
Shorten markdown link button titles (#164764)
Fixes #164556
2022-10-27 00:39:30 +02:00
Matt Bierner 5f87632829
Fix markdown server not updating documents properly on folder rename (#164752)
Fixes #164562
2022-10-26 14:48:20 -07:00
w1redch4d 70328b1b48
fix problems with html style comments in embedded code (#160981)
* fix problems with html style comments in embedded code

* add spacings to the replaced characters

add same amount of characters, in the replacements so that all offsets stays the same

* revert javascriptMode.ts

* add replace characters in embeddedSupport.ts instead

* added few more tests with javascript

more testcases with js code before and after the comments

* polish

Co-authored-by: UwUeeb <106700035+UwUeeb@users.noreply.github.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-10-26 08:41:05 +00:00
Matt Bierner a887d72e8d
Pick up latest markdown language service (#164655) 2022-10-25 16:46:53 -07:00
Joyce Er 812c9bedf2
Fix cloning with specific branch (#164619) 2022-10-25 15:27:41 -07:00
Matt Bierner f5cbe7e391
Use dirname as default uri for md links (#164641)
Fixes #164612
2022-10-25 21:59:20 +02:00
Matt Bierner 882cdc0a17
Use newlines to separate inserted images (#164632)
Fixes #164610
2022-10-25 12:21:36 -07:00
Matt Bierner 21431fce38
Disable canSelectFolders in markdown link inserter (#164636)
Fixes #164549
2022-10-25 12:01:08 -07:00
Matt Bierner 3ca4fca56e
Pick up latest markdown language service (#164625)
This failed yesterday due to a cache issue in dev ops. We need this version for testing
2022-10-25 10:52:57 -07:00
Matt Bierner 586f252740
Revert "Pick up markdown language service update (#164524)" (#164533)
This reverts commit ab3926ab48.
2022-10-24 19:09:08 -07:00
Matt Bierner ab3926ab48
Pick up markdown language service update (#164524)
Picking up one more small update before endgame
2022-10-24 16:53:17 -07:00
Matt Bierner 9f5d3eb135
Pick up latest markdown language service and clean up server package (#164516)
- Picks up newest markdown language service
- Excludes some files from server publish
- Delete unused file
- Update readme
- Align server version with LS version
2022-10-24 15:58:45 -07:00
Matt Bierner babb2f9677
Remove experimental tag from markdown settings (#164509) 2022-10-24 14:44:43 -07:00
Matt Bierner 4eef476a4f
Remove old notebook editor api proposal (#164504)
All consumers should now be on the finalized api

Fixes #151661
2022-10-24 14:40:53 -07:00
Connor Peet beed9ac381
debug: activate auto launch onStartupFinished (#164481)
For https://github.com/microsoft/vscode-internalbacklog/issues/3209

We still need to activate it for every workspace, but since Daniel's
improvements to environment variable application a few months ago, using
onStartupFinished should be pretty safe and seamless.
2022-10-24 11:25:22 -07:00
Ladislau Szomoru 7bd27b4287
Git - getSCMResource() should also look at the merge group (#164450)
getSCMResource() should also look at the merge group
2022-10-24 06:27:56 -07:00
Ladislau Szomoru 566e71b346
Revert "Git - parse config file for remotes (#164151)" (#164433)
This reverts commit 798cd3bcac.
2022-10-24 13:28:06 +02:00
Joyce Er 7318c90996
Checkout specific branch during clone operation (#163705) 2022-10-23 20:23:35 +02:00
Tyler James Leonhardt 0091bcae20
Fixes #164073 (#164384)
Fixes #164073
2022-10-23 17:47:27 +02:00
Matt Bierner b11bb04298
Add optional markdown occurrences highlighting (#164292)
Fixes #164290
2022-10-21 14:19:50 -07:00
Ladislau Szomoru 798cd3bcac
Git - parse config file for remotes (#164151) 2022-10-21 06:57:22 -07:00