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

pass relative paths to the command line #4437

Closed
wants to merge 1 commit into from
Closed

Conversation

bobzhang
Copy link
Member

@bobzhang bobzhang commented Jun 3, 2020

The motivation to do this is avoid noise and easier to for ppx commands to selectively filter some files
To achieve this, we need ensure that error message is displayed properly so that refmt is tweaked to set absname true
The other benefit is that this makes our path resolution much more white space in-sensitive
TODO: make sure editor integration is okay.
The merlin should be fine, since it does not rely on the compiler commands
If RLS does run those command faithfully it should be fine too

The motivation to do this is avoid noise and easier to for ppx commands to selectively filter some files
To achieve this, we need ensure that error message is displayed properly so that refmt is tweaked to set absname true
The other benefit is that this makes our path resolution much more white space in-sensitive
TODO: make sure editor integration is okay.
The merlin should be fine, since it does not rely on the compiler commands
If RLS does run those command faithfully it should be fine too
@bobzhang
Copy link
Member Author

in maser, for the source file, it is still absolute path, for output, it's relative, this makes existing editor happy but also reduce the verbosity

@bobzhang bobzhang closed this Oct 14, 2020
@cristianoc cristianoc deleted the ppx_dev_flags branch June 18, 2022 02:33
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.

1 participant