Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When extending C++ editor, Comment Selection command is not available #272

Open
fdarvea opened this issue Oct 27, 2022 · 0 comments
Open

Comments

@fdarvea
Copy link

fdarvea commented Oct 27, 2022

Description

I extended the C++ editor in my own editor using a MEF component.

[Export]
[Name("mycpp")]
[BaseDefinition("C/C++")]

When a open a file, the C++ comments are green as expected.
However, the commands Comment Selection/Uncomment Selection are grayed out in toolbar and missing from Edit-Advanced menu.

With the keyboard shortcut, the message is
The key combination (Ctrl+K, Ctrl+C) is bound to command (Comment Selection) which is not currently available.

How can I make the commands available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant