Commit Graph

14717 Commits

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