Skip to content

Some new features ....  #58

@PizzaMix

Description

@PizzaMix

Hi Jake,

really like the idea of the code snippet editor, it is exactly what is needed
to fluidly enable co-working between ui/ux designer on one side and code
developer on another side.

The idea is great but it still needs few basic features to make it even better (for my case at least):

  • Will there be an option to show/generate the code for one single template in dev mode?
    While working on new snippets i do not want to see the code for all other snippets on that node.

  • Switch templates in children hierarchy (somehow)
    An option to enter template name when using {{figma.children}}.
    Sometimes it is needed to switch the template for the children nodes depending on some property(etc.)
    It would be great to have something like

// this is how it works now 
{{?property.whatever=2}}{{figma.children}}
// new feature: this one uses anotherTemplate for all children
{{?property.whatever=3}}{{figma.children#anotherTemplate}}  

 // new feature: this one uses anotherTemplate but only for direct children and 
 // then switches back automatically to the current template name
 {{?property.whatever=4}}{{figma.children#anotherTemplate#1}}

Are there some plans for further development of "Code Snippet Editor" ?
Which features are you planning to add ?

Br

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions