Commit graph

14212 commits

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