I am trying to learn kivy on vscode but when I create the .kv file and write the code in it, there is no run button to run the code, if I switch back to my python file the button returns but then leaves again when I switch to .kv file, is there a way I can activate a run button for the .kv file?
I was following a YouTube tutorial and I did exactly as the youtuber did the only difference is that he was using pycharm and I was using vscode.
2
Answers
Here are a few things you can do to activate a run button for your .kv file in VS Code.
file.
the Extensions tab in VS Code and searching for "Kivy".
Files" option is enabled. You can do this by opening the Kivy
extension settings and checking the box next to "Run Kivy .kv
Files".
If you are still having trouble, you can ask for help in the Kivy community.
You need to install the kivy extension to obtain support for kivy.
However, you cannot execute a
.kv
file. Have a look at the kivy Getting Started.