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

Clojure has a special meaning for single quote #9

Open
ClashTheBunny opened this issue Oct 6, 2014 · 5 comments
Open

Clojure has a special meaning for single quote #9

ClashTheBunny opened this issue Oct 6, 2014 · 5 comments
Assignees
Labels

Comments

@ClashTheBunny
Copy link

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.

@ClashTheBunny
Copy link
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.

@kevinsawicki
Copy link
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

@50Wliu
Copy link
Contributor

50Wliu commented Jan 11, 2017

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

@50Wliu 50Wliu self-assigned this Jan 11, 2017
@renanmzmendes
Copy link

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

@50Wliu
Copy link
Contributor

50Wliu commented Aug 2, 2017

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants