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 )
...
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
* 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 )
...
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
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 )
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
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 )
...
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
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
Ladislau Szomoru
31f831310c
SCM - 💄 history provider observables cleanup ( #221474 )
2024-07-11 08:21:53 -07:00
Martin Aeschlimann
8d13b31708
Remove package.json schema descriptions ( #221454 )
2024-07-11 02:40:45 -07:00
Ladislau Szomoru
3b37bcdc19
SCM - add revision to history item group ( #221408 )
...
* SCM - add revision to history item group
* 💄 Cleaned things up
2024-07-10 12:53:20 -07:00
Tyler James Leonhardt
b07596a8aa
Polish QuickInputButtonLocation ( #221403 )
...
* Fix a bug where the buttons would show up when they shouldn't by clearing them on show like the other ActionBars
* Introduce Proposed API (changed the core shape to reflect)
* Adopted in Git extension
ref https://github.com/microsoft/vscode/issues/221397
2024-07-10 11:39:24 -07:00
Ladislau Szomoru
233ccb7df9
SCM - refactoring to enable filtering of history item groups ( #221395 )
2024-07-10 11:00:19 -07:00
Ladislau Szomoru
7ed4861b96
Git - do not use commit^.. to get the list of commits ( #221287 )
2024-07-09 17:15:07 +02:00
Ladislau Szomoru
c4e1a5aabc
Git - fix fetchRef, pullRef, pushRef commands ( #221273 )
2024-07-09 15:12:19 +02:00
Martin Aeschlimann
3be49eccc5
Use fs provider for loading schemas ( #221136 )
...
* use file system provider for schemas
* fix getSchemaContent
* update
* update
* polish
* feedback
---------
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2024-07-09 14:56:04 +02:00
Ladislau Szomoru
fc8ade92b0
Git - add exception handling to handle edge cases ( #221254 )
2024-07-09 12:16:19 +02:00
Alex Ross
c2df206074
Update YAML grammar ( #221244 )
2024-07-09 10:20:26 +02:00
Johannes Rieken
729b03d8d0
update esbuild ( #221241 )
2024-07-09 09:43:21 +02:00
Robo
2fe0527205
chore: update to electron 30 ( #215406 )
...
* chore: update electron@30.0.9
* chore: update rpm deps
* chore: bump electron@30.1.2
* fix: update kerberos for Node.js 20.x
Refs c1f7acafb2
* fix: use shell when spawning .bat or .cmd files
Refs https://github.com/nodejs/node/commit/6627222409
* fix: update @vscode/test-electron@2.4.0
Refs 3f7a3cc5c5
* fixup! use shell when spawning .bat or .cmd files
* chore: bump nodejs@20.14.0 internal build
* ci: skip nodejsMirror for 20.14.0 due to missing builds
* fixup! use shell when spawning .bat or .cmd files
* chore: update debian deps
* fixup! skip nodejsMirror for 20.14.0 due to missing builds
* fix: universal build
- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files
* chore: bump distro
2024-07-09 14:33:22 +09:00
Tyler James Leonhardt
1b24381b5c
Adopt getAccounts
API in GitHub Authentication ( #221224 )
...
This allows the GitHub Auth provider to take in a account per this proposal:
417dddb83f/src/vscode-dts/vscode.proposed.authGetSessions.d.ts (L35-L69)
Additionally, this makes an additional small change that allows `clearSessionPreference` to work in single-account auth providers.
2024-07-09 00:19:40 +02:00
Ladislau Szomoru
33abd96b99
Git - add actions to incoming/outgoing header ( #221221 )
2024-07-08 22:08:24 +02:00
Ladislau Szomoru
f3930566bd
Git - 💄 fix log message format ( #221218 )
2024-07-08 20:51:52 +02:00
Matt Bierner
1cd7cf5dec
Update MD grammar ( #221204 )
2024-07-08 20:33:21 +02:00
Christof Marti
125c83df26
Test basic auth for proxy ( #220034 )
2024-07-08 16:39:26 +02:00
Alex Ross
2b9ebd6897
Update less grammar ( #221128 )
2024-07-08 15:04:25 +02:00
Ladislau Szomoru
cf8fdae691
SCM - update history graph hover ( #221039 )
2024-07-08 13:21:05 +02:00
Ladislau Szomoru
d0f0de52df
Git - fix commit flow regression ( #220991 )
2024-07-08 09:14:50 +02:00
Benjamin Pasero
3a0cc239a9
🆙 jschardet@3.1.3
( #220089 )
2024-07-05 16:30:50 +02:00
Ladislau Szomoru
c040699c44
Git - standardize logging in the git extension ( #220043 )
...
* Git - more logging
* Git - more logging changes
2024-07-05 11:26:48 +02:00
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
Connor Peet
54dd0ecc65
forwarding: make https work for port forwarding ( #213943 )
...
Closes https://github.com/microsoft/vscode/issues/201465
2024-05-30 21:42:51 -07:00
Matt Bierner
b1ecfe96b5
Don't use shell for spawning node ( #213960 )
...
Fixes #204678
2024-05-30 17:08:47 -07:00
Alexandru Dima
8f78098b37
Ensure inline chat is started with a good initial selection ( #213860 )
2024-05-29 15:59:54 -07:00
Rob Lourens
7abff3e641
Fix vscode-api-tests in stable ( #213733 )
2024-05-28 15:29:20 -07:00
Matt Bierner
d0d79c231f
Fix js/ts cross code block intellisense ( #213726 )
...
We need to register support for the backing copilot scheme too, not just the panel scheme in core
2024-05-28 13:43:20 -07:00
Aiday Marlen Kyzy
d309e11579
Remove brackets from comments, strings and regexes before evaluating the indentation ( #210641 )
...
* wip
* polishing the code
* adding code
* adding the language
* reshuffling the code to avoid cyclic dependency
* polihsing code
* uncommenting tests
* also adopting the indentation rules within the reindentation operation
* using instead the sliced line tokens instead of the scoped line tokens
* polishing the code
* using start indices instead
* using value everywhere
* using the token data to type the tokens
* setting to number instead of standard token type
* using token data from autoindenttest.ts
* using same code in both test files
* placing instantiation service into the registerLanguage method
* copying object into the node js autoindent.ts
2024-05-27 11:18:00 +02:00
Benjamin Pasero
2188b46e88
ts - enable use code watcher by default ( #213450 )
2024-05-25 12:48:33 +02:00
Matt Bierner
934af755c4
Hook up prototype paste with imports for JS/TS ( #204665 )
...
* Hook up prototype paste with imports for JS/TS
For https://github.com/microsoft/TypeScript/pull/57262 but with proposed changes to ts protocol
* Support new api
* Update
2024-05-24 21:57:30 +02:00
Matt Bierner
fb7f5a9a83
Disable web TS type acquisition ( #213412 )
...
We're waiting on some perf improvement for upstream types installer before turning this on everywhere
2024-05-24 21:51:41 +02:00
Connor Peet
6629c4e0a9
git: allow querying whether files are gitignore ( #212982 )
...
* git: allow querying whether files are gitignore
This exposes `checkIgnore`, which I want to use in copilot to determine
which files I should go into when checking references.
* rename method
2024-05-23 21:28:04 +02:00
Martin Aeschlimann
027fce3efd
Polish the code that sets env in packageJSONContribution.ts ( #213306 )
2024-05-23 11:45:56 +02:00
Matt Bierner
85fe2e2daf
Update for latest code mapper proposal ( #213256 )
2024-05-22 22:10:07 +02:00
Rob Lourens
b9d35d9145
Don't register chat participants in stable ( #213244 )
...
* Don't register chat participants in stable
And fork some Additions APIs into chatParticipantPrivate
* Remove stale proposals
* Move more API out of Additions
2024-05-22 21:07:40 +02:00
Matt Bierner
001b81c683
Disable VS Code file watching for yarn pnp ( #213238 )
...
Disable VS Code file watching on yarn pnp
2024-05-22 18:43:55 +02:00
Walker Boyle
3bda9ff4f7
fix: tsserver no longer crashes when log path includes spaces ( #212752 )
2024-05-21 18:01:17 +00:00
Connor Peet
eb99b85bdf
chore: update CLI dependences, add env var options for login
2024-05-20 08:33:23 -07:00
Benjamin Christopher Simmonds
146b3fb6e0
Update tab selected background color ( #212872 )
...
tab selected background light vs
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-05-16 16:15:28 +02:00
Rob Lourens
14ebfdc345
Add variable 'isSlow' ( #212657 )
...
* Add variable 'isSlow'
Since 'codebase' doesn't really work as a reference, I'm only making accessible to our agents for now
* fix
* Check for slow variables in parser as well
2024-05-15 17:40:21 -07:00
Benjamin Christopher Simmonds
942d81c5b1
Improve tabs multi select theme colors and high contrast support ( #212795 )
...
Improved tabs multi select theme colors and high contrast support
2024-05-15 12:41:13 +02:00
Sean McManus
739d4803af
Add /** */ to cpp/language-configurations.json ( #211202 )
...
This fixes the issue at https://github.com/microsoft/vscode-cpptools/issues/12249 .
This was removed in 98fa77a679
.
Then PR https://github.com/microsoft/vscode/pull/160357 added /* */ autoClosingPair.
2024-05-15 09:10:15 +00:00
Matt Bierner
daec93b827
Disable web ata for safari ( #212726 )
2024-05-14 11:12:28 -07:00
Rob Lourens
6643db734a
Add chat variable id and rename to 'references' ( #212480 )
...
* Add chat variable id
* Rename 'variables' to 'references'
* Replace other 'variables' usages
* Fix tests
2024-05-13 14:30:14 -07:00
BrunoSoaresEngineering
3fdda617d3
feat(markdown-language-features): #208398 add avif as image extension ( #212547 )
2024-05-13 15:29:10 +00:00
Dirk Baeumer
24d4616d5e
Make VS Code compile on Windows with NodeJS >=20
2024-05-13 11:37:37 +02:00
Johannes Rieken
2ba77dae52
Merge pull request #212158 from kdy1/swcrc-schema
...
feat: Use official json schema for SWC
2024-05-13 09:42:10 +02:00
Tyler James Leonhardt
9d4274e559
Remove session if it is being replaced ( #212504 )
...
A bug that has probably existed for quite a while... if we are replacing a session, we should say the old session is removed.
2024-05-11 14:49:03 +02:00
Robo
5216c04428
chore: update to electron 29 ( #209818 )
...
* chore: update electron@29.1.0
* chore: update typings to 20.x
* chore: bump electron@29.1.5
* ci: fix crash in compiling extensions-ci
* chore: disable .d.ts check for build/
$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 node_modules/@types/chokidar/index.d.ts:21
1 node_modules/chokidar/types/index.d.ts:8
Refs a0f9e09f64
* chore: update core types
* temp: fix layer validation
* chore: update nodejs checksums
* ci: use latest v20 LTS for missing node-gyp
Refs eacec5f490
* ci: define LIBCPP_HARDENING_MODE
* ci: fix crash in vscode-web-min-ci
* chore: update rpm deps-list
* chore: bump tree-sitter-typescript@0.20.5
* chore: bump electron@29.3.0
* chore: bump electron@29.3.1
* chore: update rpm deps-list for x86_64
* ci: disable io_uring UV backend on linux
* ci: disable io_uring backend for oss as well
* chore: update typings to 20.x
* ci: add TODO for io_uring workaround
* chore: bump distro
* chore: update preinstall node version checks
* chore: update @types/gulp
Refs https://github.com/microsoft/vscode/issues/212442
* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Tyler James Leonhardt
dc45ddef95
Remove requirement that there can be only one account ( #212398 )
...
This allows each set of scopes to have one account associated with it.
2024-05-09 15:59:58 -07:00
Matt Bierner
a4643b0ee0
Enable web type acquisition by default for js/ts ( #212370 )
...
* Enable web type acquisition by default for js/ts
Fixes #182791
Fixes #172887
* Cleanup
2024-05-09 20:09:49 +02:00
Matt Bierner
268c20f317
Suppress semantic errors in js/ts notebook cells ( #212367 )
...
Fixes #212366
2024-05-09 10:20:21 -07:00
Rob Lourens
9c336bfa87
Add test for FunctionBreakpoint change ( #212284 )
...
See #211894
2024-05-08 20:41:49 +02:00
강동윤 (Donny)
71718e2b96
json schema for swcrc
2024-05-07 18:28:22 +09:00
Johannes Rieken
6874fc7394
Joh/ministerial-swan ( #212096 )
...
* first cut of embeddings API
https://github.com/microsoft/vscode/issues/212083
* add event
* fix tests
2024-05-06 16:50:13 +02:00
Aaron Munger
c6563ccae8
put word wrap styling on parent container ( #211982 )
...
* put word wrap styling on parent container
* update tests
2024-05-03 15:27:36 -07:00
Rob Lourens
f8b115947e
Fix removeAnsiEscapeCodes for escape sequence after : ( #211886 )
...
* Fix removeAnsiEscapeCodes for escape sequence after :
Fix #209937
* And in debug-server-ready
2024-05-02 20:33:24 -07:00
Daniel Imms
d95fae2e2d
Fix flaky integration tests on mac
2024-05-01 13:22:17 -07:00
Matt Bierner
59a90a6dab
Pass along autoImport setting on TS file settings ( #211803 )
2024-05-01 12:23:30 -07:00
Rob Lourens
b8292ab7f2
Replace ChatResolvedVariable with ChatValueReference ( #211665 )
...
* Replace ChatResolvedVariable with ChatValueReference
Participant API
#199908
* Fix integration test
* any -> unknown
2024-05-01 09:14:54 -07:00
Matt Bierner
431afbe459
Log trigger reason in TS refactor telemetry ( #211652 )
2024-04-30 11:27:07 -07:00
Matt Bierner
bc278dfe7c
Fix workspace symbol search ( #211681 )
...
For #211672
2024-04-29 17:54:50 -07:00
Matt Bierner
c1cc1a902d
Remove most <type>
assertions in TS ext ( #211648 )
...
These can easily hide typing errors
2024-04-29 18:23:51 +02:00
Tyler James Leonhardt
1357fca0f7
Add cancellable promise to Microsoft auth flows ( #211495 )
...
Fixes #211406
2024-04-27 01:06:58 +02:00
Daniel Imms
c398f717a9
Consolidate ansi functions into strings.ts
2024-04-26 07:22:16 -07:00
Alex Ross
5c213a1e84
Update grammars ( #211439 )
2024-04-26 04:52:52 -07:00
Matt Bierner
56ad6311c8
Pick up latest Markdown language service ( #211391 )
...
Fixes #211389
2024-04-25 13:48:44 -07:00
Ladislau Szomoru
b4b87ffac4
Git - show notification when there are no staged changes/changes/untracked changes ( #211170 )
2024-04-23 21:21:02 +02:00
Ladislau Szomoru
0991b0053f
Git - fix view untracked changes command visibility ( #211167 )
2024-04-23 21:09:25 +02:00
Martin Aeschlimann
83d2801c6b
[css/json] update services ( #211053 )
2024-04-23 11:27:29 +02:00
Matt Bierner
5d25f31b7e
Re-register TS sort/remove unused commands ( #210984 )
...
Fixes #210728
Removed these as I thought they were unused
2024-04-22 20:16:38 -07:00
Matt Bierner
117c4419d6
Fix config file diag text ( #210988 )
...
Fixes #210966
2024-04-22 20:15:13 -07:00
Martin Aeschlimann
0de5c3004f
Revert "[css/json] update services ( #210950 )" ( #210959 )
...
This reverts commit 5b6444d082
.
2024-04-22 22:32:32 +02:00
Martin Aeschlimann
5b6444d082
[css/json] update services ( #210950 )
2024-04-22 12:23:36 -07:00
Aaron Munger
674c62fade
Minimal error renderer ( #210767 )
...
* collapse stack trace
* interaction buttons
* fixup
* place feature behind option
* styling, more cleanup
* test returned link, fix test bug
* test header link, skip header link for old IPython
* padding
* remove inline margin
2024-04-22 08:09:11 -07:00
Martin Aeschlimann
348de48632
Monokai Dimmed theme: json syntax highlighting colors very different in v1.88.0 ( #210908 )
2024-04-22 14:23:41 +02:00
Benjamin Pasero
47e4d24fa1
vscode API - globalState / workspaceState unit test flake ( fix #210575 ) ( #210632 )
2024-04-18 10:54:47 +02:00
David Dossett
7bf27d553e
Merge pull request #210602 from microsoft/ddossett/mid-kangaroo
...
Update menu selected state colors
2024-04-17 22:47:20 -07:00
Frank
59d84c5c8c
disable corepack auto pin feature when executing npm view ( #210601 )
2024-04-18 01:28:08 +00:00
David Dossett
2fb4572cce
Update menu selected state colors
2024-04-17 15:18:30 -07:00
Raymond Zhao
75aea74df7
feat: bump emmet-helper ( #210508 )
...
Also add test
2024-04-17 14:21:23 -07:00
Daniel Imms
7ce200d9f6
Merge pull request #210260 from microsoft/tyriar/si_integration_tests
...
Add shellIntegration ext api integration tests
2024-04-17 07:52:06 -07:00
Pig Fang
a7d0bc8982
Auto close Git multi-diff editor when all files staged or comitted ( #210327 )
...
* auto close multi-diff editor when all files staged or comitted
* remove unused vars
2024-04-17 11:16:33 +00:00
Daniel Imms
762cbd66a8
More logging, disable on Windows
2024-04-16 15:26:45 -07:00
Daniel Imms
f18f406e30
Improve assertions
2024-04-16 15:06:34 -07:00
Daniel Imms
4080745f7e
Merge remote-tracking branch 'origin/main' into tyriar/si_integration_tests
2024-04-16 13:56:38 -07:00
Connor Peet
97df4dad38
api: finalize windowActivity ( #210491 )
...
Closes #181569
2024-04-16 11:03:14 -07:00
Matt Bierner
9d2deb650d
Use resolveCodeAction
for organize imports ( #210418 )
...
For #210171
2024-04-15 15:19:28 -07:00
Matt Bierner
98785f537e
Fix setting type ( #210408 )
...
Fixes #210400
2024-04-15 18:51:02 +02:00
Daniel Imms
fa1e2afd99
Set SI to enabled in integration tests
2024-04-15 08:53:11 -07:00
Daniel Imms
6162e457e3
Add shellIntegration ext api integration tests
...
Part of #145234
2024-04-12 12:21:09 -07:00
Don Jayamanne
f309a5e375
Fix test failure and improve visibility check ( #210128 )
...
* Fix test failure when UI is small
* oops
2024-04-11 08:07:50 +02:00
Don Jayamanne
804f8e3929
Debounce notebook cell metadata edit updates ( #210005 )
...
* Debounce notebook cell metadata edit updates
* Clear timer
* Check notebook type
* Try again
* Ignore IW notebooks
* oops
2024-04-11 07:44:14 +02:00
Matt Bierner
23915afd3b
Exclude chat symbols from JS/TS workspace symbol results ( #210095 )
2024-04-10 12:27:52 -07:00
Matt Bierner
0347b00161
Pick up latest TS recovery 5.4.5 ( #210072 )
2024-04-10 18:51:13 +02:00
Martin Aeschlimann
eef0da0b89
update weppack so we can build the latest language client ( #208908 )
...
* update weppack so we can build the latest language client
* update webpack types
* update yarn file
2024-04-10 15:19:18 +02:00
Don Jayamanne
e079f1e07b
Drop custom property from Jupyter Nb metadata ( #210011 )
2024-04-10 08:30:18 +02:00
Rob Lourens
eb736c18c2
Limit chat history to messages with the current participant ( #209898 )
...
* Limit chat history to messages with the current participant
* Fix build error
* Fix build for real
2024-04-09 08:56:52 -07:00
Ladislau Szomoru
f9554073cc
Git - add dedicated commands to view changes ( #209942 )
2024-04-09 14:33:13 +02:00
Sheetal Nandi
b2c4302323
Use vscode watches for tsserver ( #193848 )
2024-04-09 13:39:34 +02:00
Alex Ross
b557947e50
Update grammars ( #209932 )
2024-04-09 12:20:39 +02:00
Alex Ross
a1815b994a
Fix git merge editor for renames ( #209542 )
2024-04-08 23:34:48 +02:00
Vladimir Piskarev
5bde174ef1
Fix incorrect typings in OpenJsDocLinkCommand_Args
( #209872 )
...
Fix incorrect typings in OpenJsDocLinkCommand_Args
2024-04-08 20:09:49 +00:00
Matt Bierner
2502021f86
Pick up TS 5.4.4 ( #209850 )
...
For #209849
2024-04-08 17:33:31 +02:00
Ladislau Szomoru
45b5423f72
Git - only add --ignore-case
if it is a supported flag ( #209819 )
2024-04-08 12:47:18 +02:00
Rob Lourens
ed6c6d3f28
Kill "interactive session provider" DEAD ( #209700 )
...
* Reduce chat provider usage
* Clear out IChat props
* Delete interactive session provider API
* Totally remove static chat provider registration
* Clean up onDidRegisterProvider events
* Remove provider ID references from model
* Eliminate many 'providerId' references
* Simplify view registration
* Clean up participant-specific actions
* Delete getProviderInfos
* Rename context key
* Fix tests
* Fix action label
* Fix view title
* Fix test
* Fix test
* Fix integration test
* Remove more providerId
* Add API stub to make this compatible with the existing Copilot Chat
2024-04-07 21:06:43 -07:00
Matt Bierner
6160e8e969
Add support for markdown image/video path hovers ( #209685 )
2024-04-05 22:29:31 +02:00
Matt Bierner
8c363b460b
Merge and cleanup drop and paste proposal ( #209591 )
...
These two proposals overlap a lot and will be finalized together
2024-04-05 13:03:10 -07:00
Matt Bierner
74fff91cc9
Pick up latest md language service ( #209574 )
2024-04-04 22:27:25 +02:00
Matt Bierner
7a623b31fb
Fix frontmatter line map ( #209556 )
...
Fixes #209267
2024-04-04 19:39:21 +02:00
Matt Bierner
125e308ea4
Bump @typescript-eslint versions ( #209516 )
...
6.x is the latest release that supports our current node target
2024-04-04 10:36:59 -07:00
Connor Peet
8558da1335
cli: allow public port forwarding via tunnels ( #209489 )
2024-04-04 00:28:00 +02:00
Matt Bierner
b5f97ae0e1
Fix null access ( #209449 )
2024-04-03 17:37:38 +02:00
Matt Bierner
998047ca2f
Add experimental support for updating markdown links on copy/paste ( #209319 )
...
* Add experimental support for updating markdown links on copy/paste
For #209318
* Remove log
2024-04-02 17:15:12 +02:00
Ladislau Szomoru
8d1ecd7b94
SCM - 💄 API cleanup ( #209339 )
...
* SCM - 💄 API cleanup
* Fix compilation
2024-04-02 14:51:36 +02:00
Isabel Duan
bc2c9609c2
add settings
2024-04-01 19:24:48 +00:00