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

No IntelliSense for "export from" syntax #9115

Closed
dbaeumer opened this issue Jun 13, 2016 · 3 comments
Closed

No IntelliSense for "export from" syntax #9115

dbaeumer opened this issue Jun 13, 2016 · 3 comments
Labels
Bug A bug in TypeScript Duplicate An existing issue was already created

Comments

@dbaeumer
Copy link
Member

From @ChenMachluf on June 9, 2016 14:56

Hi,
I'm using the "export from" syntax and it seems that it doesn't working well with the intellisense.
For now I'm using a workaround by importing and then exporting in two separate lines.

animation4

tnx

  • VSCode Version: 1.2.0
  • OS Version: Windows 10

Copied from original issue: microsoft/vscode#7482

@mhegazy
Copy link
Contributor

mhegazy commented Jun 13, 2016

I do not think goto def on "Person2" here should take you to the other file. this would be the issue we need to fix.

Person1 and Person2 are local names, and goto def should not work on them. it should work on the both instances of Person though.

@mhegazy mhegazy added the Bug A bug in TypeScript label Jun 13, 2016
@mhegazy mhegazy added this to the TypeScript 2.1 milestone Jun 13, 2016
@mhegazy mhegazy assigned ghost Jun 13, 2016
@ghost
Copy link

ghost commented Aug 24, 2016

The export Person from "./person" syntax isn't currently supported.
You can re-export non-default exports (export {Person} from './person' where './person' is export class Person ...) and services will work just fine.
Marking as duplicate of #4813 (see "reexporting default").

@mhegazy: Goto def on Person2 currently takes you directly to its target. We could make a separate issue for that if you consider it a problem.

@ghost ghost closed this as completed Aug 24, 2016
@ghost ghost added the Duplicate An existing issue was already created label Aug 24, 2016
@mhegazy
Copy link
Contributor

mhegazy commented Aug 24, 2016

@mhegazy: Goto def on Person2 currently takes you directly to its target. We could make a separate issue for that if you consider it a problem.

this is the desired behavior.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 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 Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants