You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps:
1.Right-click on the folder in the project.
2.Create a new Java class.
Outcome:
An error will be reported in the package statement on the first line.Error message: "The package is incorrect (hints(1): 1:9-1:21)".
However, if you close the compiler and then restart it, the error will no longer be reported.
Extension version: 23.0.1
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Thanks @Kxiaoguai3 for sharing this !
We are looking into this issue . Need some more info as we are currently unable to reproduce this .
Just check once if you are also using Language Support for Java(TM) by Red Hat or Extension Pack for Java because this Create a new Java class option is not contributed by our extension .
To create a new java class using our extension we recommend following the steps below :-
Type Java: New File From Template in the Command Palette .
Type: Bug
Steps:
1.Right-click on the folder in the project.
2.Create a new Java class.
Outcome:
An error will be reported in the package statement on the first line.Error message: "The package is incorrect (hints(1): 1:9-1:21)".
However, if you close the compiler and then restart it, the error will no longer be reported.
Extension version: 23.0.1
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: