Skip to main content

cpp include sort

Project description

example

C/С++ Includes Sort

This is a tool that allows you to quickly and conveniently sort all libraries included in the project in alphabetical order.

Examples

example

Text before:

#include <iostream>
#include <vector>
#include <stdio.h>
#include <algorithm>

#include "mylib.h"
#include "b_lib.h"
#include "a_first_lib.h"

#include <external/lib/main.hpp>
#include <external/lib/abuse.hpp>
#include <external/lib/func.hpp>

int main(){
	std::cout << "Hello, World!" << std::endl;
}

Text after:

#include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>

#include "a_first_lib.h"
#include "b_lib.h"
#include "mylib.h"

#include <external/lib/abuse.hpp>
#include <external/lib/func.hpp>
#include <external/lib/main.hpp>

int main(){
	std::cout << "Hello, World!" << std::endl;
}

Installation:

pip install cisort

Usage:

cisort [flags] [path]

Flags:
-r --recursive - recursive searching C/C++ files
-ls - show info about sorted files
-h --help - to get help
-c --comments - add comments to sorted blocks\n'

Contacts

VK, Telegram, Discord

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cisort-1.1.15.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

cisort-1.1.15-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file cisort-1.1.15.tar.gz.

File metadata

  • Download URL: cisort-1.1.15.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.0 Windows/10

File hashes

Hashes for cisort-1.1.15.tar.gz
Algorithm Hash digest
SHA256 cce35c82f8ddc477bfe5fd0694fbbfc6a6a12f496372075fd145618e6f051701
MD5 8aa485242cfea2d79c78ba9653d9063d
BLAKE2b-256 3005db659e5b2295d0984cb33ab0635d8ff6c717d46f11c0d9bf5702d7e73442

See more details on using hashes here.

File details

Details for the file cisort-1.1.15-py3-none-any.whl.

File metadata

  • Download URL: cisort-1.1.15-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.0 Windows/10

File hashes

Hashes for cisort-1.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 58fb0080e20eec80d8b9650f770b66109c378cc1c17333275584b26c1c4d289e
MD5 85ffba4a9b6db1abd28eb637ab8b741c
BLAKE2b-256 1edeededdfe748ac40d9de2ca0b2dfb11cf346f7dc1b0a7f97edd3d3ea721f1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page