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

Add Scala support #24

Open
skuzzle opened this issue Jan 4, 2019 · 0 comments
Open

Add Scala support #24

skuzzle opened this issue Jan 4, 2019 · 0 comments

Comments

@skuzzle
Copy link
Owner

skuzzle commented Jan 4, 2019

Now that we have better support for different languages, we could try implementing Scala support on top of the current matching algorithm.
This poses the following challenges:

  1. Scala allows you to place import statements everywhere. So we can not eagerly break the file consumption in case no import has been found. We have to scan the whole file.
  2. Scala allows nested package declarations everywhere. So we can not find a class's package name by simply scanning finding the first line starting with package.

Overall, Scala's import and package statements do not fit our current matching architecture at all. This ticket may be used to collect ideas and use cases for scala support before I'll actually start to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant