vscode-perforce icon indicating copy to clipboard operation
vscode-perforce copied to clipboard

Can not use predefine name in perforce.client setting

Open weisun76 opened this issue 5 years ago • 2 comments

Describe the bug:

I set "perforce.client": "${workspaceFolder}" in settings.json but it does not work. The Perforce log file shows " '-c' '${workspaceFolder}'". Expected behavior:

I hope to get ${workspaceFolder} replaced with my real workspace name. To Reproduce:

Versions & Details:

  • Perforce extension: 4.14.0
  • VSCode version:1.51.1
  • Operating System: windows 10
  • Perforce server details (if known):
  • Are you using a multi-root workspace?: Yes/No

Additional context

Please open view -> Output, select "Perforce Log" from the dropdown and paste it here, if possible / relevant

weisun76 avatar Dec 07 '20 17:12 weisun76

Hi - this would be nice, but ideally needs support from VS code - I think this is the issue for it: https://github.com/microsoft/vscode/issues/46471

mjcrouch avatar Dec 07 '20 17:12 mjcrouch

Hi Mjcrouch,

Thank you for your information!

I reached MS VScode team before and I was told this is from plugin side. Anyway, I can use predefined variable in settings.json for environment settings.

Regards, Wei

weisun76 avatar Dec 08 '20 00:12 weisun76