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

Support user configurable compiler flags via YCM #2

Closed
jerrymarino opened this issue May 7, 2017 · 1 comment
Closed

Support user configurable compiler flags via YCM #2

jerrymarino opened this issue May 7, 2017 · 1 comment

Comments

@jerrymarino
Copy link
Owner

Add the ability to read in flags. Consider using the ycmd_extra_conf system which allows the user to programmatically generate flags and store them in YCM on requests.

@jerrymarino
Copy link
Owner Author

This one is resolved now in the latest revisions in YCMD: ycm-core/ycmd@67c04da

In short, the client can now read in compile_commands.json, so now, it's just a matter of generating them.

For Xcode: I wrote a toy implementation to output CompilationDatabases by using Xcode's internal frameworks here: https://github.com/jerrymarino/XcodeCompilationDatabase . I'll see if we can get comp dbs generated for swift in XCPretty: xcpretty/xcpretty#281

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

1 participant