Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Path completions for import types#23082

Merged
weswigham merged 3 commits into
microsoft:mastermicrosoft/TypeScript:masterfrom
weswigham:import-types-lsweswigham/TypeScript:import-types-lsCopy head branch name to clipboard
Apr 2, 2018
Merged

Path completions for import types#23082
weswigham merged 3 commits into
microsoft:mastermicrosoft/TypeScript:masterfrom
weswigham:import-types-lsweswigham/TypeScript:import-types-lsCopy head branch name to clipboard

Conversation

@weswigham

Copy link
Copy Markdown
Member

Fixes one of the points brought up in this comment.

@weswigham weswigham requested review from a user, mhegazy and sheetalkamat April 2, 2018 19:19
assertHasRanges(ranges: Range[]): void;
caretAtMarker(markerName?: string): void;
completionsAt(markerName: string | ReadonlyArray<string>, completions: ReadonlyArray<string | { name: string, insertText?: string, replacementSpan?: Range }>, options?: CompletionsAtOptions): void;
completionsAndDetailsAt(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this from the fourslash .d.ts because I tried to use it then discovered that it doesn't exist at runtime - the verify class doesn't have this member (any more?).

//// }
////}
// @Filename: /node_modules/package/index.ts
////export namespace Foo {

@ghost ghost Apr 2, 2018

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path completions shouldn't even need to read the file, so this could just be ////file content not read

@weswigham weswigham merged commit fd553df into microsoft:master Apr 2, 2018
@weswigham weswigham deleted the import-types-ls branch April 2, 2018 23:15
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.