Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't generate doctoring around comments using 3 quotes #253

Open
Anthony-Eid opened this issue Jan 25, 2023 · 3 comments
Open

Doesn't generate doctoring around comments using 3 quotes #253

Anthony-Eid opened this issue Jan 25, 2023 · 3 comments
Labels

Comments

@Anthony-Eid
Copy link

Anthony-Eid commented Jan 25, 2023

It didn't auto generate a docstring for the sign_up function until I moved it to the bottom of the file.

from config import config_mysql
import mysql.connector

cnx = mysql.connector.connect(**config_mysql)


""" need username, email, and password to make an account"""

def sign_up(username: str, password: str, email: str) -> bool:
    """"""

"""
CREATE TABLE IF NOT EXISTS test_usernames (
idUser INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
username VARCHAR(30) NOT NULL,
password VARCHAR(30) NOT NULL,
email VARCHAR(30) NOT NULL);
"""

cnx.close()

Versions

  • autoDocstring Version: v0.6.1
  • Operating System: using remote ssh into an ubuntu server from my computer running macOS
  • Vscode Version: 1.74.3
@ping235
Copy link

ping235 commented Feb 3, 2023

I have the same issue, Ctrl+Shift+2 and menu item generate docstring works.
Versions
autoDocstring Version: v0.6.1
Operating System: windows
Vscode Version: 1.75.0

@CsatiZoltan
Copy link

Same problem:
VSCode: 1.77.3 (
OS: macOS Monterey
autoDocstring: 0.6.1

The context menu solution proposed by ping235 works though.

@lethefrost
Copy link

lethefrost commented May 3, 2023

Same here, it stopped working for me recently. Used to work.

macOS Ventura 13.3.1, VSC 1.77.3, autoDocstring 0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants