问题
Visual Studio Code 1.43.0 Karate Standalone JAR 0.9.5.RC5
In the VScode editor, in a Karate .feature file opened, the codelens "Run Karate Test", as shown in the screenshot, isn't displayed anymore. So, it is impossible to debug a specific scenario. Any idea about this? Thanks a lot.
In a correct configuration, it looks like this :
回答1:
We are still unable to reproduce this issue. Referencing some searches it appears this may be due to a broader issue such as other plugins Eg. Intellisense. Reference to the broader issues https://www.google.com/search?q=vscode+codelens+not+showing
I would recommend trying a clean install with only the Karate Plugin to do some process of elimination. The latest Karate Version is 0.8.1 by the way which it doesn't appear you are using. The Codelens names have changed recently to "Karate: Run" and "Karate: Debug".
Hope this helps.
来源:https://stackoverflow.com/questions/60651255/karate-vscode-run-karate-test-codelens-not-displayed