Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Build a menu structure for programming language-specific actions #131
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
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.
We will need to factor in that the review will include architecture review for if the abstraction is flexible enough to accommodate future work.