DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report

Bracketeer: the Ultimate Bracket Plugin

Erich Styger user avatar by
Erich Styger
·
Jun. 20, 12 · Interview
Like (0)
Save
Tweet
Share
13.68K Views

Join the DZone community and get the full member experience.

Join For Free

if you are like me, then it is easy to miss a bracket or two in my source code. or i have tons of closing brackets at the end of a function, and it is hard to tell which one is which? eclipse comes with basic bracket support: you select/click a bracket, and it helps you to find the closing one. i was pretty happy about that, unless i saw a list of most popular eclipse plugin. one plugin stood out of the masses in the top 10 most popular new eclipse plugins review: bracketeer . that plugin exactly helps me to solve my problem: which bracket is which?

brackets

brackets

it would be really cool to know to which code block each ‘}’ belongs. and bracketeer can do this for me!

installation

to install the plugin, use the menu help > install new software and point the eclipse updater to following site:

http://chookapp.github.com/chookappupdatesite/

bracketeer installation

bracketeer installation

bracketeer comes with support for cdt (c/c++) and jdt (java). just install for what you have installed in your eclipse ide.

features

the plugins installs a new toolbar with 3 functions:

bracketeer toolbar

bracketeer toolbar

  1. it shows matching brackets surrounding the cursor. i simply can place my cursor somewhere in the code, and it shows me the different levels of surrounding brackets in different color:
    show matching cursor brackets

    show matching cursor brackets

  2. it shows matching brackets while hovering over it. similar to the ‘cursor’, but only if hover with the mouse cursor. and it shows just the matching bracket:
    matching brackets with mouse hover

    matching brackets with mouse hover

  3. and this is the coolest thing of all! it shows hints in the editor view:
    bracketeer hints

    bracketeer hints

the really cool thing of the last features is that it does auto-commenting: it shows you the corresponding block condition in the source view, *without* touching the source code.

plus it allows you as well to use a hyperlink to the corresponding block: simply press ctrl and use your mouse to jump to the block other end:

hyperlink with bracketeer

hyperlink with bracketeer

plus it informs me about unpaired/wrong brackets too:

wrong brackets

wrong brackets

cool, eh?

preferences

bracketeer has as well rich settings where you can configure the look and feel of it:

bracketeer preferences

bracketeer preferences

happy bracketeering :-)

Bracket (tournament)

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Testing Level Dynamics: Achieving Confidence From Testing
  • 11 Observability Tools You Should Know
  • Microservices Testing
  • Assessment of Scalability Constraints (and Solutions)

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: