Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Locofy.ai - Frontend development accelerated with design to code AINew to Visual Studio Code? Get it now.
Locofy.ai - Frontend development accelerated with design to code AI

Locofy.ai - Frontend development accelerated with design to code AI

Locofy.ai

|
18,503 installs
| (4) | Free
Easily bring Locofy.ai generated code from your design files into VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

website Youtube Docs Discord Figma Adobe XD twitter

About Locofy.ai

Locofy.ai helps engineers and designers launch products 10x faster -- with design to code automation. We’re in open beta for Figma Designs to React, React Native, HTML-CSS, Gatsby, Next.js & Vue.js Code, and launching more frameworks (like Svelte, Flutter etc) soon!

VS Code Extension - Easily bring Locofy generated code into VS Code

The Locofy VS Code extension seamlessly integrates the powerful capabilities of Locofy into the VS Code environment. Developers can effortlessly fetch projects, components, pages, and styles, streamlining the workflow by eliminating the need to switch platforms.

Installation

  1. Open VS Code on your machine. If you don’t have VS Code installed, download it here.
  2. In VS Code, click the Extensions button in the left panel or you can use the following shortcuts:
    • Mac: CMD + Shift + X
    • Windows / Linux: CTRL + Shift + X.
  3. Search for “Locofy” and click the install button.

Getting Started

After installation, utilize the prebuilt commands provided by the Locofy.ai extension to enhance your coding experience.

To access commands:

  1. Once the VS code has been installed use the following shortcuts:
    • Mac: CMD + Shift + P
    • Windows/Linux: CTRL + Shift + P
  2. For quicker access, click on the Locofy icon in the VS Code status bar, which provides a dropdown of all available commands.

Available Commands

  • Login: Start the login process.
  • Sync Entire Project: Synchronize your entire project.
  • Pull Single File: Retrieve specific components, pages, CSS, or config files.
  • Pull File & Dependencies: Fetch specific files and their dependencies.
  • Docs: Visit the official Locofy.ai documentation.
  • Give Feedback: Share your insights via a short questionnaire.
  • Let’s Chat: Join the Locofy.ai Discord community.
  • Sign Out: Log out of your Locofy account.

Accessing to the Locofy.ai Account

Using the Login command, you can access your Locofy.ai account. This command will redirect you to a web interface for completing the authentication process. Once completed, you can access your Locofy.ai projects via the extension.

Similarly, you can use the Sign out command to sign out from your account.

Fetching Entire Project Code

Use the Sync Entire Project command to pull your synced design from Locofy right into VS Code.

  1. Open the commands menu by clicking the Locofy.ai icon present on the VS Code statusbar at the bottom.
  2. Select the Sync Entire Project command.
  3. You will be presented with a list of projects that are synced to the Builder. Select the project you need and the extension will pull the entire project into your VS Code.

Pull Single File

You can use the Pull Single File command to fetch a specific file from your projects such as a component, page, CSS file, or configuration-related file.

  1. Open the file where you want to sync the code or create a new file.
  2. Open the commands menu by clicking the Locofy.ai icon present on the VS Code statusbar at the bottom.
  3. Select the Pull Single File command.
  4. You will be presented with a list of your projects you can a pull a file from. Select the project containing the file you need.
  5. You will see a list of files from the project you selected as shown below. Click on the file you need.
  6. Now you should see pulled file's code present in your editor.

Note: This command does not pull the dependencies in the selected file such as any imported components, styles etc, that may be required to work correctly.

Pull File & Dependencies

You can use the Pull File & Dependencies command to pull the specific file and all its dependencies such as any assets, components, or styles referenced within it.

  1. Open the file where you want to sync the code or create a new file.
  2. Open the commands menu by clicking the Locofy.ai icon present on the VS Code statusbar at the bottom.
  3. Select the Pull File & Dependencies command.
  4. You will be presented with a list of your projects you can a pull a file from. Select the project containing the file you need.
  5. You will see a list of files from the project you selected as shown below. Click on the file you need.

Note: You will notice that not only the file is pulled but its dependencies are pulled as well.

Conflict Detection

The extension identifies any conflicts between the existing code and the new code fetched from Locofy.ai and presents a comparison, allowing you to easily resolve them.

When you pull a file and its code is different from the existing code in your editor, you will see 4 options to resolve the conflicts:

  1. Accept Current Change: This options allows you to keep your local code.
  2. Accept Incoming Change: This option overwrites your local code and replaces with the newly generated code.
  3. Accept Both Changes: This options combines both incoming and current changes in the present file.
  4. Compare Changes: This option will open a side by side view for you to easily merge the code differences.

Privacy Policy

We prioritize your data's safety and follow responsible practices. Read our Privacy Statement.

Troubleshooting

Help us enhance the Locofy VS Code extension! If you encounter issues please view our docs or get real time support from our Communty on the Discord Channel.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft