Giter VIP home page Giter VIP logo

vscode-extension-figma's Introduction

Figma x VS Code

Features

Styles listing and copying CSS

Styles listing

Listing layer tree and preview of top level layers

Layers tree view

Requirements

To use this extension, you need two things:

  • Figma Personal Access Token
  • Team ID

Figma Personal Access Token

  1. Go to Account Settings in Figma application
  2. Click on Create a new personal access token
  3. Name your token
  4. Copy new token
  5. In VS Code open commands menu and execute Figma: Connect command
  6. Paste your figma token and press enter

Team

You must be a part of any team to be able to browse and select files. To get your team id:

  1. Go to Figma web application
  2. Click on any team in the sidebar
  3. Copy id from url: https://www.figma.com/files/team/ID/Eyedea
  4. In VS Code open commands menu and execute Figma: Add Team command
  5. Type in your team name
  6. Paste team id and press enter
  7. You're now able to select any team file using Figma: Select File from command palette.

Limitations

Browsing files works only for teams. You can't browse your drafts. In future, there will be support for adding single files by id.

Roadmap

  • [Commands] Add single file by id
  • [Tree View] Copy css of selected layer
  • [Tree View] Import images from figma to workspace
  • [Tree View] Copy layer text
  • [Tree View] Icon for each type of layer(group, frame, text, rectangle, etc.)
  • [Preview] Better embed something like Zeplin - select layer by click, see css of selected layer

Release Notes

0.1.0

Initial release:

  • Connecting with figma
  • Adding teams
  • Loading a figma design
  • Loading design styles
  • Loading design layers
  • Preview of top level frames

vscode-extension-figma's People

Contributors

idered avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-extension-figma's Issues

integration issues

Hi
Below steps for setting up extension :-

  1. Install extension from vs code marketplace
  2. Add Personal Access token (Figma)
  3. Add figma team
  4. Take team id from url add it to extension setup next step
  5. Select project
  6. Select design
    extension version: 0.1.1 & 0.1.0
    VS code version: 1.47.0 & 1.46.1
    v1.25.1 not support

After setting up extension, we can see our design's files in vscode
Issues :

  1. Page preview failed:
    On going to preview page, it shows figma login page but for login it's login button is not working.
  2. Not visible CSS:
    On exploring files, under style, there is no css code.
  3. Team or project selection:
    After some days when we again selecting team/project, it doesn't works.
  4. We can't reset this plugin
    Please let us know why we are facing above issues ASAP.

Screenshot (1)
Screenshot (17)

Figma extension improvement

Figma extension is useful tools among developers. But the extension does not offer open Figma files from local storage. it shoud be act like Figma website. We cannot delete a Figma file located in Figma server. Please fix those issues.

Fails to select files

After choosing the right file to open (via Figma: Select File command) I have a small notification of "Loading project files..."

After a while, I get this error:
image

And this line in the VSCode logs:
image

Any idea how to fix that? It seems that the loading files operation blocks the extension host

Looking for projects...

Hello,
After adding token and team, I'm pressing select file, choosing team, then loading projects popup show up, and then nothing happen :D I dont see any list of my team projects and can't workaround with that.

Unable to login

After successfully opening a project, on an attempt to view the component, Figma asks for a login. On trying to login nothing happens further. This is after having checked for problems / output.

Unable to preview code of design and style

I am amazed to see this amazing project on the VS Code marketplace as an alternative to Adobe DSP manager. But the issue is that there is no enough documentation to show how to work with the extension on VS Code. I am only able to preview the design but not the codes. I look forward to feedback on this. Once again thank you for a great job done.

MSVS 2019 Compatibility

I am running MSVS 2019 Community. I attempted to run your installer but it fails. It apparently was made for MSVS 2017. Do you have plans to implement 2019 support? I have a project in MSVS which I am hoping to utilize with some FIGMA content.

The install log is attached

dd_VSIXInstaller_20190814160636_0a8c.log

How can I delete an accidentally added team?

I put in the the whole link for my team instead of just the ID and now I have two teams that look exactly the same - but one works and the other doesn't.
Maybe the extension could check the validity of the input first?

Crash on big projects

Hello,

Thank you for your extension which seems really promising.

However, on all my team projects, it crashes. I succeeded to open only a really small file I did, otherwise it didn't work.

Is there any limit about it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.