atom-community / atom-community/tool-bar

[Feature Request] Scope based buttons

Open
#192 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
160
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Can you add ability to limit buttons visibility based on scope ex. text.md could then have buttons specific to markdown editing, but the same buttons are not required when editing cpp or other file types.
If undefined button should be visible in all scopes - that way you don't introduce BC and hard requirement on scope definition.

Re-posting this from: https://github.com/varemenos/atom-toolbar-almighty/issues/24

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating where toolbar buttons are configured and where their visibility is decided, then inspect how Atom scopes are available there. Done means buttons can be limited to selected scopes while buttons without a scope remain visible everywhere, with coverage for both behaviors.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.