The display of variable or function definition is very slow when attaching VSCode to the docker container

Viewed 36

I browse the code by attaching the VSCode to docker container(The host is MAC, and OS for container is centos 8), after that when I hover the mouse cursor on the variable or function name of code file, which is in docker container, to see to definition of variable or function , it is showing the "Loading ..." just as the pic below ,instead of showing the definition of variable or function immediately, after around 15 seconds ,then it show the definition, BTW, every file has this issue, however this issue doesn't appear in my local code(for the same copy code ,however without using the docker).

My question is how to show the definition faster in docker container when hovering the mouse cursor on the variable or function name?

enter image description here

Example I hover the mouse cursor on function "apply_local_transforms", it is show "Loading...", it show the definition of function after around 15s.

0 Answers
Related