Coder Social home page Coder Social logo

xushushun / show-comment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linwancen/show-comment

0.0 0.0 0.0 202 KB

在文件树、行末、json显示文档注释,实现中文阅读代码,支持外挂注释用于COBOL等

Home Page: https://plugins.jetbrains.com/plugin/18553-show-comment

License: Mozilla Public License 2.0

Java 98.59% COBOL 1.41%

show-comment's Introduction

Show Comment Plugin

IDEA 智能注释插件

https://plugins.jetbrains.com/plugin/18553-show-comment

Thanks JetBrains Licenses for Open Source.

Notes 说明

English Notes:

  • Show javadoc comments at the Project view Tree structure
  • Show javadoc comments at the end-of-line
  • Show javadoc comments at "xx ClassNameOrSimpleName.json" and jump to field
  • Show comments from External Conf for folder, resources, COBOL etc.
  • Config: settings -> Tools -> // Show Comment Global/Project

External Comment:

  • Reload: Tools -> 🔄 // Reload External Comment
  • path/[any][filename.]ext.tree.tsv // file and folder tree comment 📝 📁
  • path/[any][filename.]ext.key.tsv // line keywords to split and comment
  • path/[any][filename.]ext.doc.tsv // line words comment
  • In path, "doc" can replace any, and can use % like in SQL, effect at previous layer when folder named -1
  • The lines in key.tsv will be concatenated with `|` to regexp; longer str should in front; startWith `?` to exclude
  • Chang tsv file in find pop window would not reload!
  • The tsv conf file must could be search in "Go to File"(Ctrl + Shift + N)

中文说明:

  • 在结构树显示 文档注释
  • 在行末尾显示 文档注释
  • 支持 "xx 类全名或简名.json" 文档注释与跳转到字段
  • 支持 从配置文件获取外部注释用于文件夹、资源、COBOL 等
  • 修改配置:设置 -> 工具 -> // Show Comment Global/Project

外部注释:

  • 重新加载:工具 -> "🔄 // Reload External Comment"
  • path/[any][filename.]ext.tree.tsv // 文件(夹)注释 📝 📁
  • path/[any][filename.]ext.key.tsv // 切割关键字与注释
  • path/[any][filename.]ext.doc.tsv // 词注释
  • key.tsv 的每一行将会用`|`连接起来形成正则表达式,较长的关键字应该放在前面,用 `?` 开头排除
  • doc 文件夹可以替换任何一层文件夹,可以像 SQL 那样用 % 模糊匹配,文件夹名为 -1 时在上一层文件夹生效
  • 在搜索弹出窗中修改 tsv 文件将不会被重加载
  • tsv 配置文件必须能被搜索(Ctrl + Shift + N)

Change Notes 更新说明

English Change Notes:

  • 1.19 Add supper doc at @Override, support doc tag like @author
  • 1.18 Add External Comment effect at previous layer when folder named -1
  • 1.17 Add line-end-comment skip doc text or class/member name by regexp
  • 1.16 Add line-end-comment skip when comments have been added
  • 1.15 Add line-end-comment support COBOL ext '', 'cbl', 'cob', 'cobol'
  • 1.14 Add line-end-comment skip Annotation, skip only English (ASCII)
  • 1.13 Add Copy With Line Comment & Add Line Comment
  • 1.12 ★ External Comment for COBOL etc
  • 1.11 Add json key jump to field
  • 1.10 Add project-view-tree-comment for package from parent or other project
  • 1.9 Add project-view-tree-comment for "xx ClassNameOrSimpleName.json" and SPI file
  • 1.8 ★ line-end-comment for "xx ClassNameOrSimpleName.json"
  • 1.7 Add line-end-comment setting for prefix and count
  • 1.6 Add line-end-comment independent switch for call, new, ref
  • 1.5 Add line-end-comment find next loop when none
  • 1.4 Add line-end-comment find element right to left
  • 1.3 ★ project-view-tree-comment
  • 1.2 Add line-end-comment settings fro class prefix filter
  • 1.1 Add line-end-comment settings for text color

中文更新说明:

  • 1.19 增加 @Override 显示父方法注释,支持 @author 等注释标签
  • 1.18 增加 外部注释 文件夹名为 -1 时配置在上一层文件夹生效
  • 1.17 增加 行末注释 根据正则表达式跳过指定注释文本或类成员名字的注释
  • 1.16 增加 行末注释 已经添加行末注释时跳过
  • 1.15 增加 行末注释 COBOL 拓展名支持 无拓展名、cbl、cob、cobol
  • 1.14 增加 行末注释 忽略注解 与 忽略纯英文
  • 1.13 增加 带行末注释复制 和 添加行末注释
  • 1.12 ★ 外部注释用于 COBOL 等
  • 1.11 增加 json 跳转到字段
  • 1.10 增加 在父包和其他项目的包中获取 项目导航栏注释
  • 1.9 增加 "xx 类全名或简名.json" 和 SPI 项目导航栏注释
  • 1.8 ★ "xx 类全名或简名.json" 行末注释
  • 1.7 增加 行末注释前缀和对象数设置
  • 1.6 增加 行末调用,new,引用注释独立开关
  • 1.5 增加 没有注释时循环查找下一个对象
  • 1.4 增加 从右往左查找行末注释对象
  • 1.3 ★ 项目导航栏注释
  • 1.2 增加 行末注释类前缀配置
  • 1.1 增加 行末文本颜色配置

Demo 示例

See in IDEA with this plugin | 安装插件后用 IDEA 查看

show-comment's People

Contributors

linwancen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.