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

Improve toggle configuration experience #57

Open
Noorts opened this issue Jan 31, 2024 · 0 comments
Open

Improve toggle configuration experience #57

Noorts opened this issue Jan 31, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Noorts
Copy link
Owner

Noorts commented Jan 31, 2024

As requested by a review on the JetBrains marketplace.

The current approach of managing the dictionary within the small settings window is suboptimal. I would prefer the ability to edit a JSON file directly within Rider for a more efficient process.

Being able to edit the configuration in the IDE's editor would be great indeed (with all the editing features developers are used to).

I've looked into the feasibility of this before briefly and it seemed non trivial. It would be nice to either:

  1. Completely replace the current limited configuration window, keeping only the buttons that are there right now and adding a "Configure in Editor" button. Clicking the button will open the toggles configuration file in the IDE's editor. Making changes and saving the file will apply the changes.
    • There would have to be some kind of validation to make sure the toggles are unique, and to make sure the file contains an "array and string only" subset of JSON. It might be possible to use this plugin's already existing validation logic.
    • Note: This approach is similar to the one taken by HiDeoo's Toggler extension for VSCode.
  2. Bring the editor capabilities into the current configuration window.

I personally prefer approach 1.

Note that I'd like to make sure that Toggler users do not lose their current toggles when they update to a new version that includes this functionality.

@Noorts Noorts added the enhancement New feature or request label Jan 31, 2024
@Noorts Noorts self-assigned this Jan 31, 2024
@Noorts Noorts moved this to Backlog in @Noorts' Toggler Jan 31, 2024
@Noorts Noorts added the help wanted Extra attention is needed label Feb 2, 2024
@Noorts Noorts moved this from Backlog to Priority in @Noorts' Toggler May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Priority
Development

No branches or pull requests

1 participant