YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Feather JSDoc multi-line @ignore #2824

Open PvtSanchez opened 1 year ago

PvtSanchez commented 1 year ago

Is your feature request related to a problem?

If you want to hide variables or methods of a constructor from feathers auto-complete because your coding style treats them as private, the comment ///@ignore is the best way for me. However if your constructer contains a lot of these variables or methods, you have to clutter the code with a lot of these comments.

Describe the solution you'd like

A start and end comment for the ///@ignore functionality would be extremely powerfull and could look like this:

///@ignore start

code

///@ignore end

Describe alternatives you've considered

An alternative would be to bind the ///@ignore to whole regions, like the following:

///@ignore

#region

code

#endregion

Additional context

ignore sample

Totobal5 commented 1 year ago

i would love that /// @ignore start and /// ignore end were added to Feather !