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

phan.analyzedProjectDirectory = './'? #45

Closed
kenjiuno opened this issue Jan 5, 2019 · 1 comment
Closed

phan.analyzedProjectDirectory = './'? #45

kenjiuno opened this issue Jan 5, 2019 · 1 comment

Comments

@kenjiuno
Copy link

kenjiuno commented Jan 5, 2019

I want specify project root as a relative path in .vscode\settings.json

{
    "phan.analyzedProjectDirectory": "./"
}

However it seems to be invalid for me:

image

@TysonAndre
Copy link
Owner

Phan doesn't support relative paths for that setting. There's also a question of what it would be relative to (the workspace folder would make the most sense). ./some-subdir would make sense in some projects, but not all projects

You can provide either an absolute path, or an array of absolute paths.

The syntax would probably be different if Phan ever supported automatically analyzing the current workspace. See #29 for the ticket to support that.

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

2 participants