Commit graph

14559 commits

Author SHA1 Message Date
Matt Bierner c57992a973
Always run code lens implementations on semantic server (#197578)
Fixes #197286

Already fixed this for references code lens. Just porting it to impl code lens now too
2023-11-06 20:05:00 +01:00
Aaron Munger 8ba75dfdc8 more strict on regex, fix special character 2023-11-06 10:59:40 -08:00
Aaron Munger 6afac1d3f7 fix stack trace linking 2023-11-06 10:59:40 -08:00
Andrew Branch 48f4a503f8
Add missing preference description for preferTypeOnlyAutoImports 2023-11-03 12:57:23 -07:00
Rob Lourens 53249fc26b
Merge pull request #196166 from zobo/fix-php-validation-range
fix: invalid endCharacter value in built in PHP validation provider
2023-11-01 14:33:22 -07:00
Logan Ramos 9bea1fc96a
Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Matt Bierner 8a450b31e3
Pull in latest markdown language server (#197105) 2023-10-31 16:25:27 -07:00
Matt Bierner 0279c52a02
Switch back to node as default for moduleResolution (#197031)
Fixes #196554

Looks like bundler breaks `require()` intellisense
2023-10-31 00:40:44 +01:00
Andrew Branch 82ece597ee
Add setting for preferring type-only imports (#196123) 2023-10-30 18:14:58 +00:00
Noritada Kobayashi c9b23f1fb0
Fix an issue that \xN8 and \xN9 in Rust strings are incorrectly colored (#196198)
* Update Rust grammar

* Add a test for #166781

* Make color themes in the test data for #166781 up-to-date

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-10-30 11:30:48 +00:00
Alex Ross fa22e9ac36
Update grammars (#196839)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-10-27 09:35:46 -07:00
Ladislau Szomoru 56088b01d9
Git - fix issue related to opening parent repositories (#196822) 2023-10-27 06:42:08 -07:00
Ladislau Szomoru 9d2ff86b00
Git - Track attempt count in the test commit message provider (#196348) 2023-10-25 10:15:45 +02:00
Martin Aeschlimann 8f0f284b0f
[html] update service (#196318) 2023-10-23 14:21:46 -07:00
Tatsunori Uchino 2683aa01ac
Add support for --force-if-includes to force push more safely (#187932)
* Add support for `--force-if-includes` to force push

* Change force push failed error message

* Separate force push (no with lease) failed error message

* Switch to `"markdownDescription"`

* Add Git version requirement for config description

* Improve error message when safer force push is rejected

* Eliminate the option's effect if Git is too old

* Minor improvements to community contribution

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-10-23 17:47:46 +02:00
Ladislau Szomoru 4cd1f6ce84
Git - automatically wrap generated commit message (#196268)
* Git - automatically wrap generated commit messages

* Handle edge cases when wrapping the commit message
2023-10-23 15:22:45 +02:00
Ulugbek Abdullaev c6dcdc753b git: print more info when relative path not found 2023-10-23 13:57:39 +02:00
Ulugbek Abdullaev d4586b43cd git: GitError captures stacktrace 2023-10-23 13:57:39 +02:00
Ladislau Szomoru 67df0670ba
Git - set action button command argument (#196216) 2023-10-23 08:19:52 +02:00
Ladislau Szomoru b8c3c75f5d
Git - Update CommitMessageProvider git extension API (#196170)
Update CommitMessageProvider git extension API
2023-10-21 09:15:39 -07:00
Damjan Cvetko 183434d0d0 fix invalid endCharacter value in php validation 2023-10-21 15:57:25 +02:00
Ladislau Szomoru c05b49710b
SCM - Add proposal for inputBox action button (#196121)
* SCM - Add proposal for inputBox action button

* More reliable fix for overlapping
2023-10-21 09:51:24 +02:00
Martin Aeschlimann b5e4f89462
json.schemas improve setting description (#196071)
json.schemas improve setting description. For #196049)
2023-10-20 10:00:32 +02:00
aamunger 2b721ec298 use named capture groups 2023-10-19 08:55:50 -07:00
aamunger 4c2c49d5b0 added line link 2023-10-19 08:55:50 -07:00
aamunger 55794b6c76 handle new URI format from webview 2023-10-19 08:55:50 -07:00
aamunger a9ee16c135 handle new URI format from webview 2023-10-19 08:55:50 -07:00
aamunger 3b6848c4e6 pass test 2023-10-19 08:55:50 -07:00
Aaron Munger 4540b9ba1f older Ipython, failing test 2023-10-19 08:55:50 -07:00
Aaron Munger fe8ac3f89e linkify stack lines for cell references 2023-10-19 08:55:50 -07:00
Aaron Munger 2123a011bf linkify stack lines for file references 2023-10-19 08:55:50 -07:00
Aaron Munger 315f158d20 link test 2023-10-19 08:55:50 -07:00
Aaron Munger 8e8811a5c1 clean raw jupyter error stack traces 2023-10-19 08:55:50 -07:00
Joyce Er dedfcf65d3
feat: add enum descriptions for TS locale setting (#195947) 2023-10-19 01:52:49 +02:00
Connor Peet 9979a72abf
debug: fix serverReadyAction.killOnServerStop not working (#195944)
Fixes #195942
2023-10-18 23:14:06 +02:00
David Dossett b206bc2c51
Merge pull request #195853 from microsoft/ddossett/wicked-narwhal
Increase link contrast in dark modern
2023-10-17 18:30:11 -07:00
David Dossett 49671031d1
Increase link contrast in dark modern 2023-10-17 18:15:34 -07:00
David Dossett 8e17fcac92
Update input placeholder color in dark modern 2023-10-17 17:40:58 -07:00
Yuto Liyosa 672033e151
Resolve absolute file target links in tsconfig (#195514) (#195759)
fix #195514 again
2023-10-18 00:23:59 +00:00
David Dossett 243e6cec50
Tweak text preformat foreground and background (#195821) 2023-10-17 22:18:28 +02:00
Rob Lourens b678edbd64
Merge pull request #195562 from vuittont60/main
fix typos
2023-10-16 15:37:20 -07:00
Tyler James Leonhardt 482d5ba393
Add some integration tests for github-auth (#195729) 2023-10-16 13:58:44 -07:00
Connor Peet d2b1eb8a36
testing: finalize TestMessage.contextValue (#195706)
Closes #190277
2023-10-16 20:37:37 +02:00
vuittont60 ab1c7b42ef
fix typos 2023-10-13 20:28:15 +08:00
Rob Lourens 6c02f61149
Fix variables in chatAgents2 API requests, add tests (#195529)
* Fix variables in chatAgents2 API requests

* Enable file references and the 'used references' section by default in Insiders

* Add integration tests for chat

* Fix equality

* fix test
2023-10-13 06:27:30 +02:00
Martin Aeschlimann e1b62b9b9e
[html/css/json] update language servers (#195157)
* [html/css/json] update language servers

* extension webpack: add conditionNames to prefer import over require
2023-10-11 09:41:12 +02:00
Ladislau Szomoru fdb4d48ff1
Git - cleanup OperationKind enum (#195327) 2023-10-10 22:49:10 -07:00
Benjamin Pasero 29b69437ab
watcher - correlate events to their requesting source (#194776)
* watcher - emit `URI` instead of `string` for faster `fsPath` compute  (for #194341)

* wip

* more

* adopt

* some cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* implement correlation

* cleanup

* add correlation

* undo, leave for later

* tests

* tests

* tests

* tests

* tests

* log cId

* simpler correlation id

* 💄

* tests

* runs

* skip normalization

* fix tests

* tests

* fix tests

* add `createWatcher` API

* partition events in ext host

* allow custom excludes

* remove disk file change

* 💄

* 💄

* 💄

* wire in

* wire in
2023-10-10 10:27:18 +02:00
Johannes Rieken a383c1601d
add proposed API for short and long variant of LanguageStatusItem#text (#195141)
* add proposed API for short and long variant of `LanguageStatusItem#text`

https://github.com/microsoft/vscode/issues/192880

* add new proposal to allow list
2023-10-09 16:22:49 +02:00
Alex Ross 50b3c04d0a
Revert C# grammar to last-known-good commit (#195144)
* Revert C# grammar back to last-known-good commit
Part of #195098

* Also add missing test_cshtml.json test result

* Add new test for issue
2023-10-09 12:33:40 +02:00
Alex Ross 3be5ad240b
Update R grammar (#195139) 2023-10-09 12:17:13 +02:00
Greg Van Liew ef0871b7bb
Edits to setting descriptions (#195007) 2023-10-06 10:04:37 -07:00
易良 f6790fc1a0
feat: Add the logo of the built-in extension (#192999)
* feat: Add the logo of the built-in extension

* chore(extension): add compressed icon

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-10-05 10:40:24 -07:00
Ladislau Szomoru d4fb31c56d
Git - fix relativePath() edge case (#194653) 2023-10-05 15:37:52 +02:00
Matt Bierner 6ebac1703b
Updated inferred JS/TS project config (#194847)
- Switch to target es2022 by default
- Also switch default module resolution to `bundler` if using more recent TS versions
2023-10-05 12:44:38 +02:00
Alex Ross 81f0e9825a
Update rust grammar to be pulled from main branch (#194787)
Discovered through https://github.com/microsoft/vscode/pull/194758
2023-10-04 12:46:43 +02:00
Christof Marti 01edf51e0f Merge dev container configs (microsoft/vscode-remote-release#8994) 2023-10-03 12:26:07 +02:00
Rob Lourens 4935438c42
Disable failing test (#194681)
#194680
2023-10-03 05:39:16 +02:00
Matt Bierner 46c1f27c46
Pick up latest markdown language service (#194329) 2023-10-02 13:53:03 -07:00
Matt Bierner d6f3707465
Use markdown for markdown.preview.breaks (#194641) 2023-10-02 19:43:00 +01:00
Alex Ross 48e93f756b
Update grammars (#194614) 2023-10-02 15:56:43 +01:00
Michael Chirico 37871bb35a
Update org in reference repo (#194415)
* Update org in reference repo

This threw me off in #194352 -- I was not familiar with the original repo owner so I assumed this info was stale. The link now redirects to the REditorSupport org, but having the correct source in the plain text is still preferable for human readers.

* Update template generation source

* Update R repo in cgmanifest

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-10-02 14:10:13 +00:00
Ladislau Szomoru 9434d9437a
Git - do not show origin/HEAD in the checkout quick pick. This item will only be shown when checking out detached. (#194592) 2023-10-02 12:38:10 +02:00
Kyℓe Hensel 43b227a533
fix syntax highlighting for .git-blame-ignore-revs (#194584) 2023-10-02 11:37:45 +02:00
Ladislau Szomoru 707e061b3a
Git - use commit id for the left-hand editor (#194302)
* Git - use commit id for the left-hand editor

* Remove console.log
2023-09-27 15:24:35 +01:00
Ladislau Szomoru 3a0b6baa61
Git - provide correct editor title for resources under the "All Changes" node (#194273) 2023-09-27 12:05:58 +02:00
Alex Ross b2864137d0
Add license detail for cpp grammar repo (#193983)
Part of #193966
2023-09-26 09:12:28 +01:00
Matt Bierner a12bb0543d
Restore copilot fixes/refactorings (#194092)
Reverts #193810 to restore #193810
2023-09-26 09:40:27 +02:00
Martin Aeschlimann 15cdbeec20
update css-languageservice (#194066) 2023-09-25 23:18:23 +01:00
Benjamin Pasero 6404e3dbd1
tests - remove envShellEvent from package.json (#193982) 2023-09-25 17:07:23 +01:00
dependabot[bot] 56c3d4cd50
Bump graphql from 16.6.0 to 16.8.1 in /extensions/github (#193721)
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 07:59:12 -07:00
Ladislau Szomoru 8e80e950a4
Git - improve heuristics for determining branch base (#193986)
* Add getBranchBaseFromReflog

* Read/store branch merge base in the git config

* Add getBranchBase() extension api
2023-09-25 15:12:10 +01:00
Ladislau Szomoru 33ba908ab4
Git - refactor getting base of a branch (#193973) 2023-09-25 14:41:47 +02:00
Ladislau Szomoru 419e445f8d
Git - fix regular expression for fully qualified ref names (#193953) 2023-09-25 11:25:51 +02:00
Ulugbek Abdullaev 39dc875c4e Merge branch 'main' into ulugbekna/implement-code-mappers-context 2023-09-22 14:43:25 +02:00
Ulugbek Abdullaev 5547de51db mapped edits: update code around the command _executeMappedEditsProvider 2023-09-22 11:54:58 +02:00
Ladislau Szomoru 54fc6334f5
Git - fix file decoration for history item changes (#193755) 2023-09-22 07:27:26 +01:00
Tyler James Leonhardt d5c2817e69
Use email for label & use label to group results in Account menu (#193727)
So, when you make a new session in the Microsoft Identity stack, depending on the scopes you pass in you might get:
* A token with a name & email
* A token with just a name
Additionally, Microsoft has like 3-4 concepts of essentially an "id" but depending on what you're trying to access, you might get a different value.

This historical behavior leads to 2 awkward things:
1. The account menu shows two accounts, one with name & email, one with just email.
2. The account menu shows two of the same accounts, but their underlying id is different

So, to fix this, we're just gonna lean on the labels. In other words, if there are two accounts that share the same label, then they will be grouped together.

The previous behavior was hurting the Azure Account folks and the Q# folks and with this change, I believe they both should be happy.

Interestingly enough, when I inherited this code, it use to do this, but I changed it to use the id as that seemed "more correct"... so it a way, this is reverting a change I did a while back.

Fixes https://github.com/microsoft/vscode/issues/184218
2023-09-21 14:09:25 -07:00
Aaron Munger 150d09b37b skip flaky test 2023-09-21 12:57:28 -07:00
Logan Ramos cc98e55794
Fix slow telemetry module (#193607) 2023-09-20 20:14:12 +01:00
Ladislau Szomoru 943d5b2c5c
SCM - Add file decorations to history item changes (#193576)
SCM - Add file decorations to history items
2023-09-20 16:11:15 +01:00
Ladislau Szomoru ceda6cc485
SCM - set of fixes for the SCM Sync View (#193567) 2023-09-20 13:57:14 +01:00
Ladislau Szomoru 3e31b71648
SCM - more cleanup of the SCMHistoryProvider API (#193509) 2023-09-19 21:00:13 +02:00
Alex Ross a16d8d0a3e
Update shellscript grammar (#193488) 2023-09-19 09:33:30 -07:00
Ladislau Szomoru 1545aeab06
SCM - Initial implementation of the Sync view (#193440) 2023-09-19 15:58:22 +02:00
Raymond Zhao f20ca3aa50
Mark packages as private (#193414) 2023-09-19 00:30:01 +01:00
Alex Ross ae23e73ba0
Update CSS grammar (#193333) 2023-09-18 11:46:17 +02:00
Aiday Marlen Kyzy f4bf7300ad
Merge pull request #193207 from microsoft/aiday/typosDiagnosticTelemetry
Fixing typo in telemetry gathering diagnostic codes
2023-09-15 18:06:20 +02:00
Aiday Marlen Kyzy 0a45b2737a
typos 2023-09-15 15:13:50 +02:00
dependabot[bot] 8968aca21d
Bump word-wrap from 1.2.3 to 1.2.4 in /extensions/notebook-renderers (#188225)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 12:04:47 +02:00
Stephen Melvin 627cffc8ed
Fixed import paths not being updated when multiple files are moved (#191403)
* Modified updatePathsOnRename.ts to fix issue where import paths were not being updated when multiple files were moved.

* Removed errant console log

* Changed return statements to continue in for-of loop

---------

Co-authored-by: Stephen Melvin <steve.melvin@dtn.com>
2023-09-13 21:23:21 +00:00
Gabriela Araujo Britto f563e33800
[typescript-language-features] Add option for excluding library symbols in "Go to Symbol in Workspace" (#192798)
* add option for excluding library symbols

* clarify in message that new option requires ts 5.3

* remove expect error
2023-09-13 18:19:52 +00:00
Matt Bierner 2c52e4ca35
Alias Thenable to PromiseLike (#192456)
Fixes #192385

This fixes some typing issues with `Thenable` that were hiding potential bugs
2023-09-13 10:50:40 -07:00
Martin Aeschlimann 8284903c26
use findup v5 (no esm) (#193000)
* use findup v5 (no esm)

* fix import
2023-09-13 15:46:29 +02:00
Aaron Munger 3aea4d643c
Merge pull request #192606 from microsoft/aamunger/NotebookErrorLinks
prioritize html links since they can wrap other link types
2023-09-12 12:00:44 -07:00
Martin Aeschlimann 21276bad51 fix npm view exploits 2023-09-12 20:11:45 +02:00
Aaron Munger ab09263c52 linkify tests 2023-09-12 10:41:50 -07:00
Martin Aeschlimann 206341dd9e
npm extension: update dependencies (#192870) 2023-09-12 09:48:14 -07:00
Logan Ramos 6bb64ab400
Fix indentation (#191918) 2023-09-12 09:16:11 -07:00
Tyler James Leonhardt 379d31d162
Invoke session change emitter when session is created in getSession (#192828)
fixes https://github.com/microsoft/vscode/issues/192806
2023-09-12 09:13:33 -07:00
Alex Ross ed1a8da946
Rename Perl6 to Raku (#192882)
Fixes #168319
2023-09-12 16:20:16 +02:00
Martin Aeschlimann 07fcfc80c3
update to latest jsonc-parser (#192872) 2023-09-12 14:58:01 +02:00
Alex Ross cc4775f55a
Update themes to accommodate C# grammar change (#192854)
See https://github.com/dotnet/csharp-tmLanguage/issues/290
2023-09-12 12:37:49 +02:00
Sandeep Somavarapu f0c36fbbf6
fix #192333 (#192855) 2023-09-12 11:39:41 +02:00
Aaron Munger fb8e51346f test for link rendering 2023-09-11 15:12:56 -07:00
Mikhail 05673dfd1a
Simplify getting rangesToUpdate (#192079) 2023-09-11 08:47:03 -07:00
Alex Ross 6021e01795
Update grammars (#192749) 2023-09-11 11:38:45 +02:00
Joyce Er ca56ef3344
fix: use markdown for HTML setting description (#192633) 2023-09-11 08:18:34 +02:00
Tyler James Leonhardt 41e940f76f
Use SequencerByKey to sequence operations of the same set of scopes (#192638)
The idea here is... if a token is currently being refreshed, well then getting a token of those scopes should wait for that to finish.

Core has a really nice `SequencerByKey` for exactly this kind of thing, and so I've stolen that and started to organize the code with a `common` folder.

Oh, I also noticed we were sorting twice and fixed that to only sort once.

ref https://github.com/microsoft/vscode/issues/186693
2023-09-09 07:09:20 +02:00
Tyler James Leonhardt 52f27e2e2f
Log a lot more of the Microsoft Auth extension (#192629)
This PR adds a ton more logging, a consistant format, and fixes the log levels of some.

Additionally, there are two small fixes that I have included:
* we were firing the `_sessionChangeEmitter` twice when a session was removed
* when processing updates from other windows, we returned instead of continued... thus were only processing the first account that was added in another window
2023-09-08 23:25:25 +02:00
Joyce Er bb99b7452a
fix: render setting reference links in settings UI (#192628) 2023-09-08 23:21:31 +02:00
Ladislau Szomoru 5ffa9573af
Git - remove extra character from the log message (#192622) 2023-09-08 16:25:12 -04:00
Connor Peet cd4bd7e64b
forwarding: add a warning for public ports (#192599)
* forwarding: add a warning for public ports

A number of users have raised some security concerns about port
forwarding. Forwarded ports are private (requiring auth with the same
GH account that did the forwarding) by default. When making a port
public, show the following dialog:

![](https://memes.peet.io/img/23-09-3f3351c7-cdcd-46e5-9d0f-123e4dda6b3c.png)

* Update extensions/tunnel-forwarding/src/extension.ts

Co-authored-by: Joyce Er <joyce.er@microsoft.com>

---------

Co-authored-by: Joyce Er <joyce.er@microsoft.com>
2023-09-08 19:19:50 +02:00
Aaron Munger ddc81ac330 prioritize html links since they can wrap other link types 2023-09-08 10:11:44 -07:00
Joyce Er 0795888f65
fix: avoid fs dependency in web (#192565)
* feat: quick fix for redundant activation events

* fix: avoid `fs` dependency in web
2023-09-08 14:23:04 +02:00
Christof Marti e073d674f3 Revert "feat: quick fix for redundant activation events (#192495)"
This reverts commit 0b4fd719e3.
2023-09-08 10:31:35 +02:00
Tyler James Leonhardt 9fbd538cb3
Revert back to 2/3rds (#192502)
It was higher for debugging purposes.
2023-09-08 02:23:16 +02:00
Joyce Er 0b4fd719e3
feat: quick fix for redundant activation events (#192495) 2023-09-07 15:12:23 -07:00
Tyler James Leonhardt 53d03d0742
Implement a "pending store" and only actually store the last one (#192488)
ref https://github.com/microsoft/vscode/issues/186693
2023-09-07 14:32:15 -07:00
Aaron Munger 808dd6dded page up/down should only scroll scrollable output when focused 2023-09-07 11:57:02 -07:00
Don Jayamanne 9c17df54bd
Ensure orig_nbformat is not written to ipynb file (#192359) 2023-09-06 19:20:07 -07:00
Gabriela Araujo Britto efc1b30976
Add custom Node option to run TS Server (#191019)
* Add config for running tsserver on custom node

* log when custom node install is used

* create node version manager

* get node path from node version manager everywhere

* modify prompt

* fix useIpc

* use spawn for custom node and set windowsHide

* detect node

* link memory setting to node setting
2023-09-06 20:27:16 +00:00
Ladislau Szomoru 3788d799d2
Git - improve logging for git detection (#192297) 2023-09-06 07:30:59 -07:00
Ladislau Szomoru a4e1870896
Git - fix stage/unstage selected ranges in nested git repositories (#191987)
* Git - fix stage/unstage selected ranges in nested git repositories

* Remove the submodule check as it is being covered by the repository check

* Pull request feedback
2023-09-06 14:35:55 +02:00
Tyler James Leonhardt 5134662139
Remove CredentialsService & keytar (#192224)
* Remove CredentialsService & keytar

ref https://github.com/microsoft/vscode/issues/115215
fixes https://github.com/microsoft/vscode/issues/143395

* compile

* remove imports

* rip the bandaid
2023-09-05 17:47:30 -07:00
Rob Lourens a8eda33032
Fix invalid php snippet (#192246)
Fix #189561
2023-09-06 02:13:03 +02:00
Matt Bierner 7cc7a6f50c
Update md grammar (#192245) 2023-09-06 01:56:58 +02:00
Matt Bierner 630bbb1954
Pick up latest markdown language service (#192242) 2023-09-05 16:41:49 -07:00
Matt Bierner 43495ec026
Add unbalancedBracketScopes for markdown (#191844)
Fixes #191843
2023-09-05 10:08:30 -07:00
Ladislau Szomoru b9e4141833
Revert "Remove superfluous arg in git smoke.test.ts (#173194)" (#192161)
This reverts commit 9dd556a9e0.
2023-09-04 20:43:33 +02:00
Ladislau Szomoru 4a3ed95527
Git - clarify git extension API usage (#192139)
* Git - clarify git extension API usage

* Fixed white space
2023-09-04 15:40:56 +02:00
justanotheranonymoususer 9dd556a9e0
Remove superfluous arg in git smoke.test.ts (#173194) 2023-09-04 14:44:03 +02:00
Alex Ross 1ac6f50f44
Enable the .. argument for git log (#188500)
* Enable the `..` argument for git log
This will return the commits that the `toRef` has but the `fromRef` does not.

* Use range instead
2023-09-04 14:36:16 +02:00
Aiday Marlen Kyzy 0868714c95
Merge pull request #191809 from microsoft/aiday/codeActionInsteadOfSetting
Change to code action from setting
2023-09-01 19:10:59 +02:00
Connor Peet a8b8e3a143
forwarding: fix log format again (#191941)
Fixes #191759
2023-09-01 09:38:20 -07:00
Ladislau Szomoru be570fd3de
Git - Bump which package (#191992) 2023-09-01 16:40:56 +02:00
Aiday Marlen Kyzy 02ddb145e8
additing translation l10n 2023-09-01 14:10:57 +02:00
Tyler James Leonhardt eec2fc723c
Disable Local Server flow for REH (#191930)
Because spinning up ports on the remote won't always work. Instead, we have the trusty device code flow.

Fixes https://github.com/microsoft/vscode/issues/191866
Fixes https://github.com/microsoft/vscode/issues/191867
2023-08-31 22:10:26 +02:00
Aiday Marlen Kyzy ab975ebe28
adding also sort and json into the name 2023-08-31 16:02:06 +02:00
Aiday Marlen Kyzy 7069433804
cleaning the code 2023-08-31 15:34:10 +02:00
Aiday Marlen Kyzy 06fdc0a633
unsure how to register the provider 2023-08-31 15:10:14 +02:00
Aiday Marlen Kyzy fffb813460
adding code 2023-08-31 11:19:33 +02:00
Aaron Munger 70b614dc54
Merge pull request #191816 from microsoft/aamunger/copyOutput
changed command title and name
2023-08-30 10:00:34 -07:00
Connor Peet cd7388f4da
forwarding: fix formatting issues in the log (#191814)
Fixes #191759
2023-08-30 18:50:50 +02:00
Aaron Munger e2d858ecb0 changed command title and name 2023-08-30 09:32:45 -07:00
Aiday Marlen Kyzy 3ea4d66a5b
changing to use code action instead of setting 2023-08-30 18:04:52 +02:00
Ladislau Szomoru fdcc959e0a
Git - update Explorer welcome view context key (#191788) 2023-08-30 16:43:56 +02:00
Johannes Rieken bee68cee69
allow workspace edit to "create" untitled files (#191779)
https://github.com/microsoft/vscode-copilot/issues/1261
2023-08-30 15:24:37 +02:00
Connor Peet 2af3045474
tunnels: fix forwarding attempts wrong path to tunnel binary on linux (#191657)
Fixes #191621
2023-08-29 19:28:37 +02:00
Martin Aeschlimann fd4d801227
[css/json/html] update dependencies (#191522) 2023-08-28 23:31:54 +02:00
Ladislau Szomoru c7d46b2430
Git - improve getRepositoryExact() error handling (#191462)
* Git - improve getRepositoryExact() error handling

* Run async operations in parallel
2023-08-28 16:34:46 +02:00
Matt Bierner 45e2e0bfd0
JS/TS package acquisition (#184438)
* Experiment with adding ata using `@types` packages shipped in an extension

* Use own file system instead of `https`

* JS/TS type support on web

* Tsconfig needs esModuleInterop not module:nodenext

We actually want webpack to emit commonjs, but need to write ES default
imports to use node-maintainer

* fix package.json indentation

* Adding setting to disable web type acquisition

* Fix merge of yarn lock

* Fixing merge errors

* Fixing errors

* Pick up package externally

* Fixing conflicts

* Bump version

---------

Co-authored-by: Kat Marchán <kzm@zkat.tech>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-08-28 00:49:40 -07:00
Ladislau Szomoru a0ac773aca
Git - fix issue with smart commit and dirty documents (#191300) 2023-08-25 12:01:37 +02:00
Aiday Marlen Kyzy cb1cdd872d
Merge pull request #190485 from microsoft/aiday/telemetryDiagnosticData
Adding typescript diagnostic error codes in typescript extension
2023-08-25 08:43:40 +02:00
Daniel Imms d0d594916a
Merge pull request #191082 from microsoft/tyriar/finalize_179476
Finalize EnvironmentVariableMutatorOptions API
2023-08-24 15:50:39 -07:00
Matt Bierner 99be1c1421
Pick up latest TS (#191262) 2023-08-25 00:38:47 +02:00
Logan Ramos ecb0c80fc1
Bump extension telemetry module (#191237)
* Bump extension telemetry module

* Fix webpack
2023-08-24 12:53:41 -07:00
Daniel Imms 8d76882313
Merge branch 'main' into tyriar/finalize_179476 2023-08-24 05:58:18 -07:00
Alexandru Dima 0783235efc
Merge branch 'main' into aiday/telemetryDiagnosticData 2023-08-24 12:00:25 +02:00
Aiday Marlen Kyzy a597b9044f
disposing the telemetry emitter 2023-08-24 11:01:47 +02:00
Aiday Marlen Kyzy ca86548968
changing from a js doc to a doc 2023-08-24 10:57:12 +02:00
Alpha Romer Coma 7ef754c2f6
Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Matt Bierner bf9604c568
Add event for when inlay hints are provided (#191134) 2023-08-23 23:15:07 +01:00
Alex Ross f605341af6
Syntax highlighting incorrect in vscode.python for the word 'file' (#191111)
* Syntax highlighting incorrect in vscode.python for the word 'file'
Fixes #188190

* Update colorization test
2023-08-23 22:17:23 +01:00
Matt Bierner 557695b920
Fix inlay hint location (#191122) 2023-08-23 14:10:55 -07:00
Kartik Raj 5257764dea
Merge pull request #191016 from microsoft/kartik/fluttering-pony
Finalize proposed env workspace collection API
2023-08-23 11:13:41 -07:00
Alex Ross bd67b50dfd
Remove tree item checkbox proposal from tests (#191084)
Fixes #191081
2023-08-23 19:28:19 +02:00
Daniel Imms 1461c7d382
Finalize EnvironmentVariableMutatorOptions API
Fixes #179476
2023-08-23 07:54:24 -07:00
Hans 6885d66040
adjust tabs and spaces consistent (#184861) 2023-08-23 14:19:42 +02:00
Ulugbek Abdullaev e4bfe48d92
Merge pull request #190649 from microsoft/ulugbekna/insert-at-cursor-api
MappedEditsProvider API
2023-08-23 12:28:24 +02:00
hsfzxjy 870d659ffd
Fix nested list style in Markdown preview (#190936) 2023-08-22 22:24:53 +00:00
Matt Bierner 013600cf33
Don't show copy image in command palette (#190907)
#190773
2023-08-22 22:14:24 +01:00
Kartik Raj b1d5542cfd Finalize proposed env workspace collection API 2023-08-22 20:22:32 +00:00
Kartik Raj f40dabca07
Merge pull request #190532 from microsoft/kartik1/something
Update proposed scoped environment collection API
2023-08-22 13:19:47 -07:00
Ulugbek Abdullaev fe52b50e41 add mappedEditsProvider proposed API ID to integration tests' package.json 2023-08-22 15:57:40 +02:00
Aiday Marlen Kyzy 82cbf90600
clearing the timeout on dispose of the class 2023-08-22 09:43:11 +02:00
Aiday Marlen Kyzy 46ca479aa3
using a resource map now, need to normalize to a string? 2023-08-22 09:42:12 +02:00
Aiday Marlen Kyzy df5bf004f4
checking also that the file is of type typescriptreact 2023-08-22 09:33:41 +02:00
Aiday Marlen Kyzy 32c476a056
adding a comment right above the setting 2023-08-22 09:31:25 +02:00
Matt Bierner 6f8b058b10
Pick up TS 5.2 RC (#190922) 2023-08-21 23:47:03 +01:00
floge07 d0b14e8569
fix: allow underscore as a valid char in tunnel remote address (#190904)
adjust the regexes used to validate tunnel remote addresses, add underscore as a valid char.
2023-08-21 19:18:44 +00:00
Martin Aeschlimann 98f63f1849
Merge branch 'main' into ulugbekna/insert-at-cursor-api 2023-08-21 18:43:52 +02:00
Aiday Marlen Kyzy 5fbf0d2ed1
passing in instead the diagnostic collection 2023-08-21 17:42:44 +02:00
Aiday Marlen Kyzy fb4b533d93
extracting the method _increaseDiagnosticCodeCount to avoid duplication 2023-08-21 17:01:53 +02:00
Aiday Marlen Kyzy 8db8d30dfa
using the utility method equals 2023-08-21 16:56:13 +02:00
Aiday Marlen Kyzy cf21c24624
updating all the diagnostics after the timeout 2023-08-21 16:48:48 +02:00
Aiday Marlen Kyzy 76cc0881d3
using instead the uri string 2023-08-21 16:24:57 +02:00
Alexandru Dima fa5fbd1221
Merge branch 'main' into aiday/telemetryDiagnosticData 2023-08-21 14:11:19 +02:00
Ulugbek Abdullaev c3a4fbbe8f add vscode.executeMappedEditsProvider command & use it to have integration tests for mapped-edits service 2023-08-21 13:00:50 +02:00
Martin Aeschlimann 69b2435e14
set a user agent when attempting to retrieve $schema JSON Schemas (#190726) 2023-08-21 12:14:11 +02:00
Martin Aeschlimann 829932cb62
improve json schema settings descriptions (#190735) 2023-08-21 12:13:51 +02:00
Aaron Munger 7ebfc44283 removed formatting changes 2023-08-18 11:04:43 -07:00
Aaron Munger bd60cc529c allow copying cell output images from context menu 2023-08-18 10:43:43 -07:00
Aiday Marlen Kyzy afcac53ae9
review comments 2023-08-18 14:59:44 +02:00
Aiday Marlen Kyzy 03f09a238c
adding a comment 2023-08-18 14:40:14 +02:00
Aiday Marlen Kyzy 1f86585b9b
remove the setting of 10000 for updating the diagnostics 2023-08-18 14:37:30 +02:00
Aiday Marlen Kyzy d56bd87a31
using instead the vscode Uri instead of the entity from vscode-uri 2023-08-18 14:35:17 +02:00
Aiday Marlen Kyzy 3e937b6a20
cleaning the code 2023-08-18 12:55:25 +02:00
Aiday Marlen Kyzy 1829704675
cleaning the code 2023-08-18 12:17:35 +02:00
Aiday Marlen Kyzy 008b00d24f
taking the diff between current and previous snapshot 2023-08-18 11:33:03 +02:00
Aiday Marlen Kyzy 81ae16ba6e
sending the telemetry event in a loop 2023-08-18 10:47:35 +02:00
Aiday Marlen Kyzy 0d4db5ffc4
sending the diagnostics on handle exit 2023-08-17 14:35:27 +02:00
Aiday Marlen Kyzy 614bfb3d33
sending diagnostics on file open 2023-08-17 14:07:03 +02:00
Matt Bierner 3f8a55b32c
trimLeft -> trimStart (#190601)
These should be the same but the `trimLeft` name has been deprecated
2023-08-16 11:11:20 -07:00
Kartik Raj 7c577637e8 Fix test 2023-08-15 23:31:07 +00:00
Aiday Marlen Kyzy b4801aeb02
adding the data relative to the diagnostic error codes in the typescript extension 2023-08-15 12:20:02 +02:00
Aaron Munger 4a2c8f805a remove unused variable 2023-08-14 12:03:17 -07:00
Aaron Munger 3597d59152
Merge branch 'main' into aamunger/errorHtml 2023-08-14 11:49:27 -07:00
Aaron Munger b9cd07d8bf move html link creation to linkify function 2023-08-14 11:44:28 -07:00
Henning Dieterichs d72cb889ed Uses inputActiveOptionBackground as default for actionBar.toggledBackground 2023-08-14 18:45:24 +02:00
Connor Peet 2d9cc42045
testing: menu contribution points around messages (#190298)
- Implements the proposal in #190277 by adding a `contextValue` to
  TestMessages added to test runs.
- Make the `FloatingClickMenu` reusable outside the editor, and uses
  it to implement a `testing/message/content` contribution point.

With this extensions can do things like:

![](https://memes.peet.io/img/23-08-68e2f9db-abc4-4717-9da6-698b002c481c.png)
2023-08-12 08:03:01 -07:00
Meghan Kulkarni 01d8f7d47c
regex fix for codeql (#190211)
* regex fix

* added suppression comment
2023-08-11 10:24:32 -07:00
David Dossett 54902a3f0b
Tweak slash command widget pill colors and padding (#190208)
* Tweak slash command pill colors

* Fix padding
2023-08-10 16:23:00 -07:00
Alex Ross a7d7ad8797
Show Ports view when there's an onTunnel extension (#190202) 2023-08-10 14:23:00 -07:00
Alex Ross c157930421
Merge pull request #190108 from microsoft/alexr00/freezeCpp
Freeze C++ grammar version
2023-08-10 03:19:41 +02:00
Daniel Imms ccf15d3964
Merge remote-tracking branch 'origin/main' into tyriar/162950_3 2023-08-09 15:33:54 -07:00
Alex Ross eb03486765
Freeze C++ grammar version 2023-08-10 00:30:24 +02:00
Vitaly 432aac18f1
[typescript] Better paths matching for move to existing file quickpick (#181231)
* Better paths matching for move to existing file quickpick

* fix resolving selected item

* fix: select file dialog point to existing file

* skip computing if
use coalesce

* Improve typings

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-08-09 21:29:30 +01:00
Connor Peet a0e56dcea7
forwarding: fix tearing down process too early (#190081) 2023-08-09 20:24:56 +01:00
Daniel Imms 5edcca3b38
Update terminal quick fix proposal
Part of #162950
2023-08-09 07:41:00 -07:00
Matt Bierner 388d3683ea
Small cleanups in markdown drop/paste (#189985)
- Observer cancellation more places
- Create constants for mime types
- Making code more consistent to show duplication
2023-08-08 16:27:21 -07:00
David Dossett caebd5c3a7
Tune secondary button colors (#189989) 2023-08-09 00:19:23 +01:00
Matt Bierner 8c7747252e
Move drop/paste ids onto providers (#189961)
For #179430, #30066

This lets us call just the provider we are interested in
2023-08-08 14:44:03 -07:00
Connor Peet 71282c3d52
forwarding: add built-in tunnel forwarding extension (#189874)
* forwarding: add built-in tunnel forwarding extension

- Support public/private ports, which accounts for most of the work in
  the CLI. Previously ports were only privat.
- Make the extension built-in. Ported from the remote-containers
  extension with some tweaks for privacy and durability.
- This also removes the opt-in flag, by not reimplementing it 😛

Fixes https://github.com/microsoft/vscode/issues/189677
Fixes https://github.com/microsoft/vscode/issues/189678

* fixup! comments

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2023-08-08 22:00:03 +01:00
David Dossett d1c4bf3fcb
Add CSS vars for slash commands and tweak styling (#189965)
Add css vars for slash commands and tweak styling
2023-08-08 13:37:37 -07:00
David Dossett c27bc0ff97
Fine tune editor widget backgrounds and border (#189957)
Fine tine editor widgets and border
2023-08-08 19:07:46 +01:00
Matt Bierner 39df243d21
priority -> yieldTo for drop/paste API proposals (#189881)
Move await from `priority` for drop/paste API proposals

For #179430, #30066

Switching to use `yieldTo` instead of `priority` to let an extension de-rank itself in the list of edits. `priority` was an arbitrary number while `yieldTo` gives more control over how the ranking takes place
2023-08-07 18:32:03 -07:00
Matt Bierner 4f66a0c2c1
Updating bundled and build TS versions (#189868) 2023-08-07 17:04:12 -07:00
David Dossett 299407db3d
Fix invisible border and use new foreground color for quick pick separators (#189857) 2023-08-07 12:36:29 -07:00
Remco Haszing e0485e9d8f
Mark all .tsbuildinfo files as json (#189811)
TypeScript emits a `.tsbuildinfo` file whose file base name matches the
TypeScript configuration file. Typically this configuration file is
named `tsconfig.json`, meaning TypeScript will generate
`tsconfig.tsbuildinfo`. However, if the config file is named
differently, TypeScript will generate another `.tsbuildinfo` file.
2023-08-07 19:32:21 +00:00
Joyce Er 4083eeefc1
Preserve ref in desktop remote -> local clone (#189852) 2023-08-07 19:34:17 +01:00
Robo ea490e5545
chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
David Dossett 83fc3ad9bd
Replace transparent colors in Light/Dark Modern themes (#189585)
* Switch to solid colors in light modern and transform values to all caps

* Remove transparent values from workbench in dark+

* Finish merge
2023-08-04 10:34:09 +10:00
David Dossett 2bba361d30
Fix list backgrounds, editor hover widget, and quick pick colors (#189591)
* Fix editor hover widget background

* Remove list overrides and match quick pick background to editor widgets
2023-08-04 09:41:07 +10:00
David Dossett f0e0d81e2c
Revert scrollbar overrides in Dark Modern (#189593) 2023-08-04 00:26:48 +01:00
David Dossett 1d28efe34c
Fix light modern list focus outline (#189590) 2023-08-03 16:11:41 -07:00
David Dossett 45efcb4d17
Fix markdown pre and quote styling (#189586) 2023-08-03 15:41:07 -07:00
David Dossett f78157b2b5
Update badge colors in light/dark modern themes (#189503)
* Update badge background and foreground colors for Light/Dark Modern themes

* Fix hc-dark
2023-08-02 15:00:24 -07:00
Tyler James Leonhardt cb38b1b567
Fire event when using non-localserver flow (#189493)
Fixes https://github.com/microsoft/vscode/issues/186558
2023-08-02 11:26:09 -07:00
Meghan Kulkarni 1e882b5626
Deprioritize pasteAsMarkdown (#189433)
* deprioritize

* fix tests

* cleaned up code
2023-08-02 10:41:18 -07:00
Daniel Imms fa4b3238c9
Re-enable unit test with retries
Fixes #188375
2023-08-02 07:09:26 -07:00
Matt Bierner 665aa8a131
Update markdown grammar (#189420) 2023-08-02 06:47:09 -07:00
Aiday Marlen Kyzy 9c184b6007
Sort JSONC files on save (#188480)
* adding the initial code for sorting on save setting

* adding code, it is working, but how to get the text editor options

* cleaning the code

* making the callback synchronous, why does waitUntil not work

* removed unwated edit

* previously the check on is text edit instance was throwing an error, now checking manually that it is working

* chaning the return type of `getOptionsForDocument` to udnefined by default

* Convert to TextEdit instances

---------
2023-08-02 03:24:03 -07:00
Meghan Kulkarni 0e15feeb95
Fixed markdown regular expression (#189423)
* fixed md regex

* update shared.ts
2023-08-01 14:32:33 -07:00
Meghan Kulkarni 934cd52fa8
Links paste as plain text over markdown links (#189366)
* remove updateTitle

* fixed ranges and tests

* fix tests
2023-08-01 13:14:56 -07:00
Matt Bierner 909693076d
Bump dompurify (#189368)
* Bump dompurify

Moving to 3.x which drops IE support

* Don't reference trusted types

* Restore esm export block
2023-07-31 17:52:21 -07:00
Meghan Kulkarni 12985b627a
Links are not automatically pasted as markdown over valid urls (#189347)
* check if selected text is link
2023-07-31 16:24:48 -07:00
Meghan Kulkarni 1fcc384bae
Automatic markdown pasting should escape parentheses (#189357)
auto link with mismatched parens
2023-07-31 23:01:01 +01:00
Matt Bierner 3cc82327b5
Bump TS versions (#189344)
Bumps TS version for building VS Code
Bumps bundled TS version
2023-07-31 20:13:11 +01:00
Meghan Kulkarni ed59945156
Links with no authority are considered invalid (#189323)
* edit validateLink
2023-07-31 19:36:21 +01:00
Meghan Kulkarni f7d59ef171
Links are not automatically pasted as Markdown link if nothing is selected (#189338)
update automatic pasting
2023-07-31 11:30:03 -07:00
Alex Ross 5f9fc780c2
Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Alex Ross 41c7fc34e0
Update grammars (#189172) 2023-07-28 17:48:19 +02:00
Meghan Kulkarni e731964e84
Automatic markdown link pasting off by default (#189100)
pasting as markdown link off
2023-07-27 23:11:51 +01:00
Meghan Kulkarni 070707dffc
Smart pasting results in a new widget label (#189098)
* add and localize smart label
2023-07-27 22:30:46 +01:00
Meghan Kulkarni b5a46136c4
Markdown link pasting does not encode or decode links (#188992)
* uris pasted with no encoding or decoding

* add tests for checking encoding
2023-07-27 20:13:03 +01:00
Alexandru Dima f94dcb9ae0
Turn off aiQuickFix by default for stable (#189069) 2023-07-27 17:16:25 +01:00
Meghan Kulkarni df16c16211
Smart markdown pasting does not occur in tilde code block (#189004)
smart paste checks ~~~ code block
2023-07-27 09:09:38 -07:00
Andrea Mah b448b21744
update license for OSS Tool (#188988)
* fixes to license and auto-generated thirdPartyNotices
2023-07-27 08:41:35 -07:00
Kartik Raj 1ca9aa71bb
Merge pull request #188982 from microsoft/kartik/detailed-tahr
Fix for each in scope env collection
2023-07-26 14:32:34 -07:00
Kartik Raj 68d22e586d Fix for each in scope env collection 2023-07-26 20:58:53 +00:00
Andrea Mah 03c32aab74
Revert "update licenses" (#188962)
Revert "update licenses (#188880)"

This reverts commit 71bf483f13.
2023-07-26 19:38:04 +01:00
Andrea Mah 71bf483f13
update licenses (#188880) 2023-07-26 08:19:20 -07:00
Meghan Kulkarni 87afa166d0
markdown link smart pasting (#188437)
* making markdown link pasting feature smarter

* update validateLink
2023-07-24 16:25:19 -07:00
Hylke Bons 741de09ada themes: Fall back to Light/Dark+ themes for diff colors 2023-07-24 13:41:30 +02:00
Alex Ross b210745306
Revert "Skip failing integration tests (#187424)" (#188459)
This reverts commit 00db67e440.
2023-07-21 08:30:45 -07:00
Sandeep Somavarapu dc00865687
skip flaky test #188375 2023-07-21 09:34:18 +02:00
Meghan Kulkarni 2ba9f17b3f
making the markdown link paste feature smart (#188119)
* making markdown link pasting feature smarter

* Update settings description

Co-authored-by: Joyce Er <joyceerhl@gmail.com>

* made checkPaste more concise

* won't paste md link in fenced code or math

* updated the smart md link pasting

* link validation and naming changes

* resolving comments and tests

* resolving comments & writing tests

---------

Co-authored-by: Joyce Er <joyceerhl@gmail.com>
2023-07-20 15:16:40 -07:00
Alex Ross a6b766d8ad
Fix an async test suite (#188380) 2023-07-20 15:46:52 +02:00
Alex Ross e8f9d7587b
Adopt new Java grammar! (#188361) 2023-07-20 13:03:00 +02:00
Peng Lyu 2cbf01b666
Revert "Notebook UI heading tweaks (#188117)" (#188335)
This reverts commit e055922046.
2023-07-20 08:02:39 +02:00
Daniel Imms 31b9e9aa9b
Wait for terminal data before using terminal.selection APIs 2023-07-19 11:14:31 -07:00
Daniel Imms 471490656d
Merge branch 'main' into tyriar/188173_term_selection 2023-07-19 11:07:37 -07:00
Matt Bierner 19f9f605a9
Correctly reload markdown preview on md contribution change (#188218)
Fixes #184295
2023-07-19 01:47:31 +02:00
Aaron Munger bfdd302155
Merge pull request #187766 from microsoft/aamunger/notebookOutput
perf optimizations for large stream notebook outputs
2023-07-18 13:55:17 -07:00
Matt Bierner e2720e7bf4
Make getWorkspaceRootForResource work for notebook cells (#188186)
Fixes #186811
2023-07-19 05:29:22 +10:00
Matt Bierner 40abe0e1d5
Explicitly add link in JSDoc (#188182)
Fixes #188159
2023-07-18 11:15:14 -07:00
Connor Peet f82185934a
testing: finalize testInvalidateResults (#188180)
Also sends the tests as a bulk to the renderer, and implements a
prefix tree for doing invalidation checks (which I plan to adopt
elsewhere later on, perhaps in debt week.)
2023-07-18 20:14:25 +02:00
Christian Bromann e055922046
Notebook UI heading tweaks (#188117)
* Notebook UI heading tweaks

* align styles
2023-07-18 19:40:46 +02:00
Daniel Imms 49df64f6ac
Remove unused import 2023-07-18 10:17:00 -07:00
Daniel Imms 775102bd82
Implement tests 2023-07-18 09:58:47 -07:00
Daniel Imms 99e31ae297
Add terminal selection API
Part of #188173
2023-07-18 09:47:46 -07:00
Joyce Er 1d96980398
Don't prompt to publish branch after it was pushed (#188166) 2023-07-18 17:22:35 +02:00
aamunger 72806b4403
add/fix tests 2023-07-17 16:18:25 -07:00
Tyler Leonhardt ac27273e48
Try to revoke tokens that are getting deleted
Best effort.

Fixes https://github.com/microsoft/vscode/issues/152055
2023-07-17 14:12:10 -07:00
Aaron Munger 6501a3b3c8
Merge branch 'main' into aamunger/notebookOutput 2023-07-17 12:23:12 -07:00
Andrew Branch 6c94c8e088
[typescript-language-features] Update autoImportFileExcludePatterns description (#186528)
Update autoImportFileExcludePatterns description
2023-07-14 18:36:38 +00:00
Ehab Younes 6a152ca523
Expose the focused element and change event in the TreeView API (#184268)
* Expose the focused element and event in the TreeView API

* Exposed active TreeItem through extension proposal

* Add proposal to test extension

* Merge change selection and focus events

* Finish selection+focus change in treeview

* Clean up

* Clean up

* Add checkProposedApiEnabled back in

---------

Co-authored-by: Ehab Younes <ehab.younes@sigasi.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
2023-07-14 08:49:15 +00:00
Matt Bierner c0d560ed49
Don't parse @link inside @example JSDoc tags (#187877)
Fixes #187768
2023-07-13 16:02:57 -07:00
Alex Ross ca6ebd67d1
Update shellscript grammar (#187811) 2023-07-13 14:09:30 +02:00
Aaron Munger e68a34f9bd append when stream outputs are concatenated 2023-07-12 15:20:43 -07:00
Aaron Munger 5b78562d6c truncate long outputs 2023-07-12 15:03:49 -07:00
Matt Bierner a4fde6f2eb
Add more specific error for TS web server (#187752)
This should help us better understand why the access failed
2023-07-12 14:09:01 -07:00
Aaron Munger 77a8acf719 don't rerender the same output 2023-07-12 11:30:58 -07:00
aamunger 4c2df56f98
append html 2023-07-12 10:03:31 -07:00
Ladislau Szomoru ad395686d2
Git - add support for type changed (#187714)
* Initial implementation

* Add icons
2023-07-12 16:18:38 +02:00
Raymond Zhao 5be539a588
Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Aaron Munger c5511d5eec
pipe appended data info to webview 2023-07-11 15:08:04 -07:00
Ladislau Szomoru 0af4ba0b54
GitHub - add branch protection telemetry (#187589) 2023-07-11 16:51:09 -04:00
Matt Bierner 26120d880b
Disable overscroll in all webviews (#187624)
Fixes #182013
2023-07-11 20:51:33 +02:00
Matt Bierner 2c4cdea85f
Bump highlight js versions (#187619)
Fixes #187605
2023-07-11 20:20:57 +02:00
Matt Bierner 00105d2ddb
Exclude azurerepos: files from JS/TS intellisense (#187521)
Fixes #186385
2023-07-11 08:45:12 -07:00
Ladislau Szomoru dca0fc0fd7
GitHub - do not clear branch protection if the user is not signed in (#187588) 2023-07-11 16:18:06 +02:00
Ladislau Szomoru 4a7a02ab9f
GitHub - update branchProtection setting default (#187583) 2023-07-11 15:42:07 +02:00
Ladislau Szomoru 8baa7ed3e3
Git - fix repository detection regression (#187578) 2023-07-11 15:09:39 +02:00
Ladislau Szomoru f254ad1758
Git - Add Commit (Amend) to the Commit Action button (#187568) 2023-07-11 14:24:23 +02:00
Meghan Kulkarni f07abd224b
Make markdown link pasting feature smarter (#187170)
* making markdown link pasting feature smarter

* Update settings description

Co-authored-by: Joyce Er <joyceerhl@gmail.com>

* made checkPaste more concise

* won't paste md link in fenced code or math

---------

Co-authored-by: Joyce Er <joyceerhl@gmail.com>
2023-07-10 14:11:49 -07:00
Matt Bierner 6aca75d9d0
Fix markdown preview classes (#187501)
For #187234

Got introduced through a bad PR change. Makes more sense to move this styling to the css file instead
2023-07-10 13:04:03 -07:00
Matt Bierner 011ac2c103
Pick up TS 5.1.6 (#187495)
For #187493
2023-07-10 13:03:41 -07:00
Ladislau Szomoru ccea02b96d
Git - avoid opening a repository multiple times if symbolic links are used (#187435) 2023-07-10 15:16:02 +02:00
Rickey K. Liang 2ff3c9a7e7
Revert Python docstring color (#184938)
Revert b4368691e9

all color themes: treat comment docstrings as comments too (#182162)
2023-07-10 14:48:51 +02:00
Alex Ross 00db67e440
Skip failing integration tests (#187424)
Part of #187245
2023-07-10 11:07:58 +02:00
dependabot[bot] 8c8e8600b6
Bump semver from 5.5.1 to 7.5.2 in /extensions/typescript-language-features (#185968)
Bump semver in /extensions/typescript-language-features

Bumps [semver](https://github.com/npm/node-semver) from 5.5.1 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.5.1...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 10:05:01 +02:00
dependabot[bot] afacb63ab5
Bump tough-cookie from 4.1.2 to 4.1.3 in /extensions/notebook-renderers (#187410)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 10:03:51 +02:00
Henning Dieterichs fd63cf62b9
Merge branch 'main' into singleLineDeindent 2023-07-07 20:30:51 +02:00
Joyce Er 437342409b
Force new window for remote -> local Continue On (#187301)
Force new window for remote -> local clone
2023-07-07 20:27:09 +02:00
Raymond Zhao 13b90156ab
Strengthen Emmet tests (#187204) 2023-07-06 16:14:29 -07:00
Raymond Zhao c067a3bf81
chore: bump semver 7 dependencies (#187171) 2023-07-06 20:18:02 +02:00
dependabot[bot] c9073ad0c8
Bump semver from 7.3.7 to 7.5.3 in /extensions/css-language-features (#187107)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 01:54:58 +02:00
Andrea Mah b540ba7b27
Unexpected link highlighting in search editor (#187091)
Fixes #180813
2023-07-05 23:11:27 +02:00
Andrea Mah 6bc77ae5af
Pull new CSS grammar for colors, lengths, etc. (#187013)
Fixes #187012
2023-07-05 08:53:57 -07:00
Ladislau Szomoru 3b9f2825b7
Git - better handle symbolic links (#186716)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-05 12:56:26 +02:00
Tyler James Leonhardt 013132a5cd
Re-work auth flows into separate file (#186939)
The flows are crucial to the extension and I wanted to be able to declare which can be used when in a declarative way. This reworks the flows into that model.

Additionally, it pulls in the Client ID and secret from a config which will allow us to not rely on the vscode.dev proxy on Desktop (because we can make a distro change that includes the secret... which isn't a real secret, says GitHub)... unfortunately we still need to rely on it for Web due to CORS but we're in a position where it will be easy to rip the proxy out when GH supports it.
2023-07-03 15:06:42 -07:00
Ladislau Szomoru 8265c3ec21
Git - introduce group is the long submenus (#186917) 2023-07-03 16:24:19 +02:00
Rob Lourens 448d14e907
Make breakpoint data available in EH immediately, not after a call to debug API (#186796)
Fix #169699
2023-06-30 15:04:59 -07:00
Meghan Kulkarni 82e9a14903
Fix: do not encode external links (#186778)
* bug fixes

* added label to copyPaste.ts

* added localized label to copyPasteLinks file

* quick fix for pasting highlight bug

* concise if-statement

* external urls are not automatically encoded
2023-06-30 13:19:03 -07:00
Connor Peet 00bfb8704f
debug-server-ready: fix misbehavor in compound launch configs (#186766)
debug-server-rady: fix  misbehavor in compound launch configs

Fixes #186765
2023-06-30 20:10:34 +02:00
Alex Ross c778cc6117
Update grammars (#186752) 2023-06-30 09:14:40 -07:00
David Dossett a3231fc857
Update inlay hint colors (#186658)
* Update inlay hints colors

* Update new themes
2023-06-29 12:49:50 -07:00
Meghan Kulkarni 715334ba8c
small changes (#186574)
* bug fixes

* added label to copyPaste.ts

* added localized label to copyPasteLinks file
2023-06-29 02:14:23 +02:00
Joyce Er 52b72a22f9
Share > Copy vscode.dev Link polish (#186576)
* Prompt when copying link and behind remote

* Make dialog actions explicit re: copy behavior
2023-06-28 16:43:18 -07:00
Peng Lyu bce3304e98
Fix vscode-jupyter#13522. Clear attachment if it does not exit. (#186578)
Fix #184630. Clear attachment if it does not exit.
2023-06-29 09:41:01 +10:00
Joyce Er 0078c4965d
Allow Continue On to vscode.dev with no active editor (#186459) 2023-06-27 18:58:37 -07:00
Joyce Er b114662b7a
Don't validate publish state for Continue On (#186410) 2023-06-27 11:50:52 -07:00
Meghan Kulkarni 6626f5f07a
turning highlighted Markdown text to link to pasted URL (#185924)
* turning highlighted Mardown text to link to pasted URL

* resolved comments

* resolved more comments

* preserved behavior of existing file pasting logic

---------

Co-authored-by: Meghan Kulkarni <t-mekulkarni@microsoft.com>
2023-06-26 17:25:52 -07:00
Matt Bierner 0f5502c1a7
Rename settings for media preview video settings (#186231)
For #176418
2023-06-27 00:26:02 +02:00
Matt Bierner 688bc028e3
Extends tsconfig link logic to references paths (#186227)
Fixes #182898
2023-06-26 14:55:10 -07:00
Daniel Imms e2fcf63174
Merge pull request #186072 from microsoft/tyriar/185393_5
Speed up terminal reconnection
2023-06-26 12:37:55 -07:00
Johannes Rieken 50ad64e844
enable inline chat quick fix for TypeScript implements interface by default (#186167) 2023-06-26 17:34:39 +02:00
Daniel Imms cf247472ec
Loosen test to allow for shell output 2023-06-24 08:50:41 -07:00
Raymond Zhao b9ada3a2c6
Bump emmet-helper (#185607) 2023-06-23 11:17:15 -07:00
Benjamin Pasero 052ac9ca4c
files - allow more file operations to run in the extension host (#172345) (#185988)
* files - allow more file operations to run in the extension host (#172345)

* fix tests

* tests

* tests

* tests
2023-06-23 17:18:44 +02:00
Matt Bierner 5ee455116f
Add codeql comments and small fix (#185931) 2023-06-23 02:40:39 +02:00
Matt Bierner 3a02b99fe8
Try to request workspace content caching on commit (#185920)
For #175972

Here's what believe is happening:

- Workspace opens. We download the archive for the current commit
- User makes a commit
- The commit has now changed, which invalidates the archive. However TS doesn't know this (all the uris seem to stay the same). This means that we silently start going to the network again on file system operations

To fix this, we're going to try re-requesting the archive when a file system change event is fired for the workspace root. This should happen when a commit is made
2023-06-22 15:33:06 -07:00
Matt Bierner 538da53226
Dispose of file watchers when web TS server exits (#185815)
Dispose of file watchers when TS server exits
2023-06-21 17:14:21 -07:00
Matt Bierner e30b2359c5
Add logging for TS extension file watcher creation (#185813)
Add logging for extension file watcher creation
2023-06-21 15:36:39 -07:00
Joyce Er 31478cefc5
Ask user to commit/push changes when copying links (#185802)
* Ask user to commit/push changes when copying links

* Don't show an error message for cancellation errors
2023-06-22 00:28:32 +02:00
David Dossett f72ec2a43f
Update markdown h1-h6 styles (#185801)
* Update markdown h1-h6 styles

* Fix separator height
2023-06-21 21:03:57 +02:00
Fawzi Abdulfattah 46e83a2613
feat: adding optional support for auto playing and looping videos (#184758)
* feat: adding options to support videos looping and auto playing

Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>

* chore: adding on mute to the videos auto play setting's description

Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>

---------

Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>
2023-06-21 17:51:00 +00:00
Hans 48ff3ffb7c
Fix #182013 (#184677)
* Fix #182013

* 💄

* 💄
2023-06-21 17:10:09 +00:00