Commit Graph

15569 Commits

Author SHA1 Message Date
xymopen_Official 6a5991cfb6 Add node as npm script runner (#236967)
* refactor: Separate `createScriptRunnerTask` and `createInstallationTask` from `createTask`

* feat: Add `npm.scriptRunner`

* feat: Add Node.js as script runner

* refactor: Refactor `isPrePostScript`

* refactor: Extract `get*Command`

* fix: Typo

* style: Remove no-op `catch`es

* fix: `node --run` doesn't support `--silent`

* refactor: Use `.map` in `escapeCommandLine`

* chore: Remove TODO

Upstream reviewer is ok with current state
2025-02-07 17:26:29 +00:00
Johannes Rieken 25613b514c chore - enable integration tests that require latest insiders (#239918) 2025-02-07 11:31:23 +01:00
Matt Bierner 18edce9355 Merge pull request #239899 from mjbvz/rich-angelfish
Optimistically show `paste with imports` if TS server takes to long when computing imports to add
2025-02-07 01:49:30 -08:00
Benjamin Pasero 86b64aa4bc files - abandon watcher correlation API proposal (#239906)
* files - abandon watcher correlation API proposal

* fix compile
2025-02-07 10:43:11 +01:00
Matt Bierner 569d6942e8 Use clearer reference 2025-02-07 00:31:33 -08:00
Matt Bierner ae77c3ff42 Optimistically show paste with imports if TS server takes to long when computing imports to add
Fixes #235959

When pasting across files, sometimes users can see a spinner while we wait to see if TS has a `paste with imports` edit. This needs to be done even if we insert plain text by default so that we can then show the paste widget and user can select `paste with imports`

This change makes it so that if TS takes over 200ms, we assume that a paste operation may be available and return an unresolved edit for it. Only when the edit then actually needs to be applied, we wait for TS to respond

In most cases we won't need to wait because plain text will be pasted by default. Users will then only see the spinner after selecting `paste with imports`
2025-02-07 00:01:46 -08:00
Megan Rogge e6c77857a7 define pathSeparator in ext host for terminal suggest (#239540) 2025-02-06 20:39:25 +00:00
Ladislau Szomoru b968336efa Git - do not show origin/HEAD ref in the graph (#239842) 2025-02-06 12:00:24 -08:00
Ladislau Szomoru c0ec925f2d Git - enable deleting remote branches from the graph (#239728)
* Git - enable deleting remote branches from the graph

* Add missing return
2025-02-05 21:40:03 +01:00
Daniel Imms 56a3bb692c Merge pull request #239714 from microsoft/tyriar/239515_2
Add generic fig tests
2025-02-05 12:39:31 -08:00
Ladislau Szomoru 85e32ec765 Git - handle deleted remote branches (#239723) 2025-02-05 21:14:31 +01:00
Daniel Imms 2035725aca Add generic fig tests
Part of #239515
2025-02-05 10:50:04 -08:00
Daniel Imms 3d0cc62d11 Merge pull request #239695 from microsoft/tyriar/fig_tests__windows_ext
Use fig on windows regardless of file extension
2025-02-05 09:27:27 -08:00
Ladislau Szomoru af22e57ed6 Git - add a check so that the active branch cannot be deleted (#239700) 2025-02-05 17:36:20 +01:00
Daniel Imms 58c2049bef Merge remote-tracking branch 'origin/main' into tyriar/fig_tests__windows_ext 2025-02-05 08:28:43 -08:00
Daniel Imms f0f767afb7 Merge pull request #239602 from microsoft/tyriar/fig_tests
Move tests fig spec tests into folder per spec, add simple tests for all specs, allow multiple template requests
2025-02-05 07:34:35 -08:00
Ladislau Szomoru 47b33dc58d Git - add command to delete remote branch (#239692) 2025-02-05 07:32:11 -08:00
Daniel Imms bbee48424c Merge branch 'main' into tyriar/fig_tests__windows_ext 2025-02-05 07:28:42 -08:00
Daniel Imms a563227a21 Use fig on windows regardless of file extension
Fixes #237598
2025-02-05 07:23:03 -08:00
Ladislau Szomoru 297a228fb8 Git - refactor delete remote tag (#239684)
* Git - refactor delete remote tag

* 💄 fix parameter name

* 💄 add missing parameter name
2025-02-05 15:41:30 +01:00
Johannes Rieken 18946eca52 skip integration test that needs latest insiders (#239681) 2025-02-05 14:45:23 +01:00
Daniel Imms 97d5df6e05 Merge branch 'main' into tyriar/fig_tests 2025-02-05 05:31:08 -08:00
Daniel Imms b1cf1fd151 rmdir and touch fig spec tests 2025-02-05 05:27:12 -08:00
Daniel Imms bf3a0f0e89 rm fig spec tests, allow multiple template requests
Fixes #239606
2025-02-05 05:18:03 -08:00
Johannes Rieken 057edbab16 add sync vs async test case for error'ing provideLanguageModelResponse calls (#239676)
https://github.com/microsoft/vscode/issues/235322
2025-02-05 12:26:25 +01:00
Oleg Solomko 1195e2cf77 fix the the the typos (#239646)
fix the `the the` -> `the` typos
2025-02-04 15:35:23 -08:00
Matt Bierner 0252e92b01 Merge pull request #239046 from mjbvz/gross-yak
Support more image/video/audio types for markdown copy into files
2025-02-04 11:20:36 -08:00
Vitaly a2a0272687 [Git] Migrate to git autostash when pulling for better performance (#187850)
* git: migrate to git autostash when pulling (better performance)

* should be implemented correctly!

* refactor other op

* Pull request feedback

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-02-04 15:35:47 +00:00
Daniel Imms 77f6745f42 mkdir fig spec tests 2025-02-04 07:04:49 -08:00
Daniel Imms ad0173f59a echo fig spec tests 2025-02-04 07:00:38 -08:00
Daniel Imms 4e364a5c7b Add issue references 2025-02-04 06:51:27 -08:00
Daniel Imms 6d43829c8d ls spec unit tests 2025-02-04 06:39:02 -08:00
Daniel Imms 3cfef4555d Merge remote-tracking branch 'origin/main' into tyriar/fig_tests 2025-02-04 06:32:40 -08:00
Daniel Imms d35f9482c0 Move tests fig spec tests into folder per spec
Part of #239515
2025-02-04 06:23:06 -08:00
Ladislau Szomoru 9cf5e81d4f Git - switch to using diff information for the stage/unstage/revert selected ranges commands (#239597) 2025-02-04 15:03:18 +01:00
Aiday Marlen Kyzy 1430e1845c Ignoring URLs when adding line comment onEnter (#239576)
removing urls from this regex
2025-02-04 10:38:17 +01:00
Alex Ross c9948b69ee Update grammars (#239483)
Fixes #239353
2025-02-04 10:29:01 +01:00
Don Jayamanne f4244472c7 Enable Serialize ipynb in worker (#239453) 2025-02-03 15:00:49 -08:00
Tyler James Leonhardt 5571308162 Force an update after acquiring a token interactively (#239539)
* Force an update after acquiring a token interactively

This will make sure the account cache is up-to-date before the acquireTokenInteractive ends.

A greater fix is maybe turning the accounts cache to be a promise... bit this is the candidate fix for now.

Fixes #235327

* also delete event
2025-02-03 23:56:45 +01:00
Megan Rogge 81cbef2ccb return files/folder completions unless specific options / args are provided (#239384)
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-02-03 23:33:54 +01:00
Daniel Imms 525b8073df Merge pull request #239426 from microsoft/tyriar/239396_speedup__fig_alias_def
Don't show fig information for aliases
2025-02-03 11:07:22 -08:00
Devraj Mehta 63d1401dee fix: add electron as an external for webpack (#239134)
* fix: add electron as an external for webpack

* refactor: move electron external to shared webpack
2025-02-03 18:54:18 +00:00
Daniel Imms 16c8cfecf6 Merge branch 'main' into tyriar/239396_speedup__fig_alias_def 2025-02-03 07:57:56 -08:00
Daniel Imms 65bcaaf218 Merge pull request #239398 from microsoft/tyriar/239396_speedup
Optimize getCommandsInPath, restore cache, clean up cache lifecycle, add test
2025-02-03 07:56:21 -08:00
Daniel Imms 3a342525ed Merge pull request #239395 from microsoft/tyriar/239344_followup
Simplify terminal suggest token variable
2025-02-03 07:49:48 -08:00
Johannes Rieken cda13b71f4 Add test to assert LanguageModelError (#239474)
* add test for https://github.com/microsoft/vscode/issues/235322

* extract options/metadata
2025-02-03 10:35:37 +01:00
Ladislau Szomoru ba2aa54fc6 Git - fix post-commit command for multi-repo workspaces (#239462) 2025-02-02 22:26:32 -08:00
Daniel Imms 4f587d78c2 Pull alias parsing into helper 2025-02-02 05:18:45 -08:00
Daniel Imms c4cf1864d2 Resolve fig spec against alias definition command 2025-02-02 05:15:25 -08:00
Daniel Imms 521e89838a Don't show fig information for aliases
Fixes #239425
2025-02-02 04:40:31 -08:00