Use THIS to Comment Code Like a Boss!

preview_player
Показать описание
#shorts
Рекомендации по теме
Комментарии
Автор

That’s crazy I was literally going through my coding, commenting through my programs and I though to myself “I wish I could change the colors” literally opening YouTube this video is the first video that pops up, thank you so much for reading my mind!

Dhruvrocks
Автор

I may also recommend comment anchors! I’ve been using them for awhile and they’re really nice for when I have an enormous file that I’m trying to reverse engineer. It enables me to make foldable sections so I can also just collapse all but the important stuff when it would be a mess to do so otherwise ^^

_fudgepop
Автор

You can also add your own custom tags in the settings.json!

aarond
Автор

Also consider the extension "ToDo Tree". Works similar but also gives you comprehensions in sidebar for each type

TomSaw_de
Автор

I have used this extension is past. It is good but there is a better alternative which is comments anchor. After using this there is going back. It allows so much customization just like vs code

akashdesarda
Автор

I first started using TODO because there is a Geany IDE plugin that picks those comments up as a task list. It stuck with me ever since.

SoulExpension
Автор

This is NOT the standard way to mark comments.
I have never seen comments like this. The //! or //? also mighter be reserved in some languages: Rust e.g. uses //! for doc comments . The default is to use TODO, FIXME/FIX/ISSUE, HACK etc.

Literally every other plugin uses that syntax.

wumwum
Автор

Nice job explaining it in an easy to understand way :)

mistergecko
Автор

Is that it will become more confusing? On our sub conscious, we can instantly recognize the comments as what ever color set on the theme we choose. If it it's on different colour, it might be we skip that up.

HikaruAkitsuki
Автор

This is one of the extensions I want to use but my brain would never see the comments as I’m used to green haha

AlwaysBolttheBird
Автор

This doesn't seem to work for javascript comments inside a html file. Inside the script tag is not highlighted for example.

DomGolby
Автор

Write less comments and more self explanation code.

punkerts
Автор

That was a good recommendation - thanks

mattw_dev
Автор

Not a good advise. If you are in need of multi colored comments, we know who contributes bad code.

kaiso
Автор

What happens if the code is sent to others 💀 error hell

sampathkumar
Автор

TBF using comments isn't anything like as important as writing code that can be understood without comments. Still, sometimes you need them and that's a nice feature 🙂

jeromewilson
Автор

Brothers that never wrote a single comment in their code, where you at?!

HitBoxMaster