You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for your work on ccls and its Visual Studio Code plugin. They are fantastic and I'm using them with great success to work on several codebases. Second, I have a feature request.
Observed behavior
When using ccls and vscode-ccls, if you have a class named Foo with several constructors available, ccls immediately offers and lets you view the list of constructors as soon as you type:
Foo foo(
However, when using the C++11 uniform initialization syntax with curly braces no completion seems to happen.
Foo foo{
Expected behavior
Attempting to use uniform initialization syntax lets you view available constructors as usual.
Steps to reproduce
Create a new project with a file with the following contents in Visual Studio Code:
#include <string>
class Foo
{
public:
Foo (int value) {}
Foo (const std::string& value) {}
};
int main (void)
{
Foo foo(0);
return 0;
}
Delete the last characters from the Foo foo(0); line.
Test constructor completion using Foo foo{
The text was updated successfully, but these errors were encountered:
First off, thanks for your work on ccls and its Visual Studio Code plugin. They are fantastic and I'm using them with great success to work on several codebases. Second, I have a feature request.
Observed behavior
When using ccls and vscode-ccls, if you have a class named Foo with several constructors available, ccls immediately offers and lets you view the list of constructors as soon as you type:
However, when using the C++11 uniform initialization syntax with curly braces no completion seems to happen.
Expected behavior
Attempting to use uniform initialization syntax lets you view available constructors as usual.
Steps to reproduce
Foo foo(0);
line.Foo foo{
The text was updated successfully, but these errors were encountered: