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

Add a module for C++ #4583

Open
manyet1k opened this issue Nov 9, 2022 · 3 comments · May be fixed by #4694
Open

Add a module for C++ #4583

manyet1k opened this issue Nov 9, 2022 · 3 comments · May be fixed by #4694
Labels
✨ enhancement A new feature implementation.

Comments

@manyet1k
Copy link

manyet1k commented Nov 9, 2022

Feature Request

Is your feature request related to a problem? Please describe.

Starship shows the GCC version if there is a .c or .h file in the directory, but it doesn't detect .cpp and other C++ files.

Describe the solution you'd like

Starship should show the gcc version (since g++ is a part of the gcc project, it always has the same version number as gcc) if there is a .cpp, .cxx, .cc or .hpp file in the working directory. This shouldn't be too difficult, since the C module can already detect the gcc version and we can build something off that module.

@manyet1k manyet1k added the ✨ enhancement A new feature implementation. label Nov 9, 2022
@Funinja Funinja linked a pull request Dec 7, 2022 that will close this issue
5 tasks
@Bbllaaddee
Copy link

Just writing to support this pr, because I also wanted to find c++ module in starship!

@mickimnet
Copy link
Member

Just writing to support this pr, because I also wanted to find c++ module in starship!

Do you need the C++ module to be different from the existing C module, as you can already use the C module for C++ projects—see: #3880 (comment)

@piyushk77
Copy link

Just writing to support this pr, because I also wanted to find c++ module in starship!

Do you need the C++ module to be different from the existing C module, as you can already use the C module for C++ projects—see: #3880 (comment)

It would be great and actually be better to have a seperate module for C++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement A new feature implementation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants