How to configure Egret engine shortcut keys in phpstorm to compile TypeScript

藏色散人
Release: 2021-04-27 11:30:09
forward
1637 people have browsed it

The following tutorial column will introduce to you how to configure the Egret engine shortcut keys to compile TypeScript in webstorm/phpstorm. I hope it will be helpful to friends in need!webstorm/phpstorm Configure Egret engine shortcut keys to compile TypeScript

Find the preferences menu to open the configuration for this project. Look at the picture below to find the file watchers function.

Click the plus sign in the lower left corner of the right

How to configure Egret engine shortcut keys in phpstorm to compile TypeScriptIf there is type script in the drop-down, select it, if not, select custom

Check the key settings A few points in the picture

1. Give yourself a name you like

How to configure Egret engine shortcut keys in phpstorm to compile TypeScript2. Find and select

TypeScript

(flip up and down) , not easy to find)

3. Choose the same option as in the screenshot, or choose an option you can understand. Here is where the ts file to be listened to is located. The options in the picture represent the ts in the entire project. File4. I installed the location of the egret command here. It’s up to you. It’s useless to fill in the global variables. You must fill in the path. (If you can’t find it, try searching the whole disk)

5. Fixed fill

6. What is the root directory of the Egret project?

$ProjectFileDir$/game

Because I I created a game folder under the phpstorm project to hold the Egret project, so I added

/game

7. Automatic execution (automatically executed after phpstorm loses focus), I don’t like it. This, so uncheck it and press command s or ctrl s to compile manually.8. Execute even if there are syntax errors.

The above is the detailed content of How to configure Egret engine shortcut keys in phpstorm to compile TypeScript. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!