Giter Club home page Giter Club logo

alphabetical-sorter's Introduction

Alphabetical Sorter - VScode Extension

Easy way for sorting alphabetical! ๐Ÿ˜Ž

Visual Studio Code Extension - You can use in multi line or single for sorting.

Install

Click to extension tab and search Alphabetical Sorter and install it reload your editor. Or use this Alphabetical Sorter.

Usage

Select the desired ones(supports for kind variable). Using Command Palette (CMD/CTRL + SHIFT + A) Or Cmd+Shift+P and select Alphabetical Sorter thats it.

For questions

Repo

License

MIT ยฉ UE

alphabetical-sorter's People

Contributors

ue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alphabetical-sorter's Issues

Sort by nested / indentation level instead of globally?

Perhaps this type of feature would only be useful if the file extension is .json or .js, but it would be nice if it could take nested JSON or JS object literals:

{
	"workbench.iconTheme": "vscode-icons",
	"zenMode.hideLineNumbers": false,
	"emmet.includeLanguages": {
		"javascript": "javascriptreact"
	},
	"beautify.options": {
		"indent_with_tabs?": true,
		"indent_size?": 1,
		"end_with_newline?": true
	},
	"search.exclude": {
		"**/public/fonts": true,
		"**/public/js": true,
		"**/public/themes": true,
		"**/public/css": true
	}
}

And sort it like this:

{
	"beautify.options": {
		"end_with_newline?": true
		"indent_size?": 1,
		"indent_with_tabs?": true,
	},
	"emmet.includeLanguages": {
		"javascript": "javascriptreact"
	},
	"search.exclude": {
		"**/public/css": true
		"**/public/fonts": true,
		"**/public/js": true,
		"**/public/themes": true,
	}
	"workbench.iconTheme": "vscode-icons",
	"zenMode.hideLineNumbers": false,
}

... and if the last item in a nested list doesn't have one and it's moved to another position in the order, add a comma at the end so that ti doesn't have to be manually fixed after the sort (errors in the format should be highlighted above)

instead of:

		"**/public/css": true,
		"**/public/fonts": true,
		"**/public/js": true,
		"**/public/themes": true
		"end_with_newline?": true
		"indent_size?": 1,
		"indent_with_tabs?": true,
		"javascript": "javascriptreact"
	"beautify.options": {
	"emmet.includeLanguages": {
	"search.exclude": {
	"workbench.iconTheme": "vscode-icons",
	"zenMode.hideLineNumbers": false,
	}
	},
	},
{
}

Request: Publish the extension on Open VSX

I use VSCodium, an alternative FLOSS binary of VS Code with telemetry and some other parts stripped out. I'd like to request that the Alphabetical Sorter extension be added to the open-vsx.org marketplace in addition to the official Microsoft marketplace, because the legality of using the official marketplace on VS Code forks is questionable.

Instructions for doing so are available at https://github.com/eclipse/openvsx/wiki/Publishing-Extensions. Thank you for your consideration.

Create option to have symbols precede letters

In an angular project, imports typically start with '@' or a letter, with the former being core angular libraries that are typically more important than the rest. It would be great to be able to let the '@' imports rise to the top of the list then sorted alphabetically.

'a_b_c' precedes 'a_b'

Currently, if you have a list which is ['a_b', 'a_b_c', 'a', 'b'] it will order it as ['a_b_c', 'a_b', 'a', 'b']. My expectation would be ['a', 'a_b', 'a_b_c', 'b']. Could this be changed/added as an option in settings?

Configure order of symbols

Can we configure which symbols are ordered first? For example:

psycopg2-binary==2.7.4
psycopg2==2.7.3.1

The current functionality puts psycopg2-binary first, but I would prefer if psycopg2 was ordered first.

I also saw that this issue was closed: #3 was this added?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.