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
When creating a new .astro file (component) in Visual Studio Code, the Astro.js plugin does not automatically provide import auto-completion for the newly created component. This results in manual import statements being required for the new component to be recognized in the code.
Expected Behavior:
Auto-completion for the import statement should be triggered by the Astro.js plugin when a new component is created, eliminating the need for manual import statements.
Workaround:
Restarting Visual Studio Code resolves the issue, and auto-completion works as expected for the newly created component.
Environment:
Visual Studio Code Version: 1.86.1
Astro.js Plugin Version: 2.7.5
Operating System: Linux, Pop!_OS 22.04
Steps to Reproduce
Create a new .astro file (component) in your Astro.js project.
Attempt to use the new component in another file.
Notice that auto-completion for the import statement is not provided by the Astro.js plugin.
The text was updated successfully, but these errors were encountered:
Describe the Bug
When creating a new .astro file (component) in Visual Studio Code, the Astro.js plugin does not automatically provide import auto-completion for the newly created component. This results in manual import statements being required for the new component to be recognized in the code.
Expected Behavior:
Auto-completion for the import statement should be triggered by the Astro.js plugin when a new component is created, eliminating the need for manual import statements.
Workaround:
Restarting Visual Studio Code resolves the issue, and auto-completion works as expected for the newly created component.
Environment:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: