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

Build a menu structure for programming language-specific actions #131

NolanRogers opened this issue Apr 26, 2019 · 0 comments


Copy link

commented Apr 26, 2019

As an experienced developer, I'd love to have options to take dependent upon the language mode that the editor is in for a specific file.

When a file is in a mode (as seen generally by syntax highlighting), there should be a dropdown from the menu bar that gives you language-specific options. For example, if I'm in C, I may be given options about commenting a highlighted block because the mode understands how to do block comments on that language.

So, we need:

A new menu in the toolbar that is populated by options specific to the chosen language
Menu options act in context to chosen file (whether editing the file, or submitting it, or emailing)
May need a new structure for holding these language options, but work to save these to user preference files can be a future ticket

Ask design team whether the language-specific options should be in their own menu, or within the existing "file" menu.

Possible test is....

Create the "foo" language... show that when you are in "foo" language, you get "bar" dropdown option, which writes "bar" into the file.

Code review:

We will need to factor in that the review will include architecture review for if the abstraction is flexible enough to accommodate future work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.