This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252096 - Group & Colorize Methods based on purpose or security level via phpdoc
Summary: Group & Colorize Methods based on purpose or security level via phpdoc
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-26 09:50 UTC by llmll
Modified: 2015-04-26 09:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description llmll 2015-04-26 09:50:20 UTC
Something I would really like to see in any IDE is a means to group & colorize methods in a class. 

When coding, people work visually, therfore using indentation and other ways to structure code. So another enhancement would be an option to tag a method as security relevant - because it is handling user inputs - thus painting it red. Database methods could get a simple annotation and be painted in a different color. The method group - color map could be configured in the IDE options.

// @group:database
public function SaveObject() { ... }

This would also effect the Navigator View. Methods would get the same color there as in code, so programmers can even faster spot the right methods. Besides alphabetically sorting the methods, the Navigator should allow to sort methods by their group.