-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Go To Definition(F12) option need to be enhanced (Even the Definition one is in another page with in the project))like sublime text?i'm facing this issue from long since i install VS code ?Any help on this? #8547
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
Comments
From @isidorn on May 10, 2016 12:38 Please provide a short code snippet for which this behavior can be reproduced. Or even better create a repository on gitHub which we can clone and see this behavior |
From @vinod-a-ext on May 10, 2016 14:50 1.factory.js file
2.controller.js
|
From @vinod-a-ext on May 10, 2016 14:52 when i press F12 on Callmefromcontroller in controller.js I need to go to Callmefromcontroller defintion method which is in factory.js file?Any help on this |
@vinod-a-ext I formatted the snippet to your previous comment, hope it's still correct. |
and to clarify, you want |
From @vinod-a-ext on May 10, 2016 15:16 Spot on @jrieken i need same thing which done perfectly in sublime text editor |
ok. moving to the TypeScript team which provides the brain the behind JavaScript and TypeScript smartness in VS Code. I know they have been starting some work on support for angular et al |
There are no plans on supporting this understanding of angular code. such deep understanding of the run-time behavior of a framework is out of scope at the current time. |
@mhegazy out of curiosity and cos I met angular folks yesterday: I remember talk about compiler plugins etc. What happened to that? |
So I think we have to compile the Runtime complier of sublime text editor 3 which is the best one to do this so far.Moving to sublime Text 3 editor from VS Code.Hoping to come back to Vs code onces i got this feature. |
@vinod-a-ext what package are you using with ST? |
when I press F12 on the 44 line (refer below image) it (sublime text editor) comes with a pop up listing l files ( by comparing all files in the project with the same name--- on the word I pressed F12) ,so that gives me a quick access to jump to my wanted file.Hope I clarified my question with this? |
@jrieken No need to add any packages.it's a inbuilt thing! |
@vinod-a-ext Thanks, I learnt something. Let me see what our extension API allows you to do... |
@vinod-a-ext I gave it a try: https://marketplace.visualstudio.com/items?itemName=jrieken.fuzzy-definitions. It's an extension that hooks into |
@jrieken , |
shouldn't be the case. it's a bit quite and dirty and uses some full test searching tricks. it will surely have issue with large workspaces (hello node_modules folder). can you check the dev tools from within vscode and check if it contains useful info? |
Thanks for checking, I pushed an update which hopefully fixes that... Let's continue to track more issues here: https://github.com/jrieken/fuzzy-definitions/issues. I want to make this a thing 💪 |
@jrieken --->Refer this jrieken/fuzzy-definitions#1 |
From @vinod-a-ext on May 10, 2016 10:49
Steps to Reproduce:
Copied from original issue: microsoft/vscode#6238
The text was updated successfully, but these errors were encountered: