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

Manually handle go-to-definition of local requires #78

Merged
merged 2 commits into from
Feb 7, 2019
Merged

Manually handle go-to-definition of local requires #78

merged 2 commits into from
Feb 7, 2019

Conversation

matthewmcgarvey
Copy link
Contributor

The crystal command doesn't work if the code won't compile as is so this shortcuts the crystal command to go to file definitions for things like:

require "./log"

and

require "../main"

but falls back to the crystal command if it doesn't work


This is my first time writing any typescript so my code could probably use a lot of work 😄

@faustinoaq
Copy link
Member

@matthewmcgarvey Thank you! 💯

@faustinoaq faustinoaq merged commit 388b0cb into crystal-lang-tools:master Feb 7, 2019
@faustinoaq faustinoaq mentioned this pull request Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants