background

Do you often have crazy screen cuts while developing applets? 🤔

Do you need to create a lot of new files during development? 🤔

Are you wondering how to create a new applet project? 🤔

If you suffer from the above problems, it doesn’t matter, as long as you see this article we are the family, today to the family welfare, double click add concern

I promise:

First, never act on impulse;

Second, never leave out any detail.

Third, absolute justice;

Vscode plugin – swan-vstoolkit – is waiting for you

The document

We have integrated the official documentation so that you can view the corresponding documentation in vscode

Bind the shortcut keys, search the API, go to the document page, really as smooth as Dove.

To help you learn better, we have also added a tree list of documents

Not only that

  • Links within the document also open a new document page within vscode
  • You can open the corresponding snippet
  • .

Overall, the experience and functionality will be as close to the official documentation as possible (kudos to me).

Engineering efficiency

Create a applet page

Create a new applet component

Create a new applet project

The new applets project has the following functions:

  • CSS pre-processing and post-processing, supporting templates such as LESS and Stylus
  • Js processing, such as obfuscation, compression
  • Support for some common tools, such as px2rpx for mobile
  • Mocks commonly used in development include local and remote mocks
  • More features look forward to your unlock

Download the way

  1. Download address, questions/Suggestions feedback: marketplace.visualstudio.com/items?itemN…
  2. You can also search swan-vstoolkit in the EXTENSIONS TAB in vscode to download it

A little notice, we are exploring a way to integrate the above functions into the coding process, so that everyone can feel more happiness!

Of course, we are still updating and iterating, and there will be more and more features to meet you. We welcome your valuable comments and suggestions.

Our goal is to let developers feel the joy of writing Baidu intelligent small program code.