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 269016 - Syntax highlighter - add new categories
Summary: Syntax highlighter - add new categories
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks: 268656
  Show dependency tree
 
Reported: 2016-11-17 12:47 UTC by Alexander Simon
Modified: 2016-12-08 11:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2016-11-17 12:47:16 UTC
Extend code parser/highlighter to recognize not only typedefs, but all classes/struct/enums as user types. Just like VisualStudio2015 do. Also eclipe acts like this, making the code look very nice. vector<char*>::iterator looks more friendly :) In fact, I'm using typedefs only to improve code syntax in NB, which is basically wrong technique and should be avoided.

Last proposal is to add highlighting enumerators - new category in highlighter. This is also becoming more common in another IDE's.
Comment 1 Alexander Simon 2016-11-17 12:50:28 UTC
fixed in enum, branch release82, change set ab5a522d9510
Comment 2 soldatov 2016-12-08 11:19:54 UTC
Verified in internal NetBeans 8,2 patch 1 build.