mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[EnvVar]Treat well-known debugging environment variables as lists (#34689)
* [EnvVar] Treat well-known debugging environment variables as lists The following environment variables are semi-colon lists, like "PATH" * _NT_SYMBOL_PATH * _NT_ALT_SYMBOL_PATH * _NT_SYMCACHE_PATH Treat them as lists in the Environment Variable editor. Windows Debugger paths are [documented as being semi-colon delimited][0]. The [`_NT_SYMCACHE_PATH` is used by WPA][1], and it also documented as being semi-colon delimited. [0]: https://learn.microsoft.com/en-us/windows/win32/debug/symbol-paths [1]: https://learn.microsoft.com/en-us/windows-hardware/test/wpt/loading-symbols * [EnvVar] Add SYMCACHE to expected words list
This commit is contained in:
committed by
GitHub
parent
056fba0dcf
commit
688d7d9c85
1
.github/actions/spell-check/expect.txt
vendored
1
.github/actions/spell-check/expect.txt
vendored
@@ -1565,6 +1565,7 @@ SWC
|
|||||||
SWFO
|
SWFO
|
||||||
SWP
|
SWP
|
||||||
SWRESTORE
|
SWRESTORE
|
||||||
|
SYMCACHE
|
||||||
SYMED
|
SYMED
|
||||||
SYMOPT
|
SYMOPT
|
||||||
SYNCMFT
|
SYNCMFT
|
||||||
|
|||||||
@@ -64,7 +64,15 @@ namespace EnvironmentVariablesUILib.Models
|
|||||||
|
|
||||||
private bool IsList()
|
private bool IsList()
|
||||||
{
|
{
|
||||||
List<string> listVariables = new() { "PATH", "PATHEXT", "PSMODULEPATH" };
|
List<string> listVariables = new()
|
||||||
|
{
|
||||||
|
"_NT_ALT_SYMBOL_PATH",
|
||||||
|
"_NT_SYMBOL_PATH",
|
||||||
|
"_NT_SYMCACHE_PATH",
|
||||||
|
"PATH",
|
||||||
|
"PATHEXT",
|
||||||
|
"PSMODULEPATH",
|
||||||
|
};
|
||||||
|
|
||||||
foreach (var name in listVariables)
|
foreach (var name in listVariables)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user