I have similar problem. For me Revise also doesn’t work for normal .jl files in VSCode.
Furthermore, is it known that sometimes modules like CSV or DataFrames aren’t loaded when executed via ALT+ Enter. In example if I request to evaluate several lines of code via ALT + Enter, I would expect that they are evaluated in the order I send the request, but sometimes it skips lines like using DataFrames or move on. Then the following code gives an error because it depends on the modules. It happens to me only when I use ALT + Enter.
When I in example, only request to evaluate all modules, I will not get a succesful flag for the modules and if request to evaluate them again it works