Reputation: 473
Does anyone know what the blue moving line (from left to right) in Visual Studio Code means?
It appears relatively often, especially when reactivating from hibernation mode. Looks like some background processes are currently active. Once the bar shows, it doesn't go away until I restart the program.
Upvotes: 31
Views: 10317
Reputation: 1329672
With VSCode 1.52 (Nov. 2020), that moving bar should be more explicit (and cancellable!)
Progress for long running operations in Explorer
We now show progress in the Explorer and Status bar for long running File operations (longer than 500ms).
There is also an inital support for cancelling these long running operations.
This should be particularly helpful when copying large folders or downloading resources from remote.
Upvotes: 0
Reputation: 1
Perform the below changes in Visual Studio Code preferences settings
Upvotes: -3
Reputation: 576
This occurs because when you try to find some file or functions which are not available, VsCode continues to keep trying to get that function and redirect cursor over there. So the loader stays there forever. The solution is to make VsCode look for something which it can find.
Just ctrl+click on any function which is available. Also you can ctrl+click on function where it is defined itself so it will directly point on it and loader will be removed.
For example you have below function
public function GetUSer(){
}
So just ctrl+click on GetUser
and the loader will vanish.
No need to restart VsCode
Edit for js users :
Let say you have defined a variable :
var userName = 'Test';
And you have used it somewhere in the code
var userNameLength = userName.length
So just ctrl+click on userName
where we get the length. It will go to defination (where the variable is defined) and the progress bar will be gone.
Upvotes: 12
Reputation: 67929
It should be possible to make it transparent:
Put this into settings.json
:
"workbench.colorCustomizations": {
"progressBar.background": "#fff0",
}
Upvotes: 20
Reputation: 109
Like previous answer said it is a loading indicator which occurs when vscode is attempting to look something up like a function definition or trying to lint.
You cannot hide it that I am aware of but you can get it to go away obviously by relaunching vscode. It is also limited to the current editor window so you can split your editor and then close the one with the indicator.
Upvotes: 10
Reputation: 2780
That is a loading indicator. It happens when something is loading or is in process. It might be constantly refreshing the file tree because of changes in the directory
Upvotes: 0