12789 Commits

Author SHA1 Message Date
Joyce Er
8d28ffac6d
Allow ref checkout after protocol handler clone (#159481) 2022-08-31 11:06:44 +02:00
Matt Bierner
21337aed3f
Pick up newest markdown language service (#159619)
This brings support for code actions and source actions, along with some bug fixes

Also fixes `getAllMarkdownDocuments` to prefer open documents instead of those on disk
2022-08-31 09:20:41 +02:00
Matt Bierner
01ea9c11ea
Update extension enabled tsconfig libs (#159631)
Matches what we set for `src/`
2022-08-31 07:57:15 +02:00
Matt Bierner
1895178d00
Finalize notebookWorkspaceEdit api (#159613)
Fixes #155245
2022-08-30 15:36:40 -07:00
Logan Ramos
a2cd34f347
Allow showTextDocument to open notebook cell URIs (#158477)
* Fix #123270

* Update to use `getCodeEditor`
2022-08-30 06:39:00 -04:00
Ladislau Szomoru
933c22a53f
Git - Handle repository paths with a trailing \ character (#159461)
* Fix another edge case with Windows path that contains a trailing \ character

* Pull request feedback
2022-08-30 02:58:45 -07:00
Matt Bierner
e9d0bed9e5
Reduce duplication for image/audio preview (#159507) 2022-08-30 00:11:50 -07:00
Matt Bierner
5e92794be6
Re-enable running our eslint rules using ts-node (#159495)
Resubmission of #157532 with the following changes:

- Use `eslint-plugin-local` instead of `yarn` link to run our plugins
- Move our plugins to a top level `.eslintplugin` dir (as required by `eslint-plugin-local`)
- Update all names to `local/`
2022-08-30 08:40:04 +02:00
Matt Bierner
a13e5e1da6
Also apply max-width to videos in webviews (#159500) 2022-08-30 00:52:54 +02:00
Matt Bierner
9e5248072a
Fix ts-node for eslint (#159483)
Bumps the cachesalt to make sure ts-node is installed
2022-08-29 20:51:12 +02:00
Matt Bierner
5b21c7f28b
Run our custom eslint rules using ts-node (#157532)
* Run our custom eslint rules using ts-node

Use `ts-node` to run our custom eslint rules.  This lets us delete the pre-compiled js. It also means you can don't have to compile the rules while editing them

As part of this change, I've also switched us to using an eslint plugin instead of a rulesDir. This is now the preferred way to ship custom rules

* Fix two more disables

* Move ts-node to project root

* Enable transpileOnly
2022-08-29 09:39:09 -07:00
Matt Bierner
07025f0b0d
Remove notebook editor edit api (#158988)
Fixes #149181
2022-08-29 09:34:57 -07:00
Martin Aeschlimann
c1dd46c2f4
[npm] package.json latest vue version incorrect (#159315)
[npm] package.json latest vue version incorrect. FIxes #158850
2022-08-29 15:49:48 +02:00
Alex Ross
ec5b41ddc2
Update grammars (#159445)
Update grammar
2022-08-29 14:08:44 +02:00
Alex Ross
41a6299276
Simple browser opener doesn't work with IPv6 hosts (#159276)
Fixes #158599
2022-08-29 10:58:17 +02:00
Matt Bierner
33c1f51a17
Add built-in audio preview (#159345)
For #159106

Note that we're using the native audio control at the moment, which looks kind of out of place and can't easily be styled. May need to switch to a custom UI
2022-08-29 00:19:21 -07:00
Matt Bierner
b5a1bb34e9
Pick up latest TS for building VS Code (#158420) 2022-08-26 23:00:38 +02:00
Matt Bierner
b91533f3d7
Pick up latest vscode-markdown-languageservice (#159341) 2022-08-26 13:08:49 -07:00
Matt Bierner
ea6cfdd2ef
Pick up 8.0.2 for MD language client (#159319)
Missed updating this when pulling in new server version

https://github.com/microsoft/vscode-languageserver-node/issues/1064
2022-08-26 11:13:37 -04:00
Matt Bierner
0a7b686a48
Fix markdown not registering find all references support (#159242) 2022-08-26 01:42:52 +02:00
Matt Bierner
c9a97b5581
Pick up TS 4.8 final (#159238)
Fixes #157527
2022-08-26 01:30:07 +02:00
Michael Lively
05ae151b7d return object, change placeholder 2022-08-25 15:33:50 -07:00
Michael Lively
16f842ea76 fix for attachment naming within notebook metadata 2022-08-25 15:04:56 -07:00
Tyler James Leonhardt
dc9336c303
make sure we add offline_access when creating sessions (#159116) 2022-08-25 08:48:01 -04:00
David Dossett
52f8bfaf5b
Inherit editor inactive selection colors in terminal (Fix #158899) (#158950)
* Inherit editor inactive selection colors in terminal (Fix #158899)

* Remove unused import

* Add terminal inactive selection colors to default dark and light themes

* Update monokai terminal inactive selection

* Merge branch 'main' into ddossett/thoughtful-butterfly
2022-08-25 01:00:34 +02:00
Michael Lively
6671589cdc fix setting description for #159091 2022-08-24 12:20:38 -07:00
Michael Lively
6273efd6b6
Merge branch 'main' into mlively/pasteRefactor 2022-08-24 10:42:21 -07:00
Michael Lively
614c7dd5f4 fix conflict demo 2022-08-24 10:37:37 -07:00
Matt Bierner
940abc9c11
Fix workspace edit format for update md paths on move (#158965)
Unblocks testing #158416
2022-08-23 16:33:00 -07:00
Michael Lively
02cb45c3cb
demo merge conflict 2022-08-23 16:10:56 -07:00
Michael Lively
ae1167bd94 refactor with updated metadata properties 2022-08-23 16:09:30 -07:00
Matt Bierner
f00fde0f24
Mark that notebook metadata is readonly (#158960)
Mark that metadata is `readonly`

Fixes #158955

We freeze the object here 0656d21d11/src/vs/workbench/api/common/extHostNotebookDocument.ts (L70)
2022-08-23 14:52:00 -07:00
Matt Bierner
b72671133b
Fix any types and extract method (#158967)
`currentCell` and `notebookUri` are currently any types, which hides type errors. To fix this and clean up the code, I've extracted a new `getCellFromCellDocument` method
2022-08-23 13:57:44 -07:00
Michael Lively
1076180257
Merge branch 'main' into mlively/newCellPasteBug 2022-08-22 14:57:15 -07:00
Harald Kirschner
bb70d7ab19
Instrument slow git status updates (#158325)
* Instrument slow git status updates

* Add expiration
2022-08-22 22:01:51 +02:00
Johannes Rieken
337cd4b1cf
Expose editor "blue button" as menu (#158740)
* Expose editor "blue button" as menu

* rename proposed `MergeToolbar` to `EditorContent` menu
* adopt GIT and sync conflicts usage
* use content menu for "open in 3wm" command
* add new `ctxIsMergeResultEditor` context key

Better fix for https://github.com/microsoft/vscode/issues/153800

* fix typo
2022-08-22 15:24:56 +02:00
Ladislau Szomoru
052b1e4d1b
Git - Clear global state if setting is not enabled (#158747)
Clear global state if setting is not enabled
2022-08-22 04:39:02 -07:00
Ladislau Szomoru
3cfc74c52e
Git - Add setting to remember post commit command (#158449) 2022-08-22 12:34:47 +02:00
Joyce Er
fa4ff1519d
Implement and adopt edit session identifier API proposal (#157733)
* Add canonical workspace identifier proposed API

* Use canonical id to store and resume edit sessions

* Add git extension workspace identity provider

* Fix warning incorrectly showing up

* Make auto resume behavior opt in

* * Create a separate service
* Accept WorkspaceFolder instead of URI
* Return string instead of object

* Make edit session restores resilient to provider registration races

* Introduce an activation event
* Activate contributing extension before using provider

* `CanonicalWorkspaceIdentity` -> `EditSessionIdentity`

* Show progress while resuming edit session

* Store edit session even if extension will take care of opening target workspace

* Address most of PR feedback

* `IEditSessionsWorkbenchService` -> `IEditSessionsStorageService`

* Unregister provider in renderer

* Split out proposal into new `editSessionIdentityProvider.d.ts`

* Fix bad merge

* Always show progress in window

* Convert URI schemes
2022-08-19 08:01:43 -07:00
João Moreno
6dbddd8b91
fix: freeze Resource#command (#158579)
Fixes: #157904
2022-08-19 14:24:36 +02:00
Johannes Rieken
11b6d009a4
Merge branch 'main' into cs-reference-view-api 2022-08-19 12:57:24 +02:00
Michael Lively
519082320b Merge branch 'main' into mlively/newCellPasteBug 2022-08-18 11:58:52 -07:00
Michael Lively
6f7189b7bb refactor metadata into own fxn 2022-08-18 11:58:44 -07:00
Joyce Er
65abd2b037
Add icon for Open on vscode.dev command (#158519) 2022-08-18 20:11:41 +02:00
Logan Ramos
67e628e18a
The quest to debug vscode.open continues (#158483) 2022-08-18 15:13:18 +02:00
Benjamin Pasero
032662071c
openIntegration test failure: openTextDocument, untitled closes on save (#157897) (#158482) 2022-08-18 14:56:50 +02:00
Johannes Rieken
c592ef8e18
use "Incoming" and "Current" everywhere (#158478)
fixes https://github.com/microsoft/vscode/issues/156229
2022-08-18 14:21:06 +02:00
Johannes Rieken
c0ade8bc81
joh/unknown lemming (#158460)
* make git's `openMergeEditor` user-facing command and show it for editors that have conflicts

also includes a workaround for an issue with untyped editor inputs... fyi @lramos15

* Patch matches

* Remove TODO

* set nowrap for white-space

fixes https://github.com/microsoft/vscode/issues/156402

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2022-08-18 06:58:30 -04:00
Michael Lively
880fda6ed9 fix pasting image into newly created cell bug 2022-08-17 12:17:39 -07:00
Matt Bierner
129f5bc976
Use own calls to localize (#158372)
Fixes #156684
2022-08-17 10:27:29 -04:00