amir9480 / vscode-cpp-helper

vscode extension to create implementation for c++ function prototypes.
https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.cpp-helper
MIT License
355 stars 31 forks source link

Function not detected #35

Closed qsyttkx closed 2 years ago

qsyttkx commented 3 years ago

When I right click a member function with default value and click 'Create Implementation', I got a message: Function not detected.

my code:

class ResourceModel : public QAbstractItemModel {
public:
    // Cannot impl by cpp-helper
    QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override;
    // Worked well
    QModelIndex parent(const QModelIndex& child) const override;
};
Ares9323 commented 3 years ago

The error is caused by the function called as parameter, probably it's not recognized by the extension syntax

amir9480 commented 2 years ago

Please update C++ Helper to v0.3.0

rsoulard commented 2 years ago

This is broken again in version v0.3.1. Fixed by downgrading to v0.3.0

phoenixwxy commented 1 year ago

Please update C++ Helper to v0.3.0

this issue is broken in v0.3.2