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

macro to insert source code of the current column #54

Open
tovbinm opened this issue Sep 19, 2018 · 2 comments
Open

macro to insert source code of the current column #54

tovbinm opened this issue Sep 19, 2018 · 2 comments

Comments

@tovbinm
Copy link

tovbinm commented Sep 19, 2018

In addition to line number #43 - it's also useful to track the column (available using c.enclosingPosition.column)

And in general, it might make sense to allow sourcecode.Position(fileName: String, line: Int, column: Int).

@tovbinm
Copy link
Author

tovbinm commented Sep 19, 2018

I can make a PR with the change.

This was referenced Sep 19, 2018
@cornerman
Copy link

@lihaoyi Can we get this merged? If you do not have time, I would be willing to help maintaining this project.

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

No branches or pull requests

2 participants