Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XBRACKETS - bracket MATCHING IN NOTEPAD++

BROUGH67

Programmer
Apr 16, 2025
2
Hello nice people,
my first ever post, so take it easy. :) Thanks in advance.

I found a good bracket matching plugin for NOTEPAD++ called XBRACKETS and installed it. It adds the right bracket as you enter the left. Mostly it does what it says on the tin.

However, there is a bug - if you type the following continuously, you get an unmatched bracket scenario:-
  • YEAR(EDATE()
To be clear what happens: when you type the first left bracket, it puts in the right bracket correctly for YEAR, so you get:-
  • YEAR() with the cursor placed in-between the brackets.
I then proceed to type EDATE and the right-hand bracket is not auto-completed :oops: Instead you get
  • YEAR(EDATE()
The only details for the author i have is from the plugins blurb as below. My question is, how to I use the information below to contact him/her? @d0vgan Vitaliy is a member of tek-tips, but i see no DM option.

Allows autocompletion of brackets ([{""}])
Inserts corresponding right bracket when the left bracket is typed. Uses "smart" autocompletion: * next character is analysed for ([{ brackets; * next & previous characters are analysed for " quote.
Author: Vitaliy Dovgan
Homepage: https://github.com/d0vgan/npp-XBracketsLite
 
DM is called a "conversation".

There's an envelope icon.

But d0vgan hasn't logged on in three years.....
Thanks, now SOLVED !
The problem was solved by ticking a SETTING "add right bracket even if already exists".
 

Part and Inventory Search

Sponsor

Back
Top