Anthony Kim
bf36be9c61
Finalize Shell API ( #243274 )
...
* Adopt terminal suggest to shell api change
* Internally bring string enum for terminal suggest to prevent Typos
* Better word description under api description
* Remove shell proposed api against vscode.d.ts
* Update `shell` description after looking at feedbacks.
* Update docs
* Change to a Map<TerminalShellTye, string[]>
* One last typo
---------
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2025-03-15 15:28:19 -07:00
Daniel Imms
28f5c4f079
Print failing poll results on all similar tests
2025-01-21 05:43:51 -08:00
Daniel Imms
8cfb26560f
Try make terminal api tests less flaky in remote
2025-01-21 05:41:40 -08:00
João Moreno
e55ac22a12
add debug statement ( #238299 )
2025-01-20 15:58:40 +01:00
Anthony Kim
57e4810cae
Expose shell type to extensions ( #238071 )
...
* copy everything from #237624
* try to better word notes in proposed.d.ts
* why is test being so flaky
* try sending one more text
* strictEqual only on isInteractedWith always fails
* update the name as recommended
* embed to make sure we are selecting event we are interested in as recommended
* add node as part of TerminalShellType
* getting type ..extHostTypes.TerminalShellType.Bash is not comparable to type ..vscode.TerminalShellType.Bash
* just use one enum?
* figured out how to get from extHostTypes
* clean up
2025-01-17 16:19:02 -05:00
Daniel Imms
c398f717a9
Consolidate ansi functions into strings.ts
2024-04-26 07:22:16 -07:00
Daniel Imms
490db24926
Revert "Implement proposed TerminalState.isShellIntegrationActivated"
2024-03-12 10:06:36 -07:00
Daniel Imms
4354ddd2cb
Fix terminal state test to work with new api
2024-03-12 07:55:01 -07:00
Aaron Munger
150d09b37b
skip flaky test
2023-09-21 12:57:28 -07:00
Kartik Raj
b1d5542cfd
Finalize proposed env workspace collection API
2023-08-22 20:22:32 +00:00
Kartik Raj
7c577637e8
Fix test
2023-08-15 23:31:07 +00:00
Daniel Imms
fa4b3238c9
Re-enable unit test with retries
...
Fixes #188375
2023-08-02 07:09:26 -07:00
Kartik Raj
1ca9aa71bb
Merge pull request #188982 from microsoft/kartik/detailed-tahr
...
Fix for each in scope env collection
2023-07-26 14:32:34 -07:00
Kartik Raj
68d22e586d
Fix for each in scope env collection
2023-07-26 20:58:53 +00:00
Sandeep Somavarapu
dc00865687
skip flaky test #188375
2023-07-21 09:34:18 +02:00
Daniel Imms
31b9e9aa9b
Wait for terminal data before using terminal.selection APIs
2023-07-19 11:14:31 -07:00
Daniel Imms
49df64f6ac
Remove unused import
2023-07-18 10:17:00 -07:00
Daniel Imms
775102bd82
Implement tests
2023-07-18 09:58:47 -07:00
Daniel Imms
99e31ae297
Add terminal selection API
...
Part of #188173
2023-07-18 09:47:46 -07:00
Daniel Imms
cf247472ec
Loosen test to allow for shell output
2023-06-24 08:50:41 -07:00
Daniel Imms
d1be423950
Fix scope test
2023-05-25 04:53:50 -07:00
Daniel Imms
37ad81ccd9
Ensure options are filled with defaults, fix equality check
...
Fixes #183236
2023-05-24 15:03:22 -07:00
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
Kartik Raj
d3b1c67267
Fix terminal integration tests
2023-04-20 20:42:07 +00:00
Kartik Raj
50408e199f
Make scope as optional
2023-04-20 18:41:50 +00:00
Kartik Raj
22631c1bdc
Do not return variable property
2023-04-12 17:40:00 +00:00
Kartik Raj
8c3884bed5
Fix terminal integration test
2023-04-12 03:28:13 +00:00
jeanp413
318bdcc4cc
Fix tests
2022-07-08 00:16:11 -05:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Megan Rogge
280460e3cc
clean up after test ( #147941 )
2022-04-22 12:07:31 -07:00
Megan Rogge
7e2fccd89a
fix #147780 ( #147798 )
2022-04-20 15:32:36 -07:00
Daniel Imms
339cbb38e2
Skip environment variable collection tests only on Windows
...
Guessing conpty is causing problems
2022-02-09 05:26:19 -08:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Daniel Imms
6ce37ef7a2
Skip flaky test
...
Part of #140111
2022-01-04 14:28:16 -08:00
Daniel Imms
79ed98edc9
Skip flaky tests
...
Part of #140110
2022-01-04 09:40:49 -08:00
Daniel Imms
b562ce7067
Use async/await in env var tests and improve polling
...
Fixes #120077
2021-12-15 12:28:36 -08:00
Daniel Imms
548f18fcf3
Skip env var collection should respect clearing entries
...
Part of #120077
2021-12-14 14:23:26 -08:00
Daniel Imms
96cc3b8fc0
Disable should respect dimension overrides again
...
Part of #137155
2021-11-19 06:01:49 -08:00
Daniel Imms
b66d2e7bbd
Next attempt to fix should respect dimension overrides in remote
...
Fixes #137155
2021-11-17 05:29:13 -08:00
Daniel Imms
da099cc71f
Skip should respect dimensions overrides tests in remote only
...
Part of #137155
2021-11-17 04:45:30 -08:00
Daniel Imms
f88820646b
Tidy up
2021-11-15 00:14:06 -08:00
Daniel Imms
b934d09346
Move other extension terminal tests to async await
...
Part of #137155
2021-11-14 23:53:12 -08:00
Daniel Imms
03a844a2e5
Use async await in pty terminal test
...
Part of #137155
2021-11-14 23:39:46 -08:00
Megan Rogge
5350eaa205
skip failing test
2021-10-15 09:41:50 -07:00
Daniel Imms
4a7fddb0d2
Fix TerminalState tests
2021-09-17 06:31:43 -07:00
Daniel Imms
23760f5234
Remove change state event interface
...
Part of #127717
2021-08-19 14:40:33 -07:00
Daniel Imms
ddcf2d6630
Dispose of terminal at end of onDidChangeTerminalState test
2021-08-13 07:00:41 -07:00
Daniel Imms
189a73a197
Add listener to disposables array
2021-08-13 06:45:36 -07:00