Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>42 Function to HeaderNew to Visual Studio Code? Get it now.
42 Function to Header

42 Function to Header

kmoragap

|
734 installs
| (0) | Free
Automatically adds selected functions to a C header file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

icon

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

  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.

Contributions

To report a bug or ask for a feature, please open a Github issue.

Release Notes

0.0.4

  • Initial release of the "42 Function to Header" extension.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft