ctags icon indicating copy to clipboard operation
ctags copied to clipboard

main: provide the command line interface to fill common fields of tags

Open masatake opened this issue 7 years ago • 0 comments

PuppetManifest input:

class base {
    file { "/tmp/deepclassheir1": ensure => file, mode => '0755' }
}

class sub1 inherits base {
    file { "/tmp/deepclassheir2": ensure => file, mode => '0755' }
}

In the above input, base should be recorded to inherts field of sub1 tag.

To implement this, we have to provide the command line interface to fill common fields of tags.

I implemented _field=FIELD:VALUE regex flag. However, this one can only set parser specific fields of tags.

masatake avatar Oct 16 '18 16:10 masatake