Skip to content

Support wildcard paths in completions #21067

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

Closed
ghost opened this issue Jan 8, 2018 · 0 comments
Closed

Support wildcard paths in completions #21067

ghost opened this issue Jan 8, 2018 · 0 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@ghost
Copy link

ghost commented Jan 8, 2018

TypeScript Version: master

Code

/// <reference path="fourslash.ts" />

// @Filename: /src/b.ts
////export const x = 0;

// @Filename: /src/a.ts
////import {} from "foo//**/";

// @Filename: /tsconfig.json
////{
////    "baseUrl": ".",
////    "paths": {
////        "foo/*": ["src/*"]
////    }
////}

verify.completionsAt("", ["a", "b"]);

Expected behavior:

Test passes.

Actual behavior:

No completions.

@ghost ghost added the Bug A bug in TypeScript label Jan 8, 2018
@ghost ghost self-assigned this Jan 8, 2018
@ghost ghost closed this as completed in #21072 Jan 8, 2018
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Jan 8, 2018
@mhegazy mhegazy added this to the TypeScript 2.7 milestone Jan 8, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

1 participant