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

An option to disable double quotation auto insertion #4543

Closed
1 task done
iamvoidcoder opened this issue Aug 10, 2023 · 3 comments
Closed
1 task done

An option to disable double quotation auto insertion #4543

iamvoidcoder opened this issue Aug 10, 2023 · 3 comments
Labels
editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] setting Feedback for preferences, configuration, etc

Comments

@iamvoidcoder
Copy link

Check for existing issues

  • Completed

Describe the feature

Can an option to disable double quotation auto insertion be added please? Not many editors have this on by default and if they do there is always a way to turn it off. Don't think there is a way to disable this in the current build. At least I wan't able to find anything relevant in the config file nor any info in discussions.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@iamvoidcoder iamvoidcoder added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Aug 10, 2023
@iamvoidcoder
Copy link
Author

iamvoidcoder commented Aug 11, 2023

Actually this appears to be buffer language specific. For some languages it includes more matching pair auto insertions than others. E.g. Plain Text appears to have none where as C, C++, JS will insert closing pairs for ' ', " ", ( ), [ ], { }.

Which potentially means the relevant setting may already exist given that it is enabled per language in the current build. Any ideas anyone please? Driving me nuts having to constantly fight the unwanted auto insertions :(

"languages": {
    "LanguageName": {
          "??? auto_closing_  brackets / quotes / whatever ??? " : false
    },
} 

@JosephTLyons JosephTLyons added editor Feedback for code editing, formatting, editor iterations, etc setting Feedback for preferences, configuration, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Aug 13, 2023
@JosephTLyons
Copy link
Contributor

Thanks for the feature request @iamvoidcoder -I dont think we have a setting for this at the moment, but it makes sense that we would add something like this.

ConradIrwin referenced this issue Jan 21, 2024
Release Notes:

- Channels: Improved font sizes in chat
- Channels: Added a link preview when hovering over links in chat
- Channels: Fixed rendering of newlines in chat messages
- Added a new setting "use_autoclose" (defaulting to true) that lets you
disable autoclose per language.
([#1420](https://github.com/zed-industries/community/issues/1420))
([#1903](https://github.com/zed-industries/community/issues/1903))
@JosephTLyons
Copy link
Contributor

This should be shipped in v0.119.16-pre.

@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] setting Feedback for preferences, configuration, etc
Projects
None yet
Development

No branches or pull requests

2 participants