Skip to content

kmoragap/42-function-to-header

Repository files navigation

icon

License: MIT

42 Function to Header

This Visual Studio Code extension allows you to automatically add selected functions to a header file in C projects.

Features

  • Automatically adds selected functions to the designated header file.
  • Supports customizing the header file path in the workspace settings.
  • Works with C projects.

Requirements

  • Visual Studio Code 1.59.0 or later.

Usage

42-function-to-header.mp4
  1. Open a C source file in Visual Studio Code.
  2. Select the function(s) you want to add to the header file.
  3. Open the command palette by pressing Ctrl+Shift+P (or Cmd+Shift+P on macOS).
  4. Type "Add Function to Header" and select the corresponding command from the list.
  5. Choose the header file to which you want to add the selected functions.
  6. The selected functions will be automatically inserted into the chosen header file.

Note: If you prefer to set a custom keyboard shortcut for the "Add Function to Header" command, you can do so by going to File > Preferences > Keyboard Shortcuts and searching for the command by name.

Release Notes

0.0.4

  • Initial release of the "42 Function to Header" extension.

About

This Visual Studio Code extension allows you to automatically add selected functions to a header file in C projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published