You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My idea is to allow the same kind of functionality that is currently present in the IDE by default to perform Search&Replace.
Check this workaround: We can replace every reference to a resource (which is named incorrectly in terms of Compose style guide) with a new exported vector using regexp:
But as you can see, this doesn't work fully, as the regexp for changing the usage that considers all word boundaries / changing case etc would be very complex and long and would need to be changed for imports and private property accessors.
Instead, it would be best to have this feature in the plugin (and now the cli too?) so that the user can directly import icons and rename them as they please.
This would probably look similarly to the screenshot above with the addition of a case selector, at least in my mind.
The text was updated successfully, but these errors were encountered:
This is a continuation of #47.
My idea is to allow the same kind of functionality that is currently present in the IDE by default to perform Search&Replace.
Check this workaround: We can replace every reference to a resource (which is named incorrectly in terms of Compose style guide) with a new exported vector using regexp:
But as you can see, this doesn't work fully, as the regexp for changing the usage that considers all word boundaries / changing case etc would be very complex and long and would need to be changed for imports and private property accessors.
Instead, it would be best to have this feature in the plugin (and now the cli too?) so that the user can directly import icons and rename them as they please.
This would probably look similarly to the screenshot above with the addition of a case selector, at least in my mind.
The text was updated successfully, but these errors were encountered: