Dongbo Wang
59fbc46a3c
Avoid running AddToHistoryHandler on command lines loaded from history file ( #3643 )
2023-04-06 22:09:02 -07:00
Dongbo Wang
2fb3c330b8
Force refreshing suggestion in the inline view when plugin is in use ( #3644 )
2023-04-06 22:07:16 -07:00
Dongbo Wang
3d20df7831
Improve the sensitive history scrubbing to allow retrieving token from az, gcloud, and kubectl ( #3641 )
2023-04-04 11:02:46 -07:00
Dongbo Wang
d6efcabcc1
Set the current location in PredictionClient when it's supported ( #3639 )
2023-03-29 11:27:55 -07:00
Dongbo Wang
1e84d68248
Improve the default sensitive history scrubbing to allow safe property access ( #3630 )
2023-03-22 15:47:14 -07:00
Dongbo Wang
8485855368
Make PSReadLine script hidden from debugger ( #3629 )
2023-03-21 12:58:14 -07:00
Dongbo Wang
465da62ac5
Prepare for the 2.3.0-beta0 release of PSReadLine ( #3612 )
2023-03-08 09:31:45 -08:00
Dongbo Wang
259d82ed65
Address feedback to the scrollable list view from Andy ( #3600 )
2023-02-27 16:11:59 -08:00
Dongbo Wang
f1b2043481
Fix the menu completion to better handle the backspace key ( #3574 )
2023-02-27 11:01:48 -08:00
Dongbo Wang
372212e5ca
Improve the list view to be scrollable and auto-adjust the list view height ( #3583 )
2023-02-27 10:48:00 -08:00
spaette
486388c59f
Fix some typos in this repository ( #3547 )
2023-01-23 14:22:59 -08:00
Dongbo Wang
659c8282cd
De-duplicate prediction results with the history results ( #3543 )
2023-01-23 11:04:40 -08:00
Steve Lee
6c7ccc933f
Change default color for inline prediction to dim ( #3493 )
2022-11-23 14:54:01 -08:00
Dominik Kaszewski
4bfc4e94d9
Make tab completion show results whose ListItemText are different by case only ( #3456 )
2022-10-24 11:56:09 -07:00
James Truher [MSFT]
c8db4f587a
Do not filter out duplicate completions on non-Windows systems ( #3454 )
2022-10-21 15:04:29 -07:00
Steven Bucher
3bc6561270
Fix to use the default member color for members ( #3450 )
2022-10-18 16:44:22 -07:00
Dongbo Wang
c5d1187179
Place 'ViDGChord' in the right group ( #3422 )
2022-08-29 10:29:21 -07:00
Dongbo Wang
8d1e3c1ee7
Fix the description of CapitalizeWord ( #3384 )
2022-07-18 11:39:40 -07:00
Enan Ajmain
6808c18762
Add support for upcasing, downcasing, and capitalizing word ( #3365 )
2022-07-18 10:26:40 -07:00
Dongbo Wang
bbbe43bde3
No list view prediction when the first line was scrolled up off the buffer ( #3372 )
2022-07-08 15:32:37 -07:00
Dongbo Wang
e9d42424bf
Fix wrong cursor position in menu completion ( #3373 )
2022-07-08 15:32:07 -07:00
Dongbo Wang
fbaba3e63b
Fix ViModeIndicator = Cursor for Windows Terminal ( #3374 )
2022-07-08 15:30:50 -07:00
Dongbo Wang
36893ee0f3
Fix parameter dynamic help when the help content is specified in ParameterAttribute ( #3370 )
2022-07-05 16:11:26 -07:00
Dongbo Wang
0ac6c07675
Handle multi-line description for parameter help content ( #3358 )
2022-06-27 11:04:10 -07:00
Dongbo Wang
34e5c30776
Update module version in bot messages ( #3361 )
2022-06-27 10:26:19 -07:00
Dongbo Wang
59caa5f762
Prepare for the v2.2.6 release of PSReadLine ( #3357 )
2022-06-27 09:58:15 -07:00
Dongbo Wang
2ef36fb77c
Enable IntelliSense prediction by default ( #3351 )
2022-06-22 12:15:17 -07:00
Dongbo Wang
60a48d6177
Prepare for the v2.2.5 release of PSReadLine ( #3300 )
2022-05-03 13:00:17 -07:00
Dongbo Wang
0d49231e06
Prepare for the 2.2.4-beta1 release of PSReadLine ( #3295 )
2022-04-27 15:07:30 -07:00
Patrick Meinecke
e94afef3a0
Sync ReadKeyProc thread with pipeline thread ( #3294 )
...
The pipeline thread was returning before the `ReadKeyProcThread` had finished processing the dummy input.
This was occurring somewhat frequently when `ReadLine` was invoked multiple times in a row creating a race condition.
With these changes, the pipeline thread will wait for dummy input to be received, dequeue the key, and continue with normal cancellation logic.
2022-04-27 10:56:26 -07:00
Dongbo Wang
77e256abcb
Update build to use net462 ( #3285 )
...
net461 is reaching end of support on 4/26/2022.
2022-04-20 16:01:19 -07:00
Dongbo Wang
117e778093
Prepare for the 2.2.3 release of PSReadLine ( #3283 )
2022-04-20 14:31:16 -07:00
Dongbo Wang
703f7a4833
Update the cancellation related code ( #3280 )
2022-04-19 11:21:48 -07:00
Andy Schwartzmeyer
72edd4498b
Respect cancellation in ReadOneOrMoreKeys() ( #3274 )
...
Because .NET's . `Console.ReadKey()` is uncancellable, when a hosting
application cancels PSReadLine, it also has to send a key press to get
`ReadKey` to return. In this case, we want to ignore the key press (and
a user certainly would not be expecting it, as `ReadLine` has already
been canceled).
2022-04-19 09:09:00 -07:00
Dongbo Wang
878a0743c8
Prepare for the 2.2.2 release of PSReadLine ( #3217 )
2022-02-22 11:22:25 -08:00
Dongbo Wang
4cd148e677
Update to use the 1.0.0 version of Microsoft.PowerShell.Pager ( #3206 )
2022-02-09 08:32:49 -08:00
Dongbo Wang
39761f9fb8
No need to clear lines when it's not a menu completion rendering ( #3199 )
2022-02-02 10:38:28 -08:00
Dongbo Wang
2184540dca
Prepare for the 2.2.1-rc1 release of PSReadLine ( #3188 )
2022-01-28 11:47:28 -08:00
Dongbo Wang
272bf9989b
Update the HelpInfoURI to point to the latest help content ( #3171 )
2022-01-18 17:14:32 -08:00
Dongbo Wang
f637a06ddb
Update the version of PowerShell nuget packages to 7.2.0 ( #3170 )
2022-01-18 13:58:32 -08:00
Dongbo Wang
acb8ccbb17
Make Ctrl+r in Vi edit mode same as Emacs edit mode ( #3148 )
2022-01-11 17:13:49 -08:00
Dongbo Wang
0824ad134f
Make HistorySearchBackward and HistorySearchForward able to navigate the list view ( #3144 )
2022-01-11 15:38:49 -08:00
Dongbo Wang
8d217bd8a7
Prepare for the 2.2.0-beta5 release of PSReadLine ( #3136 )
2022-01-05 16:43:10 -08:00
Dongbo Wang
f46f15d2d6
Improve RecomputeInitialCoords to be more robust and handle a couple special cases ( #3074 )
2022-01-03 16:40:25 -08:00
Dongbo Wang
b76883665b
Add BasicScrollingConsole to support test cases for scrolling up scenarios ( #3081 )
2021-12-14 15:14:03 -08:00
Dongbo Wang
835bfd2bf8
Skip the AST analysis when command-line input has any parsing errors ( #3075 )
2021-12-02 16:24:09 -08:00
Dongbo Wang
e02b0da57a
Handle screen buffer scrolling correctly for inline dynamic help ( #2951 )
2021-11-04 15:44:16 -07:00
Dongbo Wang
81bf8669fd
Fix 2 menu completion issues that happen when we need to scroll screen buffer ( #2949 )
2021-11-04 14:24:05 -07:00
Dongbo Wang
203d55c78a
Prepare for the v2.2.0-beta4 release ( #2937 )
2021-10-27 17:07:39 -07:00
Dongbo Wang
e8b5d84a66
Disable warning for the private contract field with PSES ( #2935 )
2021-10-27 13:16:40 -07:00