dense-analysis / dense-analysis/ale

Automatically determine C/C++ compiler from build files

Open
#3,328 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

Because we now have a generic `cc` linter as of #3299, and the default executable setting is now `''` for C and C++ compilers, we can go one step further and automatically determine the C/C++ compiler to use from `compile_commands.json` or `make -n` output, etc. This will mean that ALE can automatically use the same C/C++ compiler that will be run when you run `make` by default, supposing you haven't told ALE to run some other compiler, as long as you either turn on the unsafe `make -n` parsing, or have a `compile_commands.json` file available that ALE can read.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.