Menu

#64 Allow ctags to read source-code from standard input

open
nobody
None
5
2015-05-19
2015-05-19
No

Firstly, congratulations on a great tool.

I'd like to be able to pass C or C++ source code to ctags via stdin, without using a temporary file with a name. I haven't found a way to do this generally; using - does not work: it is treated as an unknown option. Using tricks like /dev/stdin don't appear to work either.

I want this to be able to have ctags receive output directly from the C/C++ preprocessor (with #line directives to identify file and position), or from commands invoked in a text editor (Nedit in my case, customised with spiffy namespace support) where an extract of a file (eg a local block) could be analysed.

Discussion


Log in to post a comment.