Bracketeer icon indicating copy to clipboard operation
Bracketeer copied to clipboard

Does this work with square brackets?

Open george-ly-investec opened this issue 2 years ago • 8 comments

george-ly-investec avatar Oct 17 '22 12:10 george-ly-investec

Can you provide more info? Generally speaking yes, depends on what language you use.

Pustelto avatar Oct 25 '22 13:10 Pustelto

Hi Tomas, thanks for the reply, I’m using Transact-SQL (MS SQL Server). I can’t seem to find the command to remove square brackets [ ]

Cheers George

From: Tomas Pustelnik @.> Sent: 25 October 2022 14:06 To: Pustelto/Bracketeer @.> Cc: George Ly @.>; Author @.> Subject: Re: [Pustelto/Bracketeer] Does this work with square brackets? (Issue #65)

@.***

Can you provide more info? Generally speaking yes, depends on what language you use.

— Reply to this email directly, view it on GitHubhttps://github.com/Pustelto/Bracketeer/issues/65#issuecomment-1290522610, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2H6OTARD3DZCX64SCW53ZLWE7LLVANCNFSM6AAAAAARG74444. You are receiving this because you authored the thread.Message ID: @.@.>> Investec Bank plc recognises and respects the privacy and data protection rights of individuals. For details on how we use personal data, please refer to our Data Protection Notice: http://www.investec.com/cib-dataprotection. If you have provided personal data on behalf of someone else, please refer them to this same notice.

Investec Bank plc is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority. Registered in England and Wales (No. 489604). Registered office at 30 Gresham St, London EC2V 7QP.

Investec Asset Finance plc is authorised and regulated by the Financial Conduct Authority for credit-related regulated activities (including hiring). Registered office at Reading International Business Park, Reading, RG2 6AA. Registered in England Number 2179313. We may monitor e-mail traffic data and the content of email. Calls may be monitored and recorded.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This e-mail is subject to terms available at the following link: www.investec.co.uk/emaildisclaimer. By communicating electronically with us, you consent to these terms.

george-ly-investec avatar Oct 26 '22 08:10 george-ly-investec

Thanks for the info, can you please send me some code snippet where this should work? What is the recognized file type in VS Code (usually seen in bottom right corned of the editor - like TypeScript React in the picture) image

Pustelto avatar Dec 08 '22 14:12 Pustelto

just adding to this thread that bracketeer doesn't seem to catch [ ] ( ) for removal, or replacement. It seems to be fine with {} and quotes. Thanks

Hifilo avatar Feb 17 '23 19:02 Hifilo

just adding to this thread that bracketeer doesn't seem to catch [ ] ( ) for removal, or replacement. It seems to be fine with {} and quotes. Thanks

@Hifilo could you please share more details about your issue? What language are you talking about?

Pustelto avatar Feb 25 '23 20:02 Pustelto

This actually works for me now in Azure Data Studio and SQL. I changed the default key binding from ctrl+shift+alt+I to ctrl+alt+[

george-ly-investec avatar Feb 27 '23 09:02 george-ly-investec

just adding to this thread that bracketeer doesn't seem to catch [ ] ( ) for removal, or replacement. It seems to be fine with {} and quotes. Thanks

@Hifilo could you please share more details about your issue? What language are you talking about?

In JS. I don't think it was a hotkey conflict on my end. It seems to be functioning properly though, which is great. Thanks!

Hifilo avatar Feb 28 '23 13:02 Hifilo

@Pustelto I've just come across this not working in a markdown file. I mistakenly typed the hyperlink syntax backwards, parentheses then square brackets, when it should be square brackets then parentheses. Tried swapping brackets and I kept getting "No brackets to modify found."

Screenshot with my file type, Markdown, as well as the section of code I'm attempting this within.
image

I noticed you listed HTML as to-do, and my section of the markdown is within HTML tags, <details>. So I tried making brackets between HTML tags in my markdown file and it still failed to find any brackets to modify. Not sure if there has to be zero HTML or if the limitations of Bracketeer are purely the angled brackets.

Hope this helps you figure out the issue. Love your extension, I use it all the time!

swirle13 avatar Jun 13 '24 23:06 swirle13