• Stars
    star
    256
  • Rank 159,165 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

vscode extension to create implementation for c++ function prototypes.

C++ Helper

Screen Shot C++ Helper extension for VSCode.

Features

  • Generating implementation for c++ declarations.
  • Generating header guard for headers.

Configuration

CppHelper.SourcePattern:

The array of possible patterns to find the source of a header file.

Example:

"CppHelper.SourcePattern": [
    "{FILE}.cpp",
    "{FILE}.c",
    "{FILE}.inl",
    "/src/{FILE}.cpp"
]

Where {FILE} is your active header file name.

If you don't want a relative pattern then put a / as first character.

CppHelper.HeaderGuardPattern:

The pattern of header guard. Example:

"CppHelper.HeaderGuardPattern": "{FILE}_H"

Where {FILE} is your active header file name in UPPERCASE format.

CppHelper.ContextCreateImplementation

Show or hide "Create Implementation" in context menu.

CppHelper.ContextCreateImplementationHere

Show or hide "Create Implementation Here" in context menu.

CppHelper.ContextCopyImplementation

Show or hide "Copy Implementation" in context menu.

CppHelper.ContextCreateHeaderGuard

Show or hide "Create Header Guard" in context menu.

CppHelper.SourceNotFoundBehavior

What happen if source file of a header file not found.

  • Implement in same file
  • Create source file

Known Issues

If you implement a previously implemented function duplicate implementation will happen.

This extension created using regex and there is no parser/compiler. so any wrong implementation may happen. If you found any wrong implementation please let me know in issues and also don't forget to send your code sample.

Change Log

0.3.1

  • Bug fixes (#49, #47, #41)

0.3.0

  • Add functions and classes attributes support.
  • Fix default parameter with parentheses bug (#35).
  • Fix trailing parameters comment issue (#31).

0.2.1

  • Fix code indent bug when EOL was LF.
  • Fix member operator +, operator - bug.
  • Cast operator support added.

0.2.0

  • Fix bugs (#12, #13).
  • Copy Implementation to clipboard command added (#11).
  • Create source file if not found (#14).
  • Improved order of implementation.

0.1.0

  • Add Create Implementation Here command. (#7)
  • Add setting to hide context menu items.

0.0.7

  • Bug #5 fixed.

0.0.6

  • Bug #4 fixed.

0.0.5

  • Fix bug in Linux. (#1, #2)

0.0.4

  • Argument with default value implementation bug fixed.
  • Class template specialization support added.
  • Regex to find previous implementation improved.
  • Bug with operator() fixed.
  • SourcePattern configuration bug fixed.

0.0.3

  • Keeping the order of implementations synced to declarations as much as possible.

Donation

More Repositories

1

vscode-laravel-extra-intellisense

This extension adds extra autocompletion for laravel projects to VSCode.
TypeScript
2,588
star
2

instagram-hide-all

A command-line tool to temporary hide/unhide Instagram stories from all of your followers
Python
11
star
3

amir9480

10
star
4

vscode-flutter-widget-wrap

Wrap flutter codes inside Container/Stack.
TypeScript
9
star
5

laravel-auto-update

Laravel automatic user friendly update package.
PHP
8
star
6

laravel-vue-crud-example

SPA CRUD Example with Laravel and Vue.
PHP
8
star
7

laravel-url-shortener-sample

Laravel Url shortener sample.
PHP
7
star
8

signalpp

signal++ is an easy to use signal/slot library for c++
C++
7
star
9

amir9480.github.io

personal github pages :)
Vue
5
star
10

laravel-sanjab-tutorial-sample

Sanjab sample created for tutorial
PHP
5
star
11

Qt-Countries-Sample

Just another program with Qt just for hobby
QML
5
star
12

laravel-jquery-file-upload-example

File upload example with https://github.com/blueimp/jQuery-File-Upload/ in laravel php framework
PHP
4
star
13

laravel-dropzone-example

this is drop zone upload example for my personal usage
PHP
4
star
14

simple-Qt-phoneBook

C++
4
star
15

michka

My personal project to make my path to my dreams
C++
4
star
16

Traffic-booster

a website traffic booster just for learning . ( laravel / jquery / bootstrap )
PHP
4
star
17

laravel-js-localization-example

PHP
3
star
18

laravel-sanjab-cafe-sample

A cafe project created with sanjab.
PHP
3
star
19

azdb

Yet another personal project
PHP
2
star
20

lightning

Just for archiving my old codes & bugs
C++
2
star
21

laravel-livewire-upload-sample

PHP
1
star
22

learning-opengl

Just for archive my code
C++
1
star