Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Prettier | 45,163 | 15 hours ago | 1,163 | mit | JavaScript | |||||
Prettier is an opinionated code formatter. | ||||||||||
Css.gg | 7,838 | 8 | a year ago | 8 | April 23, 2020 | 44 | mit | CSS | ||
700+ Pure CSS, SVG & Figma UI Icons Available in SVG Sprite, styled-components, NPM & API | ||||||||||
Pug Starter | 338 | 13 days ago | 2 | May 18, 2019 | gpl-3.0 | JavaScript | ||||
Simple pug (jade) starter [framework] enabling faster delivery of HTML & CSS projects to a private server and/or automatic deployment of GitHub pages. | ||||||||||
Compile Hero | 187 | a year ago | 2 | November 05, 2019 | 93 | mit | TypeScript | |||
🔰Visual Studio Code Extension For Compiling Language | ||||||||||
Sass Vars Loader | 115 | 31 | 42 | 2 years ago | 37 | April 05, 2021 | 10 | mit | JavaScript | |
Use Sass variables defined in Webpack config or in external Javascript or JSON files | ||||||||||
Json Sass | 91 | 13 | 2 | 6 years ago | 4 | June 04, 2019 | 12 | JavaScript | ||
Transforms a JSON stream into scss syntax Sass. | ||||||||||
Cti Documentation | 83 | 1 | 4 days ago | 3 | August 10, 2020 | 10 | bsd-3-clause | SCSS | ||
OASIS TC Open Repository: GitHub Pages site for STIX and TAXII | ||||||||||
Sass Export | 51 | 9 | 18 | 9 months ago | 34 | June 24, 2022 | 15 | mit | TypeScript | |
Exports your scss files to Json. Easily convert your SCSS files into Json. | ||||||||||
Scss To Json | 47 | 62 | 36 | a year ago | 4 | October 31, 2017 | 18 | mit | JavaScript | |
A package to require SCSS variables in JSON format | ||||||||||
Json Feed Viewer | 40 | 6 months ago | 7 | mit | SCSS | |||||
The world's first JSON feed viewer 🥇 |
1.Open the
less, sass, scss, styl, ts, tsx, jade, pug or js
file.
2.
Compile Hero: On/Off
will appear in the status bar at the bottom right corner, please turn on theCompile Hero: On
switch when using ↓
3.Compile on save
(ctrl+s)
↓
Or select Compile Files
on right-click menu item, it will automatically compile the files to the dist
directory.
You can also select part of the code and use the Compile Selected
menu item or shortcut key (ctrl+shift+s)
to perform partial compilation of the code block.
4.Beautify on save
(alt+shift+f)
or selectFormat Document
on right-click menu item forjavascript, json, css, sass and html
.
less, sass, scss, stylus, typescript, typescriptreact, jade, pug and javascript
on save.less, scss, scss
.html
files to preview in browser.javascript
and css
files.javascript
, json
, css
, sass
, and html
.Before Compile | After Compile |
---|---|
.pug | .html |
.jade | .html |
.scss(sass) | .css |
.less | .css |
.styl | .css |
.ts/.tsx | .js(JSX) |
.js(ES6) | .js(ES5) |
Easy to use. When you writing a file, press save ctrl+s
to generate the compiled file in the same directory. I hope you can get rid of the constraint of gulp
or webpack
😁
Click to open the extension management interface Configure Extension Settings
.
(ctrl+s)
.Whether the configuration is automatically compiled after saving(ctrl+s)
|
Default Value |
---|---|
disable-compile-files-on-did-save-code | false |
Switch to control the notification | Default Value |
---|---|
notification-toggle | true |
Switch to control compilation and formatting of specific files | Default Value |
---|---|
ignore | null |
Output Path Configuration | Default Value | Compile Switch Status | Default Value |
---|---|---|---|
javascript-output-directory | ./dist | javascript-output-toggle | true |
sass-output-directory | ./dist | sass-output-toggle | true |
scss-output-directory | ./dist | scss-output-toggle | true |
less-output-directory | ./dist | less-output-toggle | true |
jade-output-directory | ./dist | jade-output-toggle | true |
typescript-output-directory | ./dist | typescript-output-toggle | true |
typescriptx-output-directory | ./dist | typescriptx-output-toggle | true |
pug-output-directory | ./dist | pug-output-toggle | true |
stylus-output-directory | ./dist | stylus-output-toggle | true |
generate-minified-html | false | generate-minified-html-only | false |
generate-minified-css | false | generate-minified-css-only | false |
generate-minified-javascript | false | generate-minified-javascript-only | false |
settings.json
Advanced Extension Settings:
settings.json
file (i.e. Workspace Settings).settings.json
must exist in the .vscode directory at the root level of your project.compile-hero
key.compile-hero.ignore
.compile-hero.watch
to monitor partial files - You can turn this on -> Compile Hero: On
when using.Here Example settings.json
file:
{
"compile-hero": {
"disable-compile-files-on-did-save-code": false,
"notification-toggle": false,
"javascript-output-directory": "./out",
"javascript-output-toggle": false,
"sass-output-directory": "./out",
"sass-output-toggle": true,
"ignore": ["src/test.js", "*/test.scss", "**/spec/*", "**/src/**/*"],
"watch": ["sass/test.sass", "**/less/**/*"]
}
}
tsconfig.json
If you want to add or overwrite certain settings in the tsconfig.json
file, you can create a new tsconfig.json
in the same directory of your .ts
file.
Here Example tsconfig.json
file:
{
"compilerOptions": {
"alwaysStrict": true,
"importHelpers": false
}
}
Right click the html
file in the directory menu, and the open in browser
option will appear. You can preview the page in the browser.
Sometimes you may not need to automatically compile the file every time you save the file, at this time you can disable the automatic compilation. And use the Compile File(s)
menu item to replace.
At some point, you may be using ports for some services. You can use the Close Port
command to close, but now only supported on mac.
👪 Tencent Alloyteam Team And Qian Feng Team:
Eno Yao |
Aaron Xie |
DK Lan |
Yong |
Li Ting |
Xin |
Lemon |
Jing |
Lin |
Tian Fly |
---|
If you think it's useful, hope you can leave us a message and like it💝, your support is our driving force😀
Compile Hero is released under the MIT.