#IDEA losing track of source files issue

1 messages · Page 1 of 1 (latest)

vital peak
#

Every now and then, my IDEA seems to forget what files are in my project, and I have to remove and readd a source folder in project settings. Is there a way to figure out why it does this?

I just had an issue dealing adding a custom object to an arraylist of a file I was working on and it was saying "cannot access ___." Removing source folder in project settings and re adding it fixed it. But I had to do it earlier as it was not letting my main class be runnable.

tawny wharfBOT
#

<@&987246527741304832> please have a look, thanks.

tawny wharfBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

tawny kernel
#

are your files under use by another program ( onedrive , droppbox, ... ) ?

ocean pendant
vital peak
#

@tawny kernel git + maybe onedrive. It only seems to happen with a project I'm using that was created in eclipse.

tawny kernel
#

if its on onedrive file problems can arise