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

{ "when": "$(basename).ts" } is case sensitive on Windows #38462

Closed
rjamesnw opened this issue Nov 16, 2017 · 2 comments
Closed

{ "when": "$(basename).ts" } is case sensitive on Windows #38462

rjamesnw opened this issue Nov 16, 2017 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues

Comments

@rjamesnw
Copy link

  • VSCode Version: Code 1.18.0 (dcee220, 2017-11-08T21:22:49.932Z)
  • OS Version: Windows_NT x64 6.1.7601
  • Extensions:
Extension Author (truncated) Version
project-manager ale 0.23.0
markdown-preview-github-styles bie 0.1.0
path-intellisense chr 1.4.2
gitignore cod 0.5.0
git-extension-pack don 0.1.3
githistory don 0.2.3
gitlens eam 6.1.0
tslint eg2 1.0.21
prettier-vscode esb 0.24.0
json2ts Gre 0.0.6
vscode-git-tags how 1.1.2
vscode-nuget-package-manager jmr 1.1.4
ts-extension-pack loi 0.0.1
csharp ms- 1.13.1
PowerShell ms- 1.5.0
typescript-javascript-grammar ms- 0.0.24
vs-keybindings ms- 0.1.7
debugger-for-chrome msj 3.5.0
debugger-for-edge msj 0.4.1
tsimporter pmn 1.2.14
typescript-hero rbb 1.7.0
move-ts str 1.5.0
vscode-open-in-github ziy 1.3.0

I have the following config:

  "files.exclude": {
    "**/*.js": { "when": "$(basename).ts" },
    "**/*.js.map": true
  }

And it seems to be case-sensitive on Windows. Thus, I have class files like "MyClass.ts" compiled by tsc to myclass.js which breaks the file exclusion. This makes me have to resort to using "**/*.js": true, which is not ideal, but works for now.

@vscodebot vscodebot bot added the javascript JavaScript support issues label Nov 16, 2017
@mjbvz mjbvz added file-explorer Explorer widget issues and removed javascript JavaScript support issues labels Nov 16, 2017
@rjamesnw rjamesnw changed the title "**/*.js": { "when": "$(basename).ts" } is case sensitive { "when": "$(basename).ts" } is case sensitive Nov 16, 2017
@rjamesnw rjamesnw changed the title { "when": "$(basename).ts" } is case sensitive { "when": "$(basename).ts" } is case sensitive on Windows Nov 16, 2017
@mjbvz mjbvz assigned bpasero and unassigned mjbvz Nov 16, 2017
@bpasero
Copy link
Member

bpasero commented Nov 16, 2017

#10633

@bpasero bpasero closed this as completed Nov 16, 2017
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 16, 2017
@rjamesnw
Copy link
Author

Ah, I was looking for it and didn’t know what to call it! lol ;) Thanks, “glob searching”, got it.

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

3 participants