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

Added Cmaker plugin - Allows users to use cmake with c++ more easily #11418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apalkk
Copy link

@apalkk apalkk commented Dec 29, 2022

Standards checklist:

  • The PR title is descriptive.
  • The PR doesn't replicate another PR which is already open.
  • I have read the contribution guide and followed all the instructions.
  • The code follows the code style guide detailed in the wiki.
  • The code is mine or it's from somewhere with an MIT-compatible license.
  • The code is efficient, to the best of my ability, and does not waste computer resources.
  • The code is stable and I have tested it myself, to the best of my abilities.
  • If the code introduces new aliases, I provide a valid use case for all plugin users down below.

Changes:

  • I have added added a new plugin called "Cmaker"
  • Cmaker adds two new aliases : cjump and clist.
  • cjump allows the user to open the 'main' file from the cmake project directory. This is often useful as cmake directories are often large and this allows users to quickly open the main file. It is especially useful in smaller projects.
  • clist prints out every single file ending with .cc or .cpp (including hidden files) in the current directory. This allows users to make sense of their project.

Other comments:

Six other commands have also been added in the form of functions to automatically create cmake config files and run cmake commands. There is also a txt file which acts as a template for the CMakeLists.txt file. More details can be found in the readme of the plugin.

@ohmyzsh ohmyzsh bot added Area: plugin Issue or PR related to a plugin New: plugin Request for a plugin or Pull Request that adds one Topic: alias Pull Request or issue regarding aliases Type: documentation Documentation issue or Pull Request labels Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin New: plugin Request for a plugin or Pull Request that adds one Topic: alias Pull Request or issue regarding aliases Type: documentation Documentation issue or Pull Request
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

None yet

1 participant