Skip to content

adding typeset/declare/local to Zsh/Sh parser #3660

Closed
@psprint

Description

@psprint

I'm looking for a guidance for adding local variables support to sh/zsh parsers. They're typically defined with a typeset/declare/local keyword. What is the way of adding this to universal-ctags?

The name of the parser:
Sh/Zsh

The tags output you expect:

A output that has shell variables tagged.

The version of ctags:

$ ctags --version
Universal Ctags 6.0.0(p6.0.20230219.0), Copyright (C) 2015-2022 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Feb 19 2023, 09:38:36
  URL: https://ctags.io/
  Output version: 0.0
  Optional compiled features: +wildcards, +regex, +iconv, +option-directory, +xpath, +packcc, +optscript, +pcre2

How do you get ctags binary:

I'm cloning and autotools building it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions