Source Danmaku
Source Danmaku is an IDE plugin for you share your experience with the community by adding Danmaku(comment).
It's inspired by bilibili, niconico and qidian.
Features
- Register and login
- Profile and avatar
- Add Danmaku to specified line of codes
- Danmaku will be shown for the specified line of codes even the line number is changed
- Show Danmaku count beside line number
- Show Danmaku count beside the file name in project view
- Like/Unlike Danmaku
- Hover to see the tooltip of the top like Danmaku
- Danmaku for file or folder
- Rank (Rank Repository By Danmaku, Rank Repository By Like, Rank User By Danmaku, Rank User By Like)
- Support git repository, e.g. GitHub, BitBucket and GitLab
- Compatible with all JetBrains IDE, e.g. IntelliJ IDEA, Android Studio, Pycharm and Rider
- Compatible with Visual Studio Code
- Support for Danmaku markdown and math rendering
- On-premise support
Roadmap
- Chatroom for Git repository(We already have Gitter, evaluating)
- Support for more IDEs
Usage
Introduction and Setup
https://youtu.be/75IU9zdDsyk
JetBrains IDE
- Right click on the line number, select "Show Danmaku"(2019.x) or "Annotate"(2020+) to show the danmaku view of the current file
- Toggle the "Show Danmaku"(2019.x) or "Annotate"(2020+) to refresh the danmaku view of the current file
- Right click on the file or folder, select "Refresh Project View" to refresh the danmaku count of the file or folder
- The "Show File Danmakus" menu is in Tools group of the context menu for Rider, and also the danmaku count will only be shown in the Solution(2019+), File System(2020+), Unity(2020.1.2+) view
- Right click on the file or folder, select "Show File Danmaku Info" to show all the file or folder containing danmakus
- Right click on the file or folder, select "Show File Danmakus" to show the danmakus of the file or folder
- Right click on the file, select "Deep Refresh" to deep refresh(for the file rename)
- Right click on the file, select "Clear Deep Refresh" to clear the deep refresh cache
Visual Studio Code
- Press Ctrl + Shift + P, "Source Danmaku: Toggle" command to toggle the danmaku view of the current file
- Press Ctrl + Shift + P, "Source Danmaku: Refresh" command to refresh the danmaku view of the current file
- Press Ctrl + Shift + P, "Source Danmaku: Refresh Danmaku Explorer" to reresh the Danmaku Explorer which shows the danmaku count of the file or folder
- Right click on the file or folder, select "Show File Danmaku Info" to show all the file or folder containing danmakus
- Right click on the file or folder, select "Show File Danmakus" to show the danmakus of the file or folder
- Right click on the file, select "Deep Refresh" to deep refresh(for the file rename)
- Right click on the file, select "Clear Deep Refresh" to clear the deep refresh cache
Download (2020/6/14)
JetBrains IDE plugin repository(in case that you can't connect to the official plugin repository, use 1st for the IDEs except Rider, use 2nd for Rider):
http://source.kaiba.net/rest/idea/updatePlugins-idea.xml
http://source.kaiba.net/rest/idea/updatePlugins-rider.xml
JetBrains IDE:
https://plugins.jetbrains.com/plugin/index?xmlId=net.kaiba.source
Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=Kaiba.source
Author
Frontend:♂海馬|瀬人 (海馬瀬人/Seto Kaiba,version 2), ♂AI|fish (SugarCookie,version 1), BO (version 0)
Backend & IDE:♂海馬|瀬人 (海馬瀬人/Seto Kaiba)
Contact: seto@kaiba.net
Feedback: https://github.com/SetoKaiba/SourceDanmakuBugFeedback/issues
Integration
Allow to integrate in any custom IDE
License
Free to use
Powered by
Server: quarkus.io
Client: JetBrains IDE plugin, Visual Studio Code extension
源码弹幕(Source Danmaku)
源码弹幕一个IDE插件,通过发弹幕(注释)你可以与社区分享你的经验。
它受到bilibili、niconico和起点的启发。
功能
- 注册与登录
- 资料与头像
- 添加弹幕到指定的代码行
- 哪怕行数变了,弹幕还是会显示在指定的代码行
- 在行号旁边显示弹幕数量
- 在Project View的文件名旁边显示弹幕数量
- 喜欢或取消喜欢弹幕
- 悬浮可以看到最高赞的弹幕
- 文件、目录的弹幕
- 排行榜(源码库弹幕数排行、源码库喜欢数排行、用户弹幕数排行、用户喜欢数排行)
- 支持Git库,比如GitHub、BitBucket和GitLab
- 兼容所有JetBrains的IDE,比如说IntelliJ IDEA、Android Studio、Pycharm和Rider
- 兼容Visual Studio Code
- 支持弹幕markdown和数学渲染
- 支持内部部署
路线图
- 针对Git库的聊天室(我们已经有Gitter了,评估一下)
- 更多IDE的支持
用法
介绍与安装
https://www.bilibili.com/video/av88081267
JetBrains IDE
- 在行数数字右键选择"Show Danmaku"(2019.x)或者"Annotate"(2020+)显示当前文件的弹幕视图
- 开关"Show Danmaku"(2019.x)或者"Annotate"(2020+)刷新当前文件的弹幕视图
- 在文件或者文件夹右键,选择"Refresh Project View"刷新文件或者文件夹的弹幕数
- Rider的Show File Danmakus在右键菜单的Tools分组里,并且只有Solution(2019+), File System(2020+)视图会有文件或者文件夹的弹幕数显示
- 在文件或者文件夹右键,选择"Show File Danmakus"显示文件或者文件夹的弹幕
- 在文件或者文件夹右键,选择"Show File Danmaku Info"显示所有带有弹幕的文件或者文件夹的弹幕
- 在文件右键,选择"Deep Refresh"深度刷新(针对文件改名)
- 在文件右键,选择"Clear Deep Refresh"清空深度刷新的缓存
Visual Studio Code
- 按Ctrl + Shift + P, "Source Danmaku: Toggle"命令开关当前文件的弹幕显示
- 按Ctrl + Shift + P, "Source Danmaku: Refresh"命令刷新当前文件的弹幕显示
- 按Ctrl + Shift + P, "Source Danmaku: Refresh Danmaku Explorer"刷新显示文件或者文件夹弹幕数的Danmaku Explorer
- 在文件或者文件夹右键,选择"Show File Danmakus"显示文件或者文件夹的弹幕
- 在文件或者文件夹右键,选择"Show File Danmaku Info"显示所有带有弹幕的文件或者文件夹的弹幕
- 在文件右键,选择"Deep Refresh"深度刷新(针对文件改名)
- 在文件右键,选择"Clear Deep Refresh"清空深度刷新的缓存
下载 (2020/6/14)
JetBrains IDE plugin repository(假如你连不上官方插件库, Rider以外的用第一个,Rider用第二个):
http://source.kaiba.net/rest/idea/updatePlugins-idea.xml
http://source.kaiba.net/rest/idea/updatePlugins-rider.xml
JetBrains IDE:
https://plugins.jetbrains.com/plugin/index?xmlId=net.kaiba.source
Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=Kaiba.source
作者
前端:♂海馬|瀬人 (海馬瀬人/Seto Kaiba,version 2), ♂AI|fish (SugarCookie,version 1), BO (version 0)
后端以及IDE:♂海馬|瀬人 (海馬瀬人/Seto Kaiba)
联系方式: seto@kaiba.net
问题反馈: https://github.com/SetoKaiba/SourceDanmakuBugFeedback/issues
整合
允许整合到任何自定的IDE
授权
免费使用
赋能
Server: quarkus.io
Client: JetBrains IDE plugin, Visual Studio Code extension