Commit Graph

14893 Commits

Author SHA1 Message Date
Matt Bierner fd5f15a2b3 Don't watch in-memory resources (#224535)
Fixes #221583
2024-08-01 17:22:31 -07:00
Ladislau Szomoru 151e03b633 Git - add support for reftable storage format (#224395) 2024-07-31 08:49:46 -07:00
Matt Bierner 84607a2fe2 Fix some always true/false errors in codebase (#223359)
* Fix some always true/false errors in codebase

Testing out latest TS nightly that can identify when an expression is always true/false. This caught a few likely coding mistakes in our codebase

Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

* Bump TS version

* Fix unreachable in build scripts

* Bump versions

* restore intent

* Revert package.json change

* Fixing a few new layer checker errors

These are global in node now

* Skip lib check in integration project

* One more skiplibcheck

* More skip lib

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2024-07-30 15:37:27 -07:00
Anees Ahee 7d0a6b8a0a Fix missing "Restart TS Server" command in Command Palette (#223433)
Update TypeScript context keys when tab groups changed

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-07-30 14:33:33 -07:00
Alex Ross 252f22a4ed Consider renaming the SQL built in language to MS SQL (#224283)
Fixes #221648
2024-07-30 04:02:08 -07:00
Gabriela Araujo Britto 6a33b7a382 [typescript-language-features] Use commit characters from tsserver when available (#223541)
use commit characters from tsserver when available
2024-07-29 13:57:03 -07:00
Matt Bierner 6568162d26 Fix relative path for inserted url() (#224193)
For #224190
2024-07-29 13:25:09 -07:00
Ladislau Szomoru 887cdf05ee Git - add more git sub-commands that would result in refreshing the SCM viewlet (#224185) 2024-07-29 06:58:00 -07:00
Alex Ross 9473445f7d Update grammars (#224167) 2024-07-29 02:33:03 -07:00
Ladislau Szomoru 9c9ef6614b Git - improve handling of first commit (#224165) 2024-07-29 11:01:34 +02:00
Matt Bierner caa558b764 Pick up latest Markdown language server (#224020) 2024-07-26 16:55:33 -07:00
Matt Bierner 059d46b7ed Document markdown debug server build path (#223812)
For debugging, we may want to load the non-bundled path. Only useful when using `yarn link` for local development so just adding as comment
2024-07-25 22:36:59 -07:00
Matt Bierner b6702cdcec Improve markdown setting description (#223814)
For #209318
2024-07-25 22:36:28 -07:00
Matt Bierner a105ce80a3 Bump web TS version (#223552) 2024-07-24 15:21:17 -07:00
Matt Bierner 7d59bab235 Add telemetry on how often server crashes are potentially due to TS service plugins (#223551)
Add telemetry on how often server crashes are potentially due to TS server plugins

Simple flag which tracks if plugins are enabled/disabled
2024-07-24 15:20:38 -07:00
Matt Bierner 3202fa61ce Handle bad directory watch on web (#223542)
Fix #221299

toResource throws here because we're tyring to watch directories outside of the workspace root. Should be fixed on TS side. Until them, adding a `catch`
2024-07-24 14:16:29 -07:00
Tyler James Leonhardt 3873c58c47 If the setting value is the same, do nothing (#223518)
It seems like this event fires in Codespaces... my _guess_ is that Codespaces basically overwrites all the settings from settings sync which causes this event to fire.

It's surprising to me that this event fires even though the value hasn't changed.

I can't repro this with the test resolver, and I also cant have Codespaces use Code - OSS, so we'll just have to see how this goes.

This _should_ do the trick though.

Fixes https://github.com/microsoft/vscode/issues/223508
2024-07-24 10:11:27 -07:00
Ladislau Szomoru 78d09a85c7 SCM - improve history graph filtering (#223497) 2024-07-24 16:39:57 +02:00
Ladislau Szomoru 03f4cbc915 Git - fix condition for setting the base branch (#223493) 2024-07-24 06:23:37 -07:00
Ladislau Szomoru 2293c3d73c SCM - Move "View Changes" action into core (#223485)
* Move "View Changes" action into core

* Verify that the first/last history item group are on the same branch
2024-07-24 03:59:27 -07:00
Ladislau Szomoru 9219bf5f1f Git - use first commit as common ancestor if the repository has not been published to a remote (#223476) 2024-07-24 01:38:31 -07:00
Matt Bierner ea0d7033cf Properly gate type acquisition on web (#223403)
For #221299

Make sure we don't register the file system at all in these cases
2024-07-23 15:12:34 -07:00
Caleb Brose d4d2ee31db Add customizations.codespaces.disableAutomaticConfiguration to the devcontainer schema (#223083) 2024-07-23 17:02:53 +02:00
Matt Bierner 60e020f007 Pick up TS 5.5.4 recovery (#223155) 2024-07-22 17:07:45 -07:00
Ron Buckton 74a977b209 Update to support strictBuiltinIteratorReturn (#222009) 2024-07-22 12:25:52 -07:00
Matt Bierner b832b859e8 Finalize markdown update links on paste setting (#221760)
Fixes #209318

Enables this new feature by default (but as an option, not the default way to paste)
2024-07-22 09:52:01 -07:00
Ladislau Szomoru b97d0a2cb5 Git - include changes from both commits in the range (#223050) 2024-07-22 14:03:38 +02:00
Ladislau Szomoru cba3b82197 Git - get short stats for the common ancestor commit (#222937) 2024-07-22 10:47:07 +02:00
Lee Zee 6d186d4c33 shellscript: Register .eclass extension as shell-like (#219631)
Gentoo provides a framework to define modular code that can be reused between ebuilds and packages; the file extension for Gentoo eclasses should be registered as shell-like syntax in addition to ebuilds.

https://wiki.gentoo.org/wiki/Eclass
2024-07-20 13:14:18 +02:00
Tyler James Leonhardt ba98397575 Experimental GitHub Multi-account support (#222131)
* Have select account picker include accounts that don't match requested scopes (this will run `createSession` for that chosen account)
* Implement multi-account GitHub support behind a setting
2024-07-19 14:48:40 -07:00
Ladislau Szomoru 08c88cee36 SCM - better handle empty commits (#222194) 2024-07-19 07:59:30 -07:00
Ladislau Szomoru 0c0837460f SCM - add support for multi-select in the history graph (#222186) 2024-07-19 07:23:01 -07:00
Ladislau Szomoru 129edfe9cd SCM - add basic context menu to history graph (#222162) 2024-07-19 03:20:53 -07:00
Ladislau Szomoru f674ef206c Git - only set base if it's different than remote (#222163) 2024-07-19 03:05:52 -07:00
Ladislau Szomoru 466bb876a6 Git - update terminal shell integration (#222155) 2024-07-19 09:26:50 +02:00
Matt Bierner febad5e489 Handle empty edits for TS paste (#222109)
Should use default paste in this case. Talking with TS if this should be handled differently from the server but worth adding the workaround for now
2024-07-18 12:34:03 -07:00
Matt Bierner 6eb023ca6f Fix version for web TS (#221992) 2024-07-17 14:41:02 -07:00
Ladislau Szomoru b17732f43c Git - add terminal shell execution listener (#221895) 2024-07-17 14:28:09 +05:30
Matt Bierner f4dabd7898 Fix path mapping call on web (#221859)
Fixes #221299

Seems like a TS bug that realpath is called here. This is a workaround for that
2024-07-16 16:30:05 -07:00
Matt Bierner 8d40a80726 Add drop/paste resource for css (#221612)
* New drop and paste providers that create a url function snippet

* added url pasting feature

* added url pasting feature

* added url pasting feature

* Target just dropping/pasting resources for now

* Move files

* Remove unused strings

* Removing more unused logic for now

* Remove tsconfig change

* Remove doc file

* Capitalize

* Remove old proposal names

---------

Co-authored-by: Meghan Kulkarni <kulkarni.meg@gmail.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-07-16 09:56:23 +02:00
Matt Bierner 0cba3e61b8 Align rendered header id generation with markdown language service (#221742)
Fixes #220064
2024-07-15 12:17:10 -07:00
Tyler James Leonhardt 86495e947b Use global fetch and crypto (#221736)
Now that we're on Node 20, we can just use the global fetch and crypto which work the same in node and in the browser.
2024-07-15 10:58:31 -07:00
Matt Bierner 7174171947 Move MD server into own package (#212387)
* Move MD server into own package

* Remove a few more refs

* Try glob

* Move glob

* More glob

* Add logging

* Tweak glob again

* Use webpack to copy over files

* Remove a few more refs to server

* Fix debug check
2024-07-12 14:04:42 -07:00
Gabriela Araujo Britto 14cf5001ec [typescript-language-features] Add diagnostics performance telemetry (#220127)
* 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

* add telemetry for diagnostics performance

* add file line count

* remove comment

* use block on case

* add ts-expect-error

* declare interface earlier in file

* address review comments
2024-07-12 17:03:45 +00:00
aaronchucarroll a35380d6f0 Adds support for Github-style fenced math blocks in markdown editor and preview (#213750)
* added support for markdown fenced math blocks

* original markdownEngine.ts

* Add fenced math block rendering to markdown-math

* Update dependencies

* custom parser for fenced math blocks

* custom parser for fenced math blocks

* reverted changes to extension.ts

* reverted all changes from prior implementations

* proper fence grammar implementation for math

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-07-12 04:51:37 +00:00
Daniel Imms 6d7dc0072b Merge pull request #221500 from microsoft/tyriar/scrollbar
Update xterm and integrate new scroll bars
2024-07-11 16:30:00 -07:00
Daniel Imms 957cc73060 Disable whole suite 2024-07-11 16:04:59 -07:00
Daniel Imms f46e27c6f7 Disable executeCommand test
Looking into this exact thing later in #221399 anyway
2024-07-11 15:55:57 -07:00
Tyler James Leonhardt 649bcae6d3 Plumb error through to auth page (#221511)
plumb error through to auth page
2024-07-11 14:50:49 -07:00
Matt Bierner cef334b38c Enable rendering of math fenced code blocks (#219820)
Fixes #174731
2024-07-11 11:53:56 -07:00