I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes to package.json , it showed the file on source control with the commit button enabled. Otherwise any changes to any other files is not reflecting and the commit button is disabled. So far I have uninstalled and installed VS code. Re installed node , Git etc. Already have same setup in another laptop and working fine but need to move to this new laptop.
I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes to package.json , it showed the file on source control with the commit button enabled. Otherwise any changes to any other files is not reflecting and the commit button is disabled. So far I have uninstalled and installed VS code. Re installed node , Git etc. Already have same setup in another laptop and working fine but need to move to this new laptop.
Share Improve this question asked Mar 20 at 23:34 Sz2013Sz2013 3582 gold badges7 silver badges21 bronze badges1 Answer
Reset to default -2Autosave needed to be enabled. File > Autosave.