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

-include and -include_lib directives are not supported #11

Closed
osal opened this issue Jul 26, 2012 · 5 comments
Closed

-include and -include_lib directives are not supported #11

osal opened this issue Jul 26, 2012 · 5 comments
Milestone

Comments

@osal
Copy link

osal commented Jul 26, 2012

Records from included headers are claimed as unresolved

@ignatov
Copy link
Owner

ignatov commented Jul 26, 2012

Please, provide an example. Link to minimal example project will be perfect.
At the moment -include and include_lib are parsed and records from includes files are added to the current resolve scope.

Possibly, we are talking about standard libraries, for example
-include_lib("kernel/include/file.hrl"). not correctly resolved yet.

@osal
Copy link
Author

osal commented Jul 27, 2012

07/26/2012 06:27 PM, Sergey Ignatov пишет:

Please, provide an example. Link to minimal example project will be perfect.
At the moment -include and include_lib are parsed and records from includes files are added to the current resolve scope.

Possibly, we are talking about standard libraries, for example
-include_lib("kernel/include/file.hrl"). not correctly resolved yet.


Reply to this email directly or view it on GitHub:
#11 (comment)

Hello, Sergey,

Here is (http://dl.dropbox.com/u/23815930/test.tar.gz) simple app,
generated by rebar. App is compiling ok but records are unresolved in
idea. I didn't test it on standard includes.

Good work.
Thank you.

Aleksey.

@ignatov
Copy link
Owner

ignatov commented Jul 27, 2012

Please, see my screenshot: http://dl.dropbox.com/u/4294872/resolved-records.png
I just add all yours directories to idea project and all records are resolved.
I suppose, issue closed.

@ignatov ignatov closed this as completed Jul 27, 2012
@osal
Copy link
Author

osal commented Jul 27, 2012

I'm new to IDEA, so it took me some time to figure out how to add
folders with erlang sources to project. It's ok about records now, but
what about macros? "Go To -> Declaration" on macro does nothing.

@ignatov
Copy link
Owner

ignatov commented Jul 27, 2012

#12

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