Commit Graph

13770 Commits

Author SHA1 Message Date
Kartik Raj d3ffc565ea Correctly show descriptions for each scope 2023-05-23 17:38:56 +00:00
Daniel Imms 438eb68ef6 Actually fix the tests, options is an empty object not undefined 2023-05-23 09:02:42 -07:00
Daniel Imms 27293f19d2 Fix env var collection api tests 2023-05-23 08:34:06 -07:00
Alex Ross 9cf00f5cd8 Update cgmanifest for php grammar (#183190) 2023-05-23 13:52:42 +02:00
Joyce Er bc1090cc10 Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Rob Lourens 05c0ca95ed Add new API proposal for chat onDidPerformUserAction event (#183140)
* Add new API proposal for chat onDidPerformUserAction event

* Enable API for tests that incidentally touch the getter
2023-05-22 11:52:19 -07:00
Aaron Munger c7502fef05 Merge branch 'main' into aamunger/imageAlt 2023-05-22 09:44:49 -07:00
David Dossett 742d3670cb Fix code block background in light modern theme (#183131) 2023-05-22 18:43:43 +02:00
Aaron Munger d6db619ce7 prefix metadata altText 2023-05-22 09:39:48 -07:00
David Dossett 4d0b34bf48 Rename new default theme files (#183001)
* Rename new default theme files

* Update tests
2023-05-22 08:27:24 -07:00
Benjamin Pasero 487a08afe5 Investigate detecting slow network connections (#178553) (#182653) 2023-05-22 14:38:13 +02:00
Alex Ross 5784d8bb81 Update lua grammar (#183107) 2023-05-22 12:15:44 +02:00
Bhavya U b0cf9f8e24 Remove temp walkthroughs (#182996) 2023-05-19 15:28:27 -07:00
Aaron Munger 24842542bf add title for svgs 2023-05-19 15:22:26 -07:00
David Dossett a4037a72ef Use default theme focus border color in Dark Modern theme (#182997)
Use regular focus border color in Dark Modern theme
2023-05-20 00:06:28 +02:00
Aaron Munger caef631375 better metadata check 2023-05-19 14:47:55 -07:00
Aaron Munger dc49b22e9e set alt text of image output items to the corresponding plain/text output item 2023-05-19 14:38:06 -07:00
Matt Bierner 2d416df5f0 Pick up TS 5.1-rc (#182932)
For #182931
2023-05-19 03:46:49 +02:00
Rob Lourens 047b9cd0f5 Restore preexisting php snippets (#182929)
That shouldn't have been deleted in #174889
And also bring back one constructor snippet
2023-05-19 02:17:56 +02:00
Matt Bierner 65123b465a Allow clickable links to absolute tsconfig extends paths (#182921)
Fixes #182898
2023-05-19 01:05:34 +02:00
David Freer 89636b9b4c PHP Snippets Quality of Life and Continuity (#174889)
* QoL & continuity update to existing php snippets

- Sorted snippets by snippet title for discoverability
- Removed all doc comments from non 'doc_' prefixed snippets
- Added doc_trait for continuity with other patterns
- Updated snippet prefixes
	- Add kvp to keyval
	- Prefixed fun with class_
	- Changed doc_param to doc_var
	- Qualified 'con' to 'constructor' to not be confused with const
- Updated class snippet to default the 'class' placeholder to the file's base name
- Add snippet choices for private, public, protected where appropriate
- Add an additional tab stop to end of functions for additional args/params
- Remove array kvps since arrays can be associative or just values

* Add try catch finally php snippet

* Add param php snippet

* Add php func snippets

- Add fun for a general function out of scope of class
- Add fun_anonymous for anonymous functions
- Add fun_arrow for arrow functions

* Add promotion style constructor to php snippets

* Add property snippet to php snippets

* Add spaceship snippet to php snippets

* Add goto snippet to php snippets

* Add class_const snippet to php snippets

* Add here/now doc snippets to php snippets

* Add namespace related snippets to php snippets

* Add superglobal snippets to php snippets

* Add php 8 snippets

- Add match expression
- Add Attribute snippets
  - Add sensitive parameter
  - Add attribute target
  - Add attribute with target
- Rename class_const to const
- Add Dynamic Property Class snippet
- Add enum snippets
  - Basic Enum
  - Backed Enum
  - foreach enum

* Merge master to resolve conflict

* Remove php snippets as candidates

- Remove heredoc
- Remove nowdoc
- Remove php super global snippets
- Remove namespace_path
- Remove ethis (echo $this->)
- Remove try/catch finally

* Trim snippets

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-05-18 14:46:36 -07:00
Matt Bierner b11a3f7f87 Disable flaky test (#182814)
Fixes #182489
2023-05-18 13:17:51 -07:00
Matt Bierner 728197deb8 Remove some completions logic specific to old TS versions (#182894)
Removes workarounds added for TS versions that are many years old at this point
2023-05-18 11:10:31 -07:00
Joyce Er 0880f76765 Improvements to canonical URI API (#182667)
* Improve API names

* Allow requesting a specific scheme

* Implement ile uri support
2023-05-18 09:23:27 -07:00
Gabriela Araujo Britto 8457aa24b2 [typescript-language-features] Use original filterText if present (#172866)
* use original filter text, if present

* update comment
2023-05-17 22:37:11 +00:00
Matt Bierner 4d59b19b73 Enable project wide JS/TS intellisense on web by default (#182812)
Fixes #170920

Enables this feature by default but also disables semantic errors. This is needed to avoid lots of annoying false positive errors for external modules. We plan to remove this limitation once type downloading support is enabled
2023-05-18 00:06:00 +02:00
Matt Bierner adddf406d0 Simplify buffer enums (#182811) 2023-05-18 00:01:06 +02:00
Ladislau Szomoru 46c9471450 Git - fix git status regression for git versions older than 2.18 (#182739)
* Git - fix git status regression for git versions older than 2.18

* 💄 - Tweak version number
2023-05-17 11:17:53 +02:00
Matt Bierner bfc0808ac1 Bump TS versions (#182695)
Picks up new TS for building VS code: nightly, 5.2

Picks up new bundled TS version: last 5.1 release
2023-05-17 02:34:14 +02:00
Matt Bierner 1569f9d9d7 Don't cancel file reopen if language has changed (#182657)
Fixes #182526

The chat panel changes the language of a document. This revealed a bug in JS/TS about language changes.

Normally changing a language should close and reopen a text document. However we added an optimization to not do this full flow if the open then close happens quickly

However this causes issues if the file changes languages as TS gets into a state where its doc language id does not match VS Code's language id. To fix this, I've limited the optimization to only apply when the expected script kinds match
2023-05-16 12:28:14 -07:00
Connor Peet 8b3523a18d api: implementation of proposed window activity API (#182563)
* api: implementation of proposed window activity API

For #181569

* fix build

* fix build more

* add cell activity per @rebornix
2023-05-16 17:49:33 +02:00
Christof Marti fb8bf97485 Remove obsolete warning (#170049) 2023-05-16 11:31:46 +02:00
Matt Bierner 7a7d45793b Allow external copying files into the workspace on markdown drop / paste (#182572)
Allow copying files in the workspace on markdown drop / paste

Fixes #157043

Also:

- Renames the markdown paste settings and makes them no longer experimental
- Makes the copyFiles setting no longer experimental
- Adds a `markdown.copyFiles.overwriteBehavior` which lets you control if/how existing files are overwritten
2023-05-15 20:17:52 -07:00
Matt Bierner 09023d824a Try to fix flaky paste tests (#182574)
These tests fail occasionally in CI, seemingly only on linux. This tries to fix this by:

- Adding retries
- Switching back to use `teardown` to disposed of things. `usingDisposable` may not clean up properly if the test times out
2023-05-15 19:56:25 -07:00
Ladislau Szomoru b7be44e639 GitHub - fix an issue with toggling branch protection setting (#182536)
* GitHub - fix an issue with toggling branch protection setting

* 💄 Remove variable

* Pull request feedback
2023-05-15 21:03:27 +02:00
Joyce Er 2c5dcb3b81 Allow Continue On between repos with HTTPS and SSH remotes (#182352)
* Deduplicate HTTPS and SSH remote URLs

* Improve doc
2023-05-15 11:37:38 -07:00
Matt Bierner 06fc826c30 Copy paste api should not fail on invalid provider (#182535) 2023-05-15 20:24:15 +02:00
Connor Peet ba7435efd6 Merge pull request #180263 from microsoft/connor4312/inline-remote-resolver
remote: first cut at 'inline' remote resolvers
2023-05-15 08:31:26 -07:00
Ladislau Szomoru 4981453f79 Git - fix working tree file system watcher regex (#182310) 2023-05-15 16:07:15 +02:00
Ladislau Szomoru f47327fee9 Git - fix branch creation regression (#182504) 2023-05-15 06:57:12 -07:00
Gabriel Staples b4368691e9 all color themes: treat comment docstrings as comments too (#182162)
* monokai-color-theme.json: treat Python comment string blocks

...as comments too

* Update *all* themes to consider Python block string comments as comments

	modified:   extensions/theme-abyss/themes/abyss-color-theme.json
	modified:   extensions/theme-defaults/themes/dark_vs.json
	modified:   extensions/theme-defaults/themes/hc_black.json
	modified:   extensions/theme-defaults/themes/hc_light.json
	modified:   extensions/theme-defaults/themes/light_vs.json
	modified:   extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json
	modified:   extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json
	modified:   extensions/theme-monokai/themes/monokai-color-theme.json
	modified:   extensions/theme-quietlight/themes/quietlight-color-theme.json
	modified:   extensions/theme-red/themes/Red-color-theme.json
	modified:   extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json
	modified:   extensions/theme-solarized-light/themes/solarized-light-color-theme.json
	modified:   extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json

* Update all changes to use "string.quoted.docstring"

...instead of "string.quoted.docstring.multi.python", per
@aeschli's request here:
https://github.com/microsoft/vscode/pull/182162#issuecomment-1545296640

This way the comment formatting applies to *all* language quoted
docstrings, instead of just to Python.

* bring back python colorize tests

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-15 14:38:43 +02:00
Ladislau Szomoru b0252732a7 Git - add similarity threshold setting (#182492) 2023-05-15 12:59:33 +02:00
Aaron Munger 89eec20d07 Merge pull request #180715 from microsoft/aamunger/scrollOutputWithKeys
keep scroll related key events in scrollable region
2023-05-12 08:50:44 -07:00
Matt Bierner 9b6b547d2d Fix range when copying empty selection (#182227)
This fixes the range extensions get when copying an empty selection. As part of this, I've also:

- Added tests for this change
- Made the paste parts of the api optional. This is useful when a test provider only wants to add data on copy
2023-05-11 17:31:11 -07:00
Matt Bierner bf7ca503c2 Fix drop priorities for notebooks (#182209)
For copy paste, I added logic to prefer using the text content if there's both `image/*` and `text/*` content in the clipboard

This however I also incorrectly applied this logic when dropping. In those cases, we instead want to prefer the image data (at least we do in the case of dragging and dropping from VS Code's explorer)
2023-05-11 13:03:28 -07:00
Connor Peet f76fd4f664 address pr comments 2023-05-11 12:29:42 -07:00
Aaron Munger 9ede543860 Merge branch 'main' into aamunger/scrollOutputWithKeys 2023-05-11 11:07:02 -07:00
Connor Peet 364b84e3ec Merge remote-tracking branch 'origin/main' into connor4312/inline-remote-resolver 2023-05-11 09:55:21 -07:00
Raymond Zhao 075c89881f Bump emmet-helper (#180583) 2023-05-10 16:17:58 -07:00
Aaron Munger 8f92d4b1ef Merge pull request #182117 from microsoft/aamunger/linkDetection
reduce false positive link detection
2023-05-10 15:06:07 -07:00