A way to convert icons back to text

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

A way to convert icons back to text

Post by sparr »

When I type [item=iron-plate] into a text box or field in game, it gets converted to the iron plate icon. If what I meant to type was [item=iron-plate,quality=rare], I might realize my error and press backspace... but then the whole icon is gone and I have to type the whole thing again.

I'd like to have a way to convert an icon back to text. Maybe double clicking on the icon. Maybe shift+backspace with the cursor to the right of the icon (or shift+delete with the cursor to the left). Maybe just backspace, although that would break UX that players are used to now.

Google Docs and MS Word use ctrl+z undo automatic conversion of things, and that would be useful here, but it wouldn't be sufficient because my actual use case is to come back much later and edit the icon to represent a different quality or item.
Last edited by sparr on Tue Dec 10, 2024 1:20 pm, edited 3 times in total.
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 670
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Re: A way to convert icons back to text

Post by IsaacOscar »

Yes, it would be great if backspace deleted the ] instead of the whole icon, as I often just write stuff in plain text instead of using the picker (especially as the picker has many missing icons)
User avatar
Sharparam
Inserter
Inserter
Posts: 26
Joined: Sat Mar 25, 2023 11:21 pm
Contact:

Re: A way to convert icons back to text

Post by Sharparam »

Emacs does this kind of thing in kind of a neat way: When the cursor is outside of the "special syntax" item, it is rendered, if the cursor moves inside it, it shows the raw source string.

But I imagine that kind of change would be quite major for the text system in Factorio so I don't suspect it would be implemented anytime soon, if at all.
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: A way to convert icons back to text

Post by sparr »

That would actually be pretty cool, but I agree it's a much bigger ask.
Post Reply

Return to “Ideas and Suggestions”