반응형

 

(Ctrl+Shift+P)

 

 

Python Interpreter를 설정하면, 

 

해당 디렉토리에 .vscodesettings.json이 Python 버젼에 맞게 생성된다..

 

Python Interpreter를 설정하더라도 모듈에 대한 자동완성 기능이 되지 않는 문제를 해결하기 위해 아래를 추가한다.

"python.autoComplete.addBrackets": true

 

성공

 

참고

code.visualstudio.com/docs/python/editing

 

Editing Python Code in Visual Studio Code

Editing Python in Visual Studio Code

code.visualstudio.com

 

 

---------------------------------------------------수정 2021.01.09----------------------------------------------------

 

안녕하세요. 

 

2020년 Python 부족했던 자동완성 기능을 지원해주는 확장프로그램이 등장했습니다.

 

혹시 이 글을 보고 업그레이드 된 자동완성을 원하시는 분은 아래 링크를 참고바랍니다.

 

coding-yoon.tistory.com/113?category=898799

 

[VSCode] Python Pylance 자동완성

안녕하세요. 오늘은 VSCode에서 확장 프로그램을 하나 소개드리려고 합니다. 바로 Python 자동완성을 지원하는 Pylance입니다. Java를 사용할 땐 Oracle을, Python은 Jupyter NoteBook, Pycharm을 사용했습니다...

coding-yoon.tistory.com

 

 

728x90
반응형

'VSCode' 카테고리의 다른 글

[VSCode] VSCode에서 Jupyter Notebook 사용!  (0) 2021.01.09
[VSCode] Python Pylance 자동완성  (0) 2021.01.09
[VSCode] Python pylint  (0) 2020.12.08
[VSCode] python Interpreter 선택  (0) 2020.12.07
[VSCode] - python 가상환경  (0) 2020.12.07

+ Recent posts