Comments (2)
其实一开始左边一个,后面改成右边一个,2.0增加了get set is两个,再后面干脆直接两个,你有具体的代码场景么,我想看看你要的规则,挖掘下其中的需求。
其实之前有想过再重构成一行全部内容,符号不变,我们工作996还不确定周六周日,最近又被安排去生产查性能问题,接触代码比较少,所以在开源社区活跃度低了些。
from show-comment.
我简单的想法是让用户自己明确是设置显示方法的注释还是参数的注释, 因为如果没有规则的话, 对于使用者来说看起来其实是很乱的
如果存在多个方法和多个参数的这种情况, 那么可以让用户选择到底是开启几个注释
例如
示例1: 一行里面方法有3个, 参数有2个, 用户可以在设置里面设置 开启方法注释, 显示个数为2个, 则只显示最左侧的2个方法的注释
示例2: 一行里面方法有3个, 参数有2个, 用户可以在设置里面设置 开启参数注释, 显示个数为3个, 则只最左侧的3个方法的注释, 如果参数个数小于3个, 则显示对应个数的注释
示例3: 一行里面方法有3个, 参数有2个, 用户可以在设置里面设置 从左到右规则的注释, 显示个数为3个, 则按照从左到右的顺序显示注释, 方法和参数哪个更靠左, 就是显示哪个, 直到显示到设置的个数为止
大体的意思是让用户自己知道显示的注释是从哪里产生的, 不然用户看到注释还要花时间分辨注释是来自哪里的
from show-comment.
Related Issues (20)
- 插件异常,错误如下,idea2023.1.2 HOT 1
- 关于行末显示 HOT 6
- 如果注释全英文就不会显示在文件树中 HOT 2
- 如何设置才能让插件显示行尾注释 HOT 2
- 新UI中无法显示 HOT 2
- 项目模块后面可以支持显示 description 描述信息吗? HOT 2
- 对于python能否支持下默认的多行注释 HOT 7
- 方法头多个参数显示效果 HOT 3
- 模块化项目不显示类注释 HOT 1
- 能不能开发一个适合PyCharm的 HOT 1
- 在JetBrains Rider 2023.2.1版本上,不能正常工作 HOT 3
- 类文件支持注解后内容展示 HOT 3
- 注释排除正则 HOT 1
- 会破坏goland的项目索引 HOT 4
- 增加行注释显示开关 HOT 4
- IntelliJ IDEA 2023.2.5内部错误 HOT 1
- 出现空指针异常,看了下你的代码,没找到CacheUpdateEditorListener文件 HOT 1
- IDEA 2024.1 版本中插件报错无法工作
- 只支持/**/这种形式的注释?不支持// 这种吗? HOT 1
- 可以在Quick Doc(F1)中支持么,主要是为了显示swagger注解、枚举字段
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from show-comment.