microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.52k stars 1.55k forks source link

Generate code for override functions from virtual functions #4737

Open timxian opened 4 years ago

timxian commented 4 years ago

It would be very useful if cpptools could have some auto-generation features:

  1. generate methods functions from header file to source file
  2. generate override functions from virtual functions of current class or parent class
sean-mcmanus commented 4 years ago

We're tracking issue 1 with https://github.com/microsoft/vscode-cpptools/issues/664 .

We can track issue 2 with this issue.

timxian commented 4 years ago

We're tracking issue 1 with #664 .

We can track issue 2 with this issue.

Great! Looking forward to have this feature

drinktee commented 2 years ago

Are there further developments in the feature?

sean-mcmanus commented 2 years ago

No, but we're working on https://github.com/microsoft/vscode-cpptools/issues/664

Raildex commented 2 years ago

more than 2 years now. Is there any development going on in the first place?

bobbrow commented 2 years ago

Yes, there is development going on. You can follow the releases here: https://github.com/microsoft/vscode-cpptools/releases. You can also see what we're currently working on here: https://github.com/microsoft/vscode-cpptools/projects?type=classic

sean-mcmanus commented 2 years ago

@Raildex As mentioned previously, the 1st issue is being actively developed. Also, the 2nd issue seems like it would share a lot of the same implementation as the 1st issue, so it might be relatively straightforward to add after the 1st issue is addressed. Both features are currently available in VS (on Windows).

beogivaljr commented 1 year ago

Any improvement on the "generate override functions from virtual functions of current class or parent class" issue?

timxian commented 1 year ago

@Raildex As mentioned previously, the 1st issue is being actively developed. Also, the 2nd issue seems like it would share a lot of the same implementation as the 1st issue, so it might be relatively straightforward to add after the 1st issue is addressed. Both features are currently available in VS (on Windows).

@sean-mcmanus sice 1st issue has been release, is there any plan to work on 2nd issue ?

sean-mcmanus commented 1 year ago

@timxian Not sure yet. I'm looking into it.

sean-mcmanus commented 1 year ago

Okay, I see it implemented in VS -- I don't know when this will get on our schedule yet, i.e. we have other high priority features on deck before this.

rytisss commented 1 year ago

@sean-mcmanus thank you for the update. This feature is really awaited in VS Code. I am looking forward to seeing it in the subsequent VS code releases!