#VSCode will not recognize files within project, even though it works.

1 messages ยท Page 1 of 1 (latest)

cosmic lakeBOT
#

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

cosmic lakeBOT
#

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.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

t VSCode is not recognizing the files within your project, even though it seems to be working. Here are a few possible solutions you can try:

  1. Refresh the workspace: Sometimes, VSCode may not recognize newly added files until you manually refresh the workspace. You can do this by right-clicking on the project folder in the Explorer sidebar and selecting "Reload Window" or by using the keyboard shortcut Ctrl+Shift+P and searching for "Reload Window".

  2. Check file extensions: Ensure that your Java files have the correct file extension .java. If they have a different extension or no extension at all, VSCode may not recognize them as Java source files.

  3. Configure language mode: Verify that VSCode is set to use the correct language mode for your Java projects. You can check this by clicking on the language mode indicator at the bottom right corner of the VSCode window and selecting "Java" from the list.

  4. Install necessary extensions: Make sure you have installed any required extensions for Java development in VSCode. The most commonly used extension for Java development in VSCode is "Java Extension Pack". You can install it by going to the Extensions view (Ctrl+Shift+X) and searching for "Java Extension Pack".

  5. Check workspace settings: Review your workspace settings (settings.json) to ensure there are no conflicting configurations that might affect file recognition in your projects.

  6. Reopen VSCode: If none of the above solutions work, try closing and reopening VSCode to see if it resolves any temporary issues.

If none of these solutions fix your problem, please provide more specific details about the errors you are encountering so that we can assist you further.

drowsy shadow
#

You should use IntellIJ
VsCode is just not fit for Java development, especially when expanding into multiple modules

#

Anyways, for vscode, do you have the right extentions?

olive palm
#

Hello

#

I am very interested

#

let's talk together

ruby plaza
elfin compass
#

I guess you need to give the same package names to all these files in vs code

#

You can also use eclipse too, it's more organized there

cosmic lakeBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you ๐Ÿ‘