SqrTT / prophet

Prophet Debugger (SFCC sandboxes via SDAPI 2.0) extension for VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=SqrTT.prophet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension is not activated (Command 'Prophet Clean Project/Upload all resulted in an error(command 'extension.prophet.command clean.upload' not found))

iullapfs opened this issue · comments

Issue Type: Bug

Am facing an issue in VS code, Prophet Extension is not working and if am trying to upload the code am getting a popup showing the below mentioned error

Error:- Command 'Prophet Clean Project/Upload all resulted in an error(command 'extension.prophet.command clean.upload' not found)

Extension version: 1.4.25
VS Code version: Code 1.63.0 (7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e, 2021-12-07T06:26:56.179Z)
OS version: Windows_NT x64 6.1.7601
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 x 2294)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.70GB (1.45GB free)
Process Argv --crash-reporter-id e2c94958-7804-4ca8-a30d-d1b2ea5b776e
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
javagetstartedt:30391933
vsaa593cf:30376535
pythonvs932:30410667
vscop804cf:30404767
vscop453:30404998
vsrem710:30405998
vscexrecpromp3t2:30407763
vscop841cf:30413486
vscop927cf:30413487
vscop436cf:30413488

Same here. As a workaround disabling and enabling the extension helps but this bug is pretty annoying.

have you tried options from here #305 ?

I double checked that. We have corresponding *.properties files in the cartridge folders. We never had any problems until recently.

there were no updates in plugin for a long time

image

feels like this is related issue dotnet/vscode-csharp#4959

Most likely @SqrTT . In Slack added the comment on that issue regarding the new 7 second rule. Reducing number of project files works around this due to search taking under 7 seconds.

It is all stemming from this commit. Where they deactivate the extension if it is active after 7 seconds. And this 7 seconds is a hard-coded one.
microsoft/vscode#73656
Do not activate extensions if the search for glob patterns from workspaceContains times out

At this moment as workaround manual activation may be used by command Create cartridge (with canceling creation itself but extension will continue to work)

the issue should be fixed since VSCode change logic so the extension is not using workspaceContains any more