Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include .js/.ts in module specifiers in the VS Code workspace #233928

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RyanCavanaugh
Copy link
Member

Copy link
Collaborator

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this will cause problems for our built-in extensions. Those are currently using extensionless imports, while core needs the file extensions

I think we may need something like folder specific settings on the vs code side: #32693

Either that or we:

  • Convert all our code to use imports with extensions
  • Decide that having the setting for everything is less painful than getting imports wrong in src

@mjbvz mjbvz self-requested a review November 15, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No file ending when adding import
3 participants