# Allow using spaces in object name during linking with @

**URL:** <https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373>\
**Category:** Implemented\
**Tags:** Editor-or-Blocks, Desktop, Search, Links\
**Created:** [February 18, 2023, 12:16pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373 "2023-02-18T12:16:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzshch](https://community.anytype.io/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@dzshch](https://community.anytype.io/u/dzshch)\
**Post date:** [February 18, 2023, 12:16pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/1 "2023-02-18T12:16:57Z")

</div>

#### WHAT DO YOU RECOMMEND

Currently when I try to link an object with @, I can’t use spaces in the search string. When I hit space the search window closes.  
I would like to be able to write spaces in the name.

#### HOW COULD IT BE DONE

Don’t close the search window on space press.

#### REAL WORLD USE CASES

I have many objects with the similar name like “How to …” and it’s very complicated for me link them with @ because I could only type “How” and have to scroll huge list of objects to find what I need which takes a lot of time.

#### RECOMMENDED ALTERNATIVES

Search object manually by scrolling the list of options.

#### ADDITIONAL CONTEXT

I think it would be enough to close the search window by pressing either ESC or Enter keys.

---

<div class="post-metadata">

**Author:** ![ignatovv](https://community.anytype.io/user_avatar/community.anytype.io/ignatovv/32/10060_2.png) [@ignatovv](https://community.anytype.io/u/ignatovv)\
**Post date:** [February 20, 2023, 9:48am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/2 "2023-02-20T09:48:35Z")

</div>

Great one 🕶

---

<div class="post-metadata">

**Author:** ![Angelo](https://community.anytype.io/user_avatar/community.anytype.io/angelo/32/9996_2.png) [@Angelo](https://community.anytype.io/u/Angelo)\
**Post date:** [February 20, 2023, 12:09pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/3 "2023-02-20T12:09:22Z")

</div>

This was touched on before, but was thought to be a bug until confirmed otherwise by a dev: [Spaces after "@" when creating new objects](https://community.anytype.io/t/spaces-after-when-creating-new-objects/8105)

A similar issue is discussed here: [New update is broken or feature removed - creating new note in a note using @](https://community.anytype.io/t/new-update-is-broken-or-feature-removed-creating-new-note-in-a-note-using/8147)

To consolidate the topics a bit, I will add here @sambouwer’s suggestions:

> [@sambouwer](#):
>
> maybe we can move this topic back to the feature requests as Razor indicates the current state is how it is intended to work.
> 
> Anytype obviously needs to know when you are done with typing the name of your new Object, and when you want to continue writing your text. I would suggest something like:
> 
> 1. User starts typing normal text
> 2. User types “@” to start inline Object mention
> 3. Anytype shows the dropdown menu with recent Objects which allows the user to quickly select any recent Objects using the down arrow and Enter/Return key to confirm (tbd which Objects are most relevant to show. Maybe last created or accessed, most often opened, favorites?). The first option should automatically be selected.
> 4. User can continue to type normally
> 5. Alternatively, the user starts typing text after the “@”, which filters the dropdown to show relevant Objects only. At the top there should be an option to create a new Object (which is now at the bottom…). Typing a space does not close the menu.
> 6. The user either uses the arrow keys to select an existing Object or create a new Object, OR cancels with ESC (this is already possible).
> 
> Summarized, I think it will only require the menu not to close when a space is typed to allow the user to type spaces in "@"mentions.
> 
> For bonus to let users continue their typing flow:
> 
> 1. Automatically select the first/top option in the menu
> 2. Show the “create new Object” at the top (meaning: arrow Up to select) \> This might be a personal preference, but I rather have this than having the “create new Object” always selected as default)

Thanks for making it a request @dzshch 🙏

---

<div class="post-metadata">

**Author:** ![Filip](https://community.anytype.io/user_avatar/community.anytype.io/filip/32/22248_2.png) [@Filip](https://community.anytype.io/u/Filip)\
**Post date:** [May 31, 2023, 7:44pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/4 "2023-05-31T19:44:19Z")

</div>

Just to add to what @sambouwer is describing in the linked post above, in Tana it works pretty much like how they described it.  
The mention dialogue only goes away if you choose a node, create a new node or press Esc. Clicking Ctrl + Enter while in the dialogue chooses the top option, so you’re able to continue writing easily.

---

<div class="post-metadata">

**Author:** ![sofalakatino](https://community.anytype.io/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sofalakatino](https://community.anytype.io/u/sofalakatino)\
**Post date:** [July 17, 2023, 10:56am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/5 "2023-07-17T10:56:41Z")

</div>

#### WHAT DO YOU RECOMMEND

I find myself creating a lot of new objects within an existing text using @, and it’s almost always a pain if more than a single word is needed for the title.

#### HOW COULD IT BE DONE

Mouse-using users could simply select the text and pick from the menu “create new object from selected text”. Keyboard users could create a link between two @ signs (like \* works for bold and hyphen).

It can also be done that selecting text afte a @ will bring an overlay offering to create an object from it, or that simpily the drop-down menu when pasting after a @ will have the option to create an object at the top rather than the very bottom.

#### REAL WORLD USE CASES

When editing an existing text I often want to create new objects that stem from it or relate to it, but still don’t have an existing object. Say, I copied into Anytype a long text about medical condition X, which is related to condition Y. Condition Y doesn’t have a page yet, so I want to create the page and have them linked. Given that most have more than one word in them, it’s a constant issue.

#### RECOMMENDED ALTERNATIVES

Presently, when I type @ it opens a drop-down with all objects I have (files first, latest added first). I need to start to type, and only then I get the option to create a new object, but the title is limited to a single word. So sometimes I find myself typing and hyphenating to get a multi-word title, then open it, correct it, and go back.

The alternative route I take is to select the title of the new object in the text I’m editing, cut it, write @ and then paste. This opens a drop-down of existing objects where I need to scroll down all the way to the bottom to create a new object.

---

<div class="post-metadata">

**Author:** ![sofalakatino](https://community.anytype.io/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sofalakatino](https://community.anytype.io/u/sofalakatino)\
**Post date:** [July 17, 2023, 2:24pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/6 "2023-07-17T14:24:20Z")

</div>

My input was moved here, though it only overlaps in part. Sure, I also noted how a space breaks the creation of a new object when using @, but that’s not actually what I wanted to request.

To reiterate in brief, I want to be able to select existing text and turn in into the title of a new object, either by keyboard (with two @@ signs at the ends) or from the mouse menu that opens upon selection.

---

<div class="post-metadata">

**Author:** ![Filip](https://community.anytype.io/user_avatar/community.anytype.io/filip/32/22248_2.png) [@Filip](https://community.anytype.io/u/Filip)\
**Post date:** [July 17, 2023, 3:15pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/7 "2023-07-17T15:15:22Z")

</div>

> [@sofalakatino](#):
>
> Mouse-using users could simply select the text and pick from the menu “create new object from selected text”. Keyboard users could create a link between two @ signs (like \* works for bold and hyphen).
> 
> It can also be done that selecting text afte a @ will bring an overlay offering to create an object from it, or that simpily the drop-down menu when pasting after a @ will have the option to create an object at the top rather than the very bottom.

Do you mind creating a new FR with only this part in mind? The rest of it seems to be related mostly to this issue, hence the merge.

---

<div class="post-metadata">

**Author:** ![sofalakatino](https://community.anytype.io/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sofalakatino](https://community.anytype.io/u/sofalakatino)\
**Post date:** [July 17, 2023, 3:42pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/8 "2023-07-17T15:42:36Z")

</div>

I wasn’t responsible for the merge. But now that it was done, I hope having several related issues lumped together will help increase the vote count, nudging dev to prioritize.

---

<div class="post-metadata">

**Author:** ![Filip](https://community.anytype.io/user_avatar/community.anytype.io/filip/32/22248_2.png) [@Filip](https://community.anytype.io/u/Filip)\
**Post date:** [July 17, 2023, 4:35pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/9 "2023-07-17T16:35:20Z")

</div>

This topic is only about removing the one word limit when using @. The two other things you mentioned (creating new objects with the mouse, and with the @ symbols on each end) will need another FR if you want them to be implemented.

---

<div class="post-metadata">

**Author:** ![sofalakatino](https://community.anytype.io/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sofalakatino](https://community.anytype.io/u/sofalakatino)\
**Post date:** [July 17, 2023, 5:42pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/10 "2023-07-17T17:42:58Z")

</div>

I’m not encouraged to propose features if those suggestions are then arbitrarily moved around resulting in making me work twice. I guess it’s a cultural thing.

---

<div class="post-metadata">

**Author:** ![milindpadia](https://community.anytype.io/letter_avatar_proxy/v4/letter/m/47e85d/32.png) [@milindpadia](https://community.anytype.io/u/milindpadia)\
**Post date:** [July 19, 2023, 6:30pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/11 "2023-07-19T18:30:02Z")

</div>

I would too love to see this feature (implemented) or bug (fixed).

---

<div class="post-metadata">

**Author:** ![langtind](https://community.anytype.io/user_avatar/community.anytype.io/langtind/32/10775_2.png) [@langtind](https://community.anytype.io/u/langtind)\
**Post date:** [August 15, 2023, 9:11am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/12 "2023-08-15T09:11:39Z")

</div>

I would love to see this feature implemented soon. I’m affected by this missing feature multiple times every day.  
 ![CleanShot 2023-08-15 at 11.00.51](https://community-static.anytype.io/original/2X/9/9fef31cac6661506396f5387f1d9d1d98fb71d90.png)

---

<div class="post-metadata">

**Author:** ![Hexara](https://community.anytype.io/user_avatar/community.anytype.io/hexara/32/27040_2.png) [@Hexara](https://community.anytype.io/u/Hexara)\
**Post date:** [December 19, 2023, 10:06pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/13 "2023-12-19T22:06:48Z")

</div>

**WHAT IS THE BUG**  
Example: A file is called “Lorem Ipsum”, if I try to link it using @, I type it until reaching @Lorem, if I press the space button to add “Ipsum”, the suggestion box closes.

**HOW TO REPRODUCE IT**

1. Try to mention a file with its name longer than a one word
2. The first word will be typed normally, the second one closes the suggestion box

**ADDITIONAL CONTEXT**  
It happens with mentioning already existing files or trying to create new files

**SYSTEM INFORMATION**

- **Device:**  
PC / Laptop

- **OS:**  
Windows 10 / Ubuntu 22.04

- **Anytype Version:**  
v.0.36.0

- **Technical Information:**  
Device: DESKTOP-8VFVMAU  
OS version: win32 x64 10.0.19045  
App version: 0.36.0  
Build number: build on 2023-11-20 20:38:18 +0000 UTC from at #df0868e687be6aa9ffd9d3f5bf4c550ab6e43d5a(v0.29.16)  
Library version: v0.29.16  
Account ID: A8DMi22aG2JeS6SqxmXaBUJ6e8wMUq18HuXkXtKHNg1GaCcd  
Analytics ID: db3c2a07-1014-46a9-93a4-738acd080829  
Device ID: A8mVmDNRe13uNRry88NDYhb5vTqEp7eYGczi8uXaszpG86th

---

<div class="post-metadata">

**Author:** ![xxiicarus](https://community.anytype.io/user_avatar/community.anytype.io/xxiicarus/32/11698_2.png) [@xxiicarus](https://community.anytype.io/u/xxiicarus)\
**Post date:** [December 20, 2023, 12:59am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/14 "2023-12-20T00:59:35Z")

</div>

Yeah this is basically this other post

[Allow using spaces in object name during linking with @](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373)

I also find it really annoying

---

<div class="post-metadata">

**Author:** ![Hexara](https://community.anytype.io/user_avatar/community.anytype.io/hexara/32/27040_2.png) [@Hexara](https://community.anytype.io/u/Hexara)\
**Post date:** [December 20, 2023, 1:00am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/15 "2023-12-20T01:00:45Z")

</div>

I didn’t expect it to be a feature request, didn’t search there to be honest 😕

---

<div class="post-metadata">

**Author:** ![xxiicarus](https://community.anytype.io/user_avatar/community.anytype.io/xxiicarus/32/11698_2.png) [@xxiicarus](https://community.anytype.io/u/xxiicarus)\
**Post date:** [December 20, 2023, 1:02am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/16 "2023-12-20T01:02:32Z")

</div>

To be honest it could be considered a bug, because “@” is kind of a shortcut for the linking option with “/”. So I agree with you 😂

---

<div class="post-metadata">

**Author:** ![Tin](https://community.anytype.io/user_avatar/community.anytype.io/tin/32/12664_2.png) [@Tin](https://community.anytype.io/u/Tin)\
**Post date:** [December 20, 2023, 4:03am UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/17 "2023-12-20T04:03:15Z")

</div>

YES!!! I find this annoying as well. Usually I don’t create a new object with just a single-word title. Not to mention, when there are lots of objects created in my Space, it’s hard to find the one (or create one) I need if I can only type ONE word after @.

**Add in to this use of ‘@’ behavior:**  
_CURRENT BEHAVIOR:_ Press @ → Use mouse OR press down-arrow ↓ to choose an object from the list.  
_EXPECTED:_ I want to use **TAB key** to choose the object in the list, then **Enter** to confirm it appear (or created) in my current object/block.  
⇾ This will make the note typing flow quicker & smoother

---

<div class="post-metadata">

**Author:** ![Hexara](https://community.anytype.io/user_avatar/community.anytype.io/hexara/32/27040_2.png) [@Hexara](https://community.anytype.io/u/Hexara)\
**Post date:** [December 23, 2023, 9:34pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/18 "2023-12-23T21:34:17Z")

</div>

This is fixed for me now on Windows 10 and Ubuntu 22.04 @ v0.37.0.

---

<div class="post-metadata">

**Author:** ![Code-Jack](https://community.anytype.io/user_avatar/community.anytype.io/code-jack/32/12019_2.png) [@Code-Jack](https://community.anytype.io/u/Code-Jack)\
**Post date:** [December 23, 2023, 10:22pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/19 "2023-12-23T22:22:22Z")

</div>

Thank you for mentioning that it is fixed, @Hexara!  
I’ve had already skipped to use the function, because it didn’t work in past.  
It is good to learn, that it works now! Wouldn’t have noticed it by myself.

---

<div class="post-metadata">

**Author:** ![Hexara](https://community.anytype.io/user_avatar/community.anytype.io/hexara/32/27040_2.png) [@Hexara](https://community.anytype.io/u/Hexara)\
**Post date:** [December 23, 2023, 11:01pm UTC](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373/20 "2023-12-23T23:01:29Z")

</div>

@Code-Jack You’re more than welcome 🙂

[Next page](https://community.anytype.io/t/allow-using-spaces-in-object-name-during-linking-with/8373.md?page=2)
