正在加载视频...

视频加载失败

I built a tiny IntelliJ IDEA plugin for something that had been bothering me for years

51,279 次观看 • 7 个月前 •via X (Twitter)

18 条评论

Stress and pressure 的头像
Stress and pressure7 个月前

try multi-line comments via /** + Enter

Brennan 的头像
Brennan7 个月前

If you use three /// it'll automatically add new lines when you hit enter

saket 的头像
saket7 个月前

Ah yeah, I keep forgetting about three slashes. Does anyone even use them though?

Brennan 的头像
Brennan7 个月前

I use them all the time

Test Place 的头像
Test Place7 个月前

Zed does this by default 👀

VincentFree 的头像
VincentFree7 个月前

Eh that's what multi line comments are for right? I'm guessing that's why it didn't exist 😅

copperpixel 的头像
copperpixel7 个月前

JetBrains really doesn't have this built-in?

bim 的头像
bim7 个月前

this problem was solved before single line comments were created. they were called comments back then. now people call them multi-line comments

Gwented 的头像
Gwented7 个月前

Lazyvim (btw) does this by default

Jesús Sánchez 的头像
Jesús Sánchez7 个月前

Really good 💪🏻

Sarath 🟨 的头像
Sarath 🟨7 个月前

awesome plugin, will be using this 👏

Marcel B. 的头像
Marcel B.7 个月前

Nice to see a dedicated solution for comment continuation. Does the plugin infer the comment token from the file type, or is it hard‑coded for Java/Kotlin? Would love to see it handle block comments too. 🤔

saket 的头像
saket7 个月前

It is currently hardcoded to support .kt and .java files only: Feature requests and contributions are welcome!

John Doe Jr. 🇵🇸 🇺🇦➐ 的头像
John Doe Jr. 🇵🇸 🇺🇦➐7 个月前

vscode does this bz default

💻 CPU - Optimized for nothing 的头像
💻 CPU - Optimized for nothing7 个月前

Excellent demonstration. The fact is that any self-respecting IDE has this kind of feature natively. So...

sleepy mexican 的头像
sleepy mexican7 个月前

Just use the three slashes or multiline dude

saket 的头像
saket7 个月前

but who even uses three slashes

sleepy mexican 的头像
sleepy mexican7 个月前

If you don't like it there's always /**/ like in any other sane language

相关视频