How disable create the default comments?

The default comments so verbose.
How disable create the default comments?

Hi Stormer,

I’d be surprised if there was an option to disable the creation of these comments.

I do sometimes wonder how many developers know about ‘selection shortcuts’

For example, if your cursor is at the start of one of those comment lines, and you hold SHIFT + press the ‘End’ key you’ll select the entire line. (Which makes for easy deletion.)

Alternatively, you could press SHIFT + Home if your cursor is at the end of the line.

Hope that helps!

1 Like

I am not aware of any way to disable the boilerplate new-file comments, but a handy Visual Studio “delete line” keyboard shortcut can save time: “Ctrl+L”

1 Like
  1. Locate the comment syntax, typically using // for single-line comments or /* */ for multi-line comments.
  2. Search for or identify any existing default comments in your code.
  3. Remove or replace these default comments with your own custom comments or delete them entirely.
  4. Ensure that your code remains well-documented with relevant comments as needed for clarity and maintainability.
1 Like

Thank you.
In Unity, the code template is a file. I can modify the template, such as delete the default comments.
Maybe UE not working like this. :slight_smile: