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

[Feature Request] Extend editor with buttons for auto !important / go to the line / Comment or uncomment etc... #676

Open
decembre opened this issue Feb 27, 2019 · 5 comments

Comments

@decembre
Copy link

  • Browser: Waterfox 56.2.7:
  • Operating System: Win10 64:
  • Stylus Version: 1.5.2:
  • Screenshot:

I keep Stylish only because i can use an old addon which extend its edit capacity:
Stylish Editor²:
[(https://sonco.synthasite.com/stylish-2.php)]

Edit my userstyles became more easy with it.
It add usefull button for:

  • Auto !important;
  • Comment/ Uncomment text
  • Undo / redo
    etc....

It add too some Input for:

  • Go to line
  • Cursor at
  • Search

It should be great if you can add these functions to your editor...

Here a Screenshot of Stylish Editor Modified:

stylish editor 2 - buttons request - 2019-02-27_013849

@narcolepticinsomniac
Copy link
Member

We've discussed an editor button bar in the past, but I don't think we've ever actually opened an issue for it, so this one can be it. It's a good idea, it just has never been a priority. If you're not aware, almost all of those functions are currently available as keyboard shortcuts with optional keymaps:

keymap

Not sure how 'auto !important' worked, but it's kinda included in auto-complete:

auto

I used to prefer buttons as well, but shortcuts are actually much more convenient once you acclimate. An editor button bar would still be a cool option though, and we could probably add a couple little features which aren't currently available.

@decembre
Copy link
Author

Thanks for the infos !
I am not a big fan of shortcut (yes, need practice) but it's a good alternative to nothing.
Stylus became very good (and complex in the same way), but it follows the right side.
That's a good news.
Wait and see.....

@dnknn
Copy link

dnknn commented Nov 1, 2020

I personally oppose this suggestion, there is no need to add editor button bar, this makes the page UI cluttered and adds complexity, and this is a web-editor, not a client-editor..

I am not a big fan of shortcut (yes, need practice)

Instead, you should be familiar with some of the most commonly used shortcuts. It is more convenient and more efficient and more directly , When you get used to it, you will fall in love with shortcuts...

@narcolepticinsomniac
Copy link
Member

People usually dig up old issues they support, and wanna bring attention to. I'm not sure what you hope to accomplish by disagreeing with an issue which hasn't even been mentioned in a year.

Editor toolbars would be a fine feature, they've just never been a priority. Of course we'd either hide them by default, or provide an option to do so.

@decembre
Copy link
Author

decembre commented Nov 1, 2020

Haa.. thanks narcolepticinsomniac !
Maybe possible in future version ?
"The "Stylish Editor²" i use, as a clever settings panel, where we can chose what icons we want and in which place / order we want put it.
It should be great and possible, with a fixed header like i tested in:
Stylus Editor: Fixed Header

In the same idea, "Stylish Editor²" give the possibility to edit the auto " !important ":
In stylus when typing"" ! " it write it without the semi-colon.
I prefer with semi-colon:
No possibility to forgot it, not need to extra typing .
PS:
I use a lot:

  • "Go to Line" (in fact in Stylus, JumpToLine Ctrl+G as mentioned by dnknn)

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

No branches or pull requests

4 participants