Commit graph

14770 commits

Author SHA1 Message Date
Ladislau Szomoru 83c722d9a1
Git - 💄 better error handling and clean-up logging (#219975) 2024-07-04 17:12:06 +02:00
Ladislau Szomoru f94698b3dd
Git - do not show progress while running Config and GetBranch operations (#219940) 2024-07-04 12:56:55 +02:00
Matt Bierner d69a8fb36d
Align JS and TS snippets (#219917)
Mostly should be the same with a few small differences
2024-07-04 09:12:15 +02:00
Matt Bierner ee8937a604
Rename snippet placeholder (#219904)
Fixes #214760
2024-07-03 17:02:21 -07:00
Matt Bierner 9469c82f9f
Don't allow insiders users to report issues with TS plugins enabled (#219902)
Seeing far too many users not reading the warning/issue text before reporting issues. These reports are rarely actionable
2024-07-04 01:12:04 +02:00
Ladislau Szomoru a238e15485
Git - fix timing issue with branch picker (#219864) 2024-07-03 16:11:57 +02:00
Alex Ross 9255a27d88
Try out new YAML grammar (#219833)
* Try out new YAML grammar
Part of #180523

* Pull in other/plain update
2024-07-03 12:13:46 +02:00
Ladislau Szomoru 3c7cbd264e
Git - include unstaged changes when amending a commit and smart commit is enabled (#219675) 2024-07-02 14:50:50 +02:00
Alex Ross ed4e6eda59
Update grammars (#219070) 2024-06-28 11:56:38 +02:00
Ladislau Szomoru 64c1b1cc60
Revert "Git - do not show smart commit dialog when using Commit (Amend) (#214595)" (#218377)
This reverts commit 5422f5f940.
2024-06-26 15:04:40 +02:00
Martin Aeschlimann a28cbc207a
css/json/html web: adopt LanguageClient API change (#218060) 2024-06-25 16:26:48 +02:00
dependabot[bot] 1b27e602ed
Bump ws from 8.13.0 to 8.17.1 in /extensions/notebook-renderers (#216556)
Bumps [ws](https://github.com/websockets/ws) from 8.13.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 13:45:49 +02:00
its-meny 36dc1957f1
fix: Quotes with headings on markdown not rendering properly (#205227) 2024-06-24 23:32:45 +02:00
Martin Aeschlimann 45be8b8f75
[css/json/html] update services (#217364) 2024-06-24 11:47:01 -07:00
Christof Marti 298c72219b Module not shared on Windows? 2024-06-24 19:37:11 +02:00
Christof Marti 3cdb165262 Update to @vscode/proxy-agent 0.21.0 2024-06-24 19:37:11 +02:00
Peng Lyu 1b883b238e
Fix #209158. Add Copy Output and Open Output in Text Editor to Scrollable text output context menu. (#216920)
* Fix #209158. Add Copy Output and Open Output in Text Editor to Scrollable text output context menu.

* Context menu should be triggered on container

* fix naming
2024-06-24 10:31:17 -07:00
Johannes Rieken feae5bf5d6
make sure errors are recreated when making LM requests (#216807)
* add integration tests for LanguageModelChat#sendRequest

* make sure errors are recreated when making LM requests

* disable test with a note for later

* fix remote integration tests
2024-06-24 09:50:48 +02:00
Matt Bierner 5256e0a9bf
Pick up TS 5.5 stable release (#216827) 2024-06-21 18:49:32 +02:00
Ladislau Szomoru 68ca9a7f4c
SCM - improve merge-base detection (#216823) 2024-06-21 17:53:13 +02:00
Christof Marti e0a7112fd5 Test custom root certificate (microsoft/vscode-copilot-release#1294) 2024-06-21 10:39:28 +02:00
Rob Lourens ee173b0e65
Tools API tweaks, merge into lmTools (#216750)
* Tools API tweaks, merge into lmTools

* Rename more id -> name

* Fix

* Add lmTools API version
2024-06-20 18:54:00 -07:00
Ladislau Szomoru eb4092a6de
Git - more cleanup of the history item labels (#216648)
* Git - 💄 history provider cleanup

* Git - more cleanup of the history item labels
2024-06-20 01:23:05 +02:00
Ladislau Szomoru f280d9980f
Git - 💄 history provider cleanup (#216647) 2024-06-19 16:01:02 -07:00
Gabriela Araujo Britto 878af0771b
[typescript-language-features] Region-based semantic diagnostics for TypeScript (#208713)
* WIP

* invalidate diagnostics in range

* check whether should use region based diagnostics

* add ts-expect-errors

* make region opt off by default

* bump to expected 5.6

* update comments to refer to 5.6

* make region diagnostics on by default for insiders
2024-06-19 15:12:57 -07:00
Ladislau Szomoru 856fba0b67
SCM - more work related to history (#216641)
* Rename base to remote

* introduce base

* Remove resolveHistoryItemGroupBase

* 💄

* More 💄

* Remove file that is out of scope
2024-06-19 22:05:10 +02:00
Ladislau Szomoru 484cd68eff
SCM - history view (#216629)
* Hacked up the starting point

* More progress

* More progress

* Simplified algo, basic support for colors

* Add the concept of secondary colors for merge commits

* Further optimizations of the algo

* Bug fixes to clean-up algo

* Add support for curved branches

* Keep track of nodes that are moved so that the second parent for the merge commit is rendered in the correct swimlane

* Account for offset when drawing a base commit

* Algo rework completed

* Revert some of the hacks that were put in place to quickly get going

* Add caching to the history items used in the graph
Remove more hacks that were in place

* Added initial tests

* More work so that incoming/outgoing works along history

* Uncomment more code

* Bug fixes to edge cases

* Experiment with a new rendering for curved branches

* Handle repository with a single commit

* Maintain swimlanes

* Fix condition

* Saving my changes

* More polish and clean-up

* Remove code that is not needed

* Revert change

* Revert more changes

* More fixes

* Rename interface

* One last minor change

* Pull request feedback

* More refactoring

* More pull request feedback

* Fix layering issues
2024-06-19 19:45:06 +02:00
y0sh1ne 0a8e930a73
Update language-configuration.json(fix #215999) (#216394)
Update language-configuration.json

add "~" in surroundingPairs
2024-06-19 17:24:44 +00:00
Matt Bierner d662a014f4
Make pasting canceling ongoing geterr requests (#216089)
Should speed up pasting
2024-06-19 10:22:00 -07:00
Sandeep Somavarapu a764c2ac80
Support version for proposed APIs (#216608)
Support version for proposed APIs
2024-06-19 18:01:46 +02:00
Ladislau Szomoru a8e00a00dd
Git - expose untracked changes group (#216414) 2024-06-18 10:59:53 +02:00
Matt Bierner 61eba45dc4
Don't register js/ts paste provider if setting is off (#216168) 2024-06-17 15:14:59 -07:00
Tyler James Leonhardt 5d7157cb03
Implement getAccounts API over getSessions (#215874)
And plumb that through to the Microsoft auth provider
2024-06-16 18:12:37 -07:00
Aaron Munger 608fe4f38c
REPL/IW editor only using a notebook text model (#214356)
* registered editor with notebook model

* migrated some stuff from Interactive Editor

* display notebook and input box

* dont always filter kernels by view

* fix restore

* implement some commands

* working copy recovery/discarding

* fix tear down

* do not show last cell

* simplify notebookOptions creation

* reset text model on execute

* fix run button

* set tab name

* use differentiated notebooktype to determine kernel

* allow registering notebooks as other priorities

* conditionally register actions

* move registerAction back to top level

* fix input box message

* naming

* dont register extra repl commands for now

* use jupyter-notebook notebook type

* set scratchpad on backup recovery

* remove unused method
2024-06-14 15:12:29 -07:00
dependabot[bot] 8fdbb81a9f
Bump braces from 3.0.2 to 3.0.3 in /extensions/npm (#215481)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 16:52:23 +02:00
Matt Bierner 94274c47b8
Skip interrupting geterr in automatic cases (#215389)
Quick fixes already don't interrupt `geterr` requests so this likely won't slow down the automatic lightbulb
2024-06-12 14:29:41 -07:00
Matt Bierner b7e5750fa9
Restrict copy/paste with imports to TS 5.6+ (#215386)
Also skips when the copied file is the same as the paste file
2024-06-12 22:20:46 +02:00
Aaron Munger d7ade261f8
remove giant unused context key (#214504) 2024-06-12 08:34:29 -07:00
dependabot[bot] e46527908d
Bump braces from 3.0.2 to 3.0.3 in /extensions (#214866)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 11:47:34 -07:00
powersagitar fc8e4df4cd
Add file extensions for C++20 module interface units (#214800)
Add file extensions: C++20 module interface units
2024-06-11 10:38:21 +00:00
Rob Lourens d40dff9ef9
Activate configuration-editing extension when jsonc files are opened (#214659)
Fix #182700
2024-06-08 02:13:08 +02:00
Aaron Munger 76664e7ce6
max height buffer to prevent small scrollbar (#214654) 2024-06-07 16:40:42 -07:00
Ladislau Szomoru 5422f5f940
Git - do not show smart commit dialog when using Commit (Amend) (#214595) 2024-06-07 15:51:20 +02:00
Ladislau Szomoru 3d7e352d2d
Git - empty commit should not include unstaged changes (#214587) 2024-06-07 14:08:33 +02:00
yutotnh 3ab7948e14
Add the ability to specify a list of candidate encodings when guessing encoding (#36951) (#208550)
* Allow to configure a list of encodings to use when guessing #36951

* Bump up the jschardet version into 3.1.2 #36951

* missing merge

* some polish

* renames

* some polish

* some polish

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-06-05 10:23:20 +00:00
Remco Haszing a131a88231
Replace removeChild with remove (#213465)
* Replace removeChild with remove

This replaces most uses of `parent.removeChild(child)` with
`child.remove()`.

The two are almost equivalent. The only difference is that
`parent.removeChild(child)` throws if the given node is not a child of
the parent, whereas `child.remove()` never throws. There is no noticable
performance difference. The only reason to use `removeChild` is to
support Internet Explorer, but that’s no longer supported by Monaco
editor.

* Fix broken CSP hash

The script content changed, so the sha256 hash changed too.

* Update src/vs/editor/browser/config/charWidthReader.ts

Co-authored-by: Logan Ramos <lramos15@gmail.com>

---------

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2024-06-05 00:21:08 +02:00
Matt Bierner df2861b737
Pick up TS 5.5 for builtin ts extension (#214170)
For #214169
2024-06-03 21:07:18 +02:00
Benjamin Pasero 9b17067697
debt - 🆙 jschardet@3.1.2 (#214136) 2024-06-03 06:22:13 -07:00
Alex Ross b8e3432a0b
Update grammars (#214005) 2024-05-31 15:09:59 +02:00
Ladislau Szomoru cf3e34fc2f
Git - add error handling for traversing workspace folders during repository discovery (#213975) 2024-05-31 11:24:12 +02:00