Update settings descriptions to note substituion of ~ for homedir#5203
Update settings descriptions to note substituion of ~ for homedir#5203DanTup merged 2 commits intoDart-Code:masterfrom
~ for homedir#5203Conversation
|
Thanks! |
|
Hmm, while checking if we had tests for this, I found this comment: Dart-Code/src/test/dart/util.test.ts Lines 248 to 249 in bcdaa1e Which led me to this: Dart-Code/src/shared/utils/fs.ts Line 51 in bcdaa1e I think the reasoning here was that we want to be able to translate in both directions (so we can shorten display paths to use So, I think it would be better to revert the change to support |
|
Alright, will do that. Missed those tests. |
Taking into consideration /src/test/dart/util.test.ts line 248 Test: homeRelativePath -> handles home dir
~ for homedir
|
Thanks! |
Adding the option to replace
~for the home directory in paths that use backslashes.Also, making clearer that only the noted substitutions are allowed and everything else will be left in the path as-is.