在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Microsoft MakeCodeMicrosoft MakeCode is based on the open source project Microsoft Programming Experience Toolkit (PXT). PXT is a framework for creating special-purpose programming experiences forbeginners, especially focused on computer science education. PXT's underlyingprogramming language is a subset of TypeScript (leaving out JavaScript dynamicfeatures). The main features of PXT are:
More info: Examples of Editors built with MakeCode:
Branches
Running a target from localhostPlease follow the instructions here. Linking a target to PXTIf you are modifying your own instance of PXT and want a target (such as pxt-microbit) to use your local version, cd to the directory of the target (pxt-microbit, in our example, which should be a directory sibling of pxt) and perform pxt link ../pxt If you have multiple checkouts of pxt, you can do the following:
If you run BuildFirst, install Node: minimum version 8. To build the PXT command line tools: npm installnpm run build Then install the npm install -g pxt After this you can run To start the local web server, run If you are developing against pxt, you can run gulp watch If you are working on the CLI exclusively, gulp watchCli IconsThere are a number of custom icons (to use in additionto http://semantic-ui.com/elements/icon.html) in the If you're having trouble with display of the icon you created, try: npm install -g svgosvgo svgicons/myicon.svg Documentation HighlightingIn the documentation, highlighting of code snippets uses highlight.js (hljs).Currently, the following languages are included:
If you need to add other languages or update existing ones,you can find the distribution at https://highlightjs.org/download/;select all the languages you want to include (including the ones above!),download and unzip,and finally copy over TestsThe tests are located in the LicenseCode of ConductThis project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments. Contact UsTrademarksMICROSOFT, the Microsoft Logo, and MAKECODE are registered trademarks of Microsoft Corporation. They can only be used for the purposes described in and in accordance with Microsoft’s Trademark and Brand guidelines published at https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general.aspx. If the use is not covered in Microsoft’s published guidelines or you are not sure, please consult your legal counsel or MakeCode team ([email protected]). |
请发表评论