Method Naming For Python
This plug-in uses a pre-trained CodeBERTa model to generate recommended method name for your code. After selecting the code that you want to name, right click on the selected text and choose "Method Name Generate" or use shortcut "Ctrl + Shift + F1" on Windows, a message containing the recommended method names will show at the right bottom corner.
The CodeBERTa model requires transformers and pytorch to run. You could install trnasformers with the following command:
You could install pytorch with the following command:
Dill is also required to load the model. You could install dill with this command: