Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- DepthEstimation
- PaperReview
- LayoutEstimation
- Deeplearning
- IndoorReconstruction
- 다단
- OmniSLAM
- SensorFusion
- vstack
- CVPR2020
- Kinect
- Multi-viewRegistration
- Omnidirectional
- 3d vision
- CONCATENATE
- RuntimeError
- numpy
- hstack
- deep learning
- unsupervised learning
- git
- MirrorDiscrimination
- ICCV2019
- MirrorSegmentation
- ComputerVision
- pytorch
- Python
- LearnGitBranching
- RGBD
- tensorboard
Archives
- Today
- Total
let me graduate
[VsCode] 크기가 큰 프로젝트 폴더에서 Pylance highlighting 안되는 문제 해결 본문
Pylance를 사용하는 가장 큰 이유중에 하나가 Syntax Highlight 인데, 크기가 큰 프로젝트의 경우 시간이 매우 오래걸리거나, 아예 활성화가 되지 않는 경우가 생긴다.
이 경우에 Python language server log를 보면, source file 들을 찾는 스텝에서 멈춰있음을 확인할 수 있다.


이를 해결하는 방법은 project root directory에 pyrightconfig.json을 정의해주는 것이다.
json 파일 안에 git, checkpoints, data 등의 파일이 많은 폴더를 exclude 하면 빠르게 pylance highlight 가 사용 가능하다.


'etc' 카테고리의 다른 글
Horovod (0) | 2021.04.13 |
---|---|
Python OpenCV 모듈 ROS의 모듈과 충돌시 (0) | 2020.10.22 |
Mac 에서 윈도우용 키보드 사용 (0) | 2020.07.06 |
Disable Mouse Horizontal Scrolling on Linux (0) | 2020.06.28 |
Tensorboard remote 서버에서 사용하기 (0) | 2020.06.11 |