dotnet-script icon indicating copy to clipboard operation
dotnet-script copied to clipboard

consider use ${userHome} instead while init

Open heartacker opened this issue 2 years ago • 6 comments
trafficstars

https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables ${userHome} - the path of the user's home folder

image

heartacker avatar May 16 '23 03:05 heartacker

We already use {env:HOME} (see which is effectively the same thing https://github.com/dotnet-script/dotnet-script/blob/703d0fab36ef3f4003e3d3aba2153563a8968261/src/Dotnet.Script.Core/Templates/globaltool.launch.json.template#L8)

have you had any problem with the current approach?

filipw avatar Jun 05 '23 14:06 filipw

but when I init in vscode with windows11, the dotnet-script provide the absolute path,not the home

heartacker avatar Jun 05 '23 15:06 heartacker

image

heartacker avatar Jun 05 '23 15:06 heartacker

which version of dotnet script are you using? it might be you are using the older one? also, if the file already existed before, it won't be updated

filipw avatar Jun 05 '23 18:06 filipw

which version of dotnet script are you using? it might be you are using the older one? also, if the file already existed before, it won't be updated

1.4.0 and can you try in your windows ? I can repro this 视频.webm

heartacker avatar Jun 06 '23 00:06 heartacker

which version of dotnet script are you using? it might be you are using the older one? also, if the file already existed before, it won't be updated

1.4.0 and can you try in your windows ? I can repro this 视频.webm

@filipw can you see the webm,please

heartacker avatar Jul 12 '23 05:07 heartacker