You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example, the test repo contains main.ahk which calls function() and #Includes function.ahk which contains the definition of function().
These files have been commited.
If we close function.ahk and rename function() to functionRenamed() in main.ahk,
it's also renamed in function.ahk as expected, which is confirmed by function.ahk appearing as changed in the Source Control panel on the right.
But if we discard all our changes through the Source Control panel,
function() in main.ahk is not recognized as having been defined.
And if we try to rename function(),
it isn't renamed in function.ahk.
The text was updated successfully, but these errors were encountered:
This is unrelated. When you close function.ahk, vscode will not monitor the contents of the file for changes. After git retracts the changes, vscode does not notify the extension that the content of the file has changed, thus updating the cache.
In the following example, the test repo contains
main.ahk
which callsfunction()
and#Includes function.ahk
which contains the definition offunction()
.These files have been commited.
If we close
function.ahk
and renamefunction()
tofunctionRenamed()
inmain.ahk
,it's also renamed in
function.ahk
as expected, which is confirmed byfunction.ahk
appearing as changed in the Source Control panel on the right.But if we discard all our changes through the Source Control panel,
function()
inmain.ahk
is not recognized as having been defined.And if we try to rename
function()
,it isn't renamed in
function.ahk
.The text was updated successfully, but these errors were encountered: