Package names not updating automatically on Java VSCode
I’m using Java extension on VSCode and, if I create a directory and add a class after it it runs with no problem, automatically adding the right package to it. But if I change this class of directory the packages don’t update automatically so:
Error in Creating User Defined package in Java
I am new to Java and recently learnt about creating user defined packages to be later imported and used in projects . I created my own package but when I entered package at the top of my file , it started showing errorsScreenshot of my screen
Incorrect Package when create .java file in Visual Studio Code
I’m trying to create a java class in my java project with Visual-Studio-Code. My project has structure like this