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

Test: js/ts code preferences #50488

Closed
3 tasks done
mjbvz opened this issue May 25, 2018 · 2 comments
Closed
3 tasks done

Test: js/ts code preferences #50488

mjbvz opened this issue May 25, 2018 · 2 comments

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented May 25, 2018

Test for #45948 + #49653

Complexity: 1

Summary
Two new options have been added for js and ts:

  • "javascript.preferences.importModuleSpecifier" / "typescript.preferences.importModuleSpecifier"- Controls the type of import paths used for auto imports and quick fixes

  • "javascript.preferences.quoteStyle" / "typescript.preferences.quoteStyle" - Controls the type of quotes used for auto imports and quick fixes

Testing
Try configuring these settings and triggering quick fixes / auto imports to make sure they are observed (the VS Code workspace already configures default values for these)

@bpasero
Copy link
Member

bpasero commented May 29, 2018

I tested for TypeScript only because this test plan is missing instructions how to get imports working in a JS project.

@bpasero bpasero removed their assignment May 29, 2018
@mjbvz
Copy link
Collaborator Author

mjbvz commented May 29, 2018

For js, try a project that uses modules such as one generated by create react app. For proper project-wide intellisense, you may also need to create a jsconfig.json file at the root of the project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants