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

Completion list for external module #739

Closed
yuit opened this issue Sep 24, 2014 · 3 comments
Closed

Completion list for external module #739

yuit opened this issue Sep 24, 2014 · 3 comments
Labels
Duplicate An existing issue was already created Suggestion An idea for TypeScript

Comments

@yuit
Copy link
Contributor

yuit commented Sep 24, 2014

When import external module, we should have a completion list for names of external modules.

@yuit yuit added the Suggestion An idea for TypeScript label Sep 24, 2014
@mhegazy
Copy link
Contributor

mhegazy commented Sep 24, 2014

Some examples:

// file1.d.ts
declare module "externalModule" {

}
// file2.ts
export var x;
// file3.ts
import f = require("| " // <- completion here should show "file2" and "externalModule"

Also note that we need to figure relative path, so if file2.ts was in a directory files, it should have been "./foo/file2"

@NoelAbrahams
Copy link

Possible duplicate of #188

@DanielRosenwasser
Copy link
Member

Indeed seems like a duplicate of #188.

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label Apr 21, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

4 participants