-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
From @joshunger on December 25, 2017 13:47
- VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:35:14.671Z)
- OS Version: Darwin x64 16.7.0
- Extensions:
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-eslint | dba | 1.4.3 |
| prettier-vscode | esb | 1.0.1 |
| intellij-idea-keybindings | k-- | 0.2.17 |
| debugger-for-chrome | msj | 4.0.0 |
| vscode-fileutils | sle | 2.7.1 |
Steps to Reproduce:
- Create a file called 'airbnb-style-guide.js` with the following content -
const AirbnbStyleGuide = {
es6: {
},
};
export default AirbnbStyleGuide;- Create a second file and start typing "Air" and notice auto complete.
EXPECTING: import AirbnbStyleGuide from './airbnb-style-guide.js
ACTUAL: import airbnbStyleGuide from "./airbnb-style-guide";
https://github.com/airbnb/javascript#naming--PascalCase-singleton
I'm guessing this is filename guessing since a file called AirbnbStyleGuide.js works correctly.
Reproduces without extensions: Yes/No
Copied from original issue: microsoft/vscode#40810
TimOgilvy
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue


