• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

amir9480/vscode-cpp-helper: vscode extension to create implementation for c++ fu ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

amir9480/vscode-cpp-helper

开源软件地址:

https://github.com/amir9480/vscode-cpp-helper

开源编程语言:

TypeScript 93.0%

开源软件介绍:

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
clojure/build.ci: Support scripts for continuous integration发布时间:2022-04-21
下一篇:
shukla141015/keys: Cryptocurrency private keys发布时间:2022-04-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap