Commit graph

14261 commits

Author SHA1 Message Date
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