skip to Main Content

Visual Studio Code – Is there anyway to generate doc strings for Python code using Github Copilot (VS Code)

Is there anyway to generate doc string using Github Copilot I have code and I want to generate doc string for it. def make_chat_content(self,chat_uuid,text,db_session): import uuid all_content = ChatContent.query.filter_by(chat_uuid=chat_uuid).all() chat_json = dump(all_content) chat_json.append({"role":"user","content":text}) response, total_words_generated = self.chat.get_response(chat_json) for example doc…

VIEW QUESTION

Visual Studio Code – Messy output and terminal in VScode

I've been experiencing a whole of clutter in the terminal when I run programs in Python. Example: PS C:UsersdanheAppDataRoamingCode> & C:/Users/danhe/AppData/Local/Microsoft/WindowsApps/python3.11.exe "c:/Users/danhe/OneDrive/Desktop/Python projects/22222222.py" Hello, world PS C:UsersdanheAppDataRoamingCode> I tried using code runner to display the output but get a similar…

VIEW QUESTION
Back To Top
Search