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 list output #1485

Merged
merged 9 commits into from
Jun 27, 2017
Merged

Conversation

masatake
Copy link
Member

No description provided.

…uage

--list-aliases used following formats:

	LANGUAGE0: ALIAS00 ALIAS02 ...
	LANGUAGE1: ALIAS10 ALIAS12 ...

This commit changes it to

	LANGUAGE0: ALIAS00
	LANGUAGE0: ALIAS01
	...

	LANGUAGE1: ALIAS10
	LANGUAGE1: ALIAS1n1
	...

The new layout may be helpful for scripting.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…lt() inline

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Universal-ctags compares source file name with patterns matched before extensions in parser selection.
Therefore printing the patterens before printing extensions
are intuitive.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…sions of langmap

--list-map-patterns and --list-map-extensions used following formats:

        LANGUAGE0: MAP00 MAP01 ...
        LANGUAGE0: MAP10 MAP11 ...

This commit changes it to

        LANGUAGE0: map00
        LANGUAGE0: MAP01
        ...

        LANGUAGE1: MAP10
        LANGUAGE1: MAP11
        ...

The new layout may be helpful for scripting.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 1dbf603 on masatake:improve-list-output into ** on universal-ctags:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling d30a62d on masatake:improve-list-output into ** on universal-ctags:master**.

In --list- output, various notations are used for bool value: on/off, TRUE/FALSE.

In this change, colprintLineAppendColumnBool is introduced and make the notations
uniform: yes/no.

--list-languages([disabled]) and --list-kinds([off]) are not changed for
keeping compatibility.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…boolean values

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@masatake
Copy link
Member Author

XFMT field in --list-fields should removed. I will revise this when writing the option in ctags.1.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 85.081% when pulling f9f0372 on masatake:improve-list-output into 7d6be56 on universal-ctags:master.

@masatake masatake merged commit 69b2ad9 into universal-ctags:master Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants