2.0.4-beta • Published 6 months ago

typescript-jsdoctag-completions-plugin v2.0.4-beta

Weekly downloads
11
License
MIT
Repository
github
Last release
6 months ago

GitHub

TypeScript JSDoc Tag Completions Plugin

This plugin provides jsdoc tag completion and completion details. (with document of tag

  • In the Preset API, by defining documentation and syntax for each tag,
    it will be displayed in the completion detail.

How to try?

$ npm install --save-dev typescript typescript-jsdoctag-completions-plugin

next, configure plugin to tsconfig.json.

{
  "compilerOptions": {
    "target": "es2019",
    "module": "esnext",
    "strict": true,
    // In TypeScript 5.x, compilerOptions/locale was removed,
    // so Moved locale to plugin settings.
    // however, for older versions of ts,
    // this value is still referenced as before from this plugin.
    // "locale": "ja",
    "plugins": [
      {
        "name": "typescript-jsdoctag-completions-plugin",
        // Plugin specific configuration
        // builtin preset is "default" and "closure".
        // If you want to use a jsdoc tag preset that you have defined yourself based on the preset API,
        // specify the path of that module.
        "preset": "closure",
        "verbose": true,     // enable/disable plugin logging
        // plugin refers to the value of `@compilerOptions/plugins[@name=typescript-jsdoctag-completions-plugin]/locale`
        // If not set, use the OS locale
        "locale": "ja"
      }
    ]
  }
}

then launch Visula Studio Code, etc

About JSDoc Tag Preset

  • plugin builtin
Preset nameDetails
defaultTypeScript builtin JSDoc Tags with Inline JSDoc Tags
closureClosure Compiler JSDoc Tags
  • external defined preset

    • To create your own preset, implement TJSDocTagRawPreset as defined in preset-api.d.ts

Locale priority

License

This project is licensed under the MIT License - see the LICENSE file for details

2.0.4-beta

6 months ago

2.0.2-beta

7 months ago

2.0.0-beta

7 months ago

2.0.1-beta

7 months ago

1.7.1-beta

7 months ago

1.6.1-beta

7 months ago

1.7.0-beta

7 months ago

1.6.0-beta

7 months ago

1.5.1-beta

2 years ago

1.4.4-beta

2 years ago

1.5.0-beta

2 years ago

1.4.3-beta

2 years ago

1.4.1-beta

2 years ago

1.4.2-beta

2 years ago

1.4.0-beta

2 years ago

1.3.2-beta

4 years ago

1.3.1-beta

4 years ago

1.3.0-beta

4 years ago

1.1.2-beta

4 years ago

1.1.1-beta

4 years ago

1.1.0-beta

4 years ago

1.0.2-beta

4 years ago

1.0.0-beta

4 years ago