Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Clojure has a special meaning for single quote #9

Open

Description

@ClashTheBunny

A single quote should not be duplicated in clojure. It's used as shorthand for "(quote". It's very annoying to be programming away and have to delete a bunch of single quotes. It doesn't even give that great of a syntax error, because it is often interpreted as a correct first quote.

Activity

  1. ClashTheBunny commented on Oct 6, 2014

    @ClashTheBunny
    Author

    Here's the section in Clojure for the Brave and True:

    Notice that Clojure only allows double quotes to delineate strings. 'Lord Voldemort', for example, is not a valid string.

  2. kevinsawicki commented on Oct 6, 2014

    @kevinsawicki
    Contributor

    This behavior is actually provided by the https://github.com/atom/bracket-matcher package so if you want to disable it, you can disable it by unchecking Autocomplete brackets from the settings view for now until the behavior is fixed there.

    screen shot 2014-10-06 at 9 26 26 am

  3. winstliu commented on Jan 11, 2017

    @winstliu
    Contributor

    No longer blocked. Just needs a change in the settings file now.

  4. self-assigned this
    on Jan 11, 2017
  5. renanmzmendes commented on Jul 30, 2017

    @renanmzmendes

    @50Wliu what's the status on this feature/correction?

  6. winstliu commented on Aug 2, 2017

    @winstliu
    Contributor

    Turns out in order to change there's no way to selectively remove a single character from the default settings. Which means in order for this to be fixed the default settings need to be copied over, but without the '. This is fine for people who haven't modified the default autocompletion characters, but for people who have, their settings won't take effect when editing Clojure files.

    I haven't figured out yet how to preserve the balance between fixing this and attempting not to disrupt unrelated pair completions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions