Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brackets completion plugin - feature request #660

Open
nicoursi opened this issue Oct 21, 2024 · 0 comments
Open

Brackets completion plugin - feature request #660

nicoursi opened this issue Oct 21, 2024 · 0 comments

Comments

@nicoursi
Copy link

 * Xed version (3.4.3)
 * Distribution - (Mint 21.2)

Issue
The brackets completion plugin is nice but sometimes it gets in the way. For example, if I decide to wrap some existing text in brackets, I will get () as soon as I type ( and then I will have to delete ) and type it again at the end of the block. I suggest to apply brackets to a selection:

  • Select the text,
  • type (
  • get the following result: (selected text)

Steps to reproduce
Existing line of code:
if pkt[TCP].flags=="A":
Type an open bracket after the if statement:
if (pkt[TCP].flags=="A":

Expected behaviour
if (pkt[TCP].flags=="A":

What really happens
if ()pkt[TCP].flags=="A":

Suggestion

  1. select some text
  2. type an open bracket (
  3. get the following result: (selected text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant