microsoft / microsoft/vscode-cpptools

Generate source file of definitions from header file

Open
#10,414 4 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Feature: Create Declaration or Definition Language Service
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Other than genenrating function definition one by one, we need to generate a whole cpp files from the header. i.e. After we finish the declaration of a class or some functions in .h, we can create a .cpp with those definitions there. The extention c/c++ definition generator extenstion implements some functions, but far away from perfect.

It would be great if cpptool adding such a feature.

Originally posted by @Mulf in https://github.com/microsoft/vscode-cpptools/issues/664#issuecomment-1396394849

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are named in the issue. Start by comparing the requested whole-.cpp generation with the linked C/C++ Definition Generator extension and existing cpptool behavior; done means generating definitions for classes or functions declared in a header.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.