question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sort every line (Plugin idea?)

See original GitHub issue

While working on the ccs_list.ini, I wanted to see if there’s a way to sort all the values in the lines automatically. I found some code here: https://superuser.com/questions/489946/sort-each-standalone-line-alphabetically But I’m no programmer, so I don’t know if this would work as a plugin.

A possible sort-values-in-line plugin should let the user give a delimiter (usually probably comma, semicolon, tab or space), and maybe an option to ignore the first part of a line until some “separator” character.

For example, with the comma as value-delimiter and the equals sign as separator this background=none,left,center,right,top,bottom,auto could be sorted this way: background=auto,bottom,center,left,none,right,top

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Alexey-Tcommented, Oct 13, 2020

Because beta was not updated. updated now, pls test.

0reactions
d-malcommented, Oct 13, 2020

Yes, now it’s working at my end, too!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lines Sorter - IntelliJ IDEs Plugin - JetBrains Marketplace
Add Sort Lines action in Edit menu to sort selected lines or whole file if selection is empty. Email. Plugin Site. Issue Tracker....
Read more >
syllant/idea-plugin-linessorter: Lines Sorter is a ... - GitHub
Lines Sorter is a plugin for Intellij-based products that sorts lines in text files (available from the Plugin Manager). Just select lines and...
Read more >
Sort a file alphabetically based on first letter of each line ...
I have huge constants file and want to be able to easily read through it alphabetically. intellij-idea · pycharm · jetbrains-ide · Share....
Read more >
Plugins for Geany [lineoperations]
The first occurrence of each duplicate line will remain in the file. The Sorted option will sort the file and remove duplicate lines...
Read more >
Nisa Text | Figma Community
Easy way to split your text/list into small text pieces. ... Feel free to contact me to offer your idea for the plugins....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found