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

Show TS/JS File and Folder Suggestions using Trigger Characters #21543

Closed
ndkcha opened this issue Feb 28, 2017 · 6 comments
Closed

Show TS/JS File and Folder Suggestions using Trigger Characters #21543

ndkcha opened this issue Feb 28, 2017 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug feature-request Request for new features or functionality javascript JavaScript support issues plan-item VS Code - planned item for upcoming suggest IntelliSense, Auto Complete typescript Typescript support issues verification-needed Verification of issue is requested verified Verification succeeded

Comments

@ndkcha
Copy link

ndkcha commented Feb 28, 2017

  • VSCode Version: 1.9.1
  • OS Version: macOS Sierra (10.12.3)

Steps to Reproduce:

  1. Open folder (containing the angular2 app)
  2. Write import statement and refer to path. It should suggest the path based on directory structure.

Image:

screen shot 2017-02-28 at 12 33 40 pm

@mjbvz mjbvz self-assigned this Feb 28, 2017
@mjbvz mjbvz added intellisense javascript JavaScript support issues info-needed Issue requires more information from poster typescript Typescript support issues labels Feb 28, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Feb 28, 2017

This should work. Can you please share your tsconfig.json and a small example project that demonstrates this issue

@ndkcha
Copy link
Author

ndkcha commented Mar 1, 2017

I have created a repository containing a code where i encountered with the issue. You can find the repository here.
My tsconfig.json file.
I have commented on a specific file to elaborate the issue. You can it here.

I hope this helps.

@mjbvz
Copy link
Collaborator

mjbvz commented Mar 4, 2017

Thanks. So to be clear, the issue is not that directory/files suggestions are never shown, but that they are not shown when you type / in the import path?

As a workaround, you can trigger quick suggestions manually with ctrlspace

@ndkcha
Copy link
Author

ndkcha commented Mar 4, 2017

yes.
okay. thanks! 👍

@mjbvz mjbvz removed the info-needed Issue requires more information from poster label Mar 8, 2017
@mjbvz mjbvz changed the title Intellisense is not able to suggest directories/files in import statements (typescript) Show TS/JS File and Folder Suggestions using Trigger Characters Mar 8, 2017
@mjbvz mjbvz added the feature-request Request for new features or functionality label Apr 21, 2017
@jrieken jrieken added suggest IntelliSense, Auto Complete and removed intellisense labels Aug 31, 2017
@mjbvz mjbvz added this to the September 2017 milestone Sep 12, 2017
@mjbvz mjbvz added the plan-item VS Code - planned item for upcoming label Sep 13, 2017
@Aetherall
Copy link

Is it possible to show first the files in which the variable exported matches the one imported?

something like

import { AwesomeClass } from '
/_____________________________________________________\
| => - "../../fileExportingAwesomeClass.js"
| => - "../../../anotherFileExportingAwesomeClass.js"
| => - "packagenameFromNodeModulesExportingAwesomeClass"
| [... rest]

@mjbvz mjbvz added the bug Issue identified by VS Code Team member as probable bug label Sep 22, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Sep 22, 2017

Fixed by 5ec101e

@mjbvz mjbvz closed this as completed Sep 22, 2017
@jrieken jrieken added the verification-needed Verification of issue is requested label Sep 26, 2017
@roblourens roblourens added the verified Verification succeeded label Sep 27, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug feature-request Request for new features or functionality javascript JavaScript support issues plan-item VS Code - planned item for upcoming suggest IntelliSense, Auto Complete typescript Typescript support issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants