[Tools] Region commands to collapse the code by group

Posted answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Tools] Region commands to collapse the code by group相关的知识,希望对你有一定的参考价值。

For a file which contians lots of lines of code, we can use ‘comments region‘ to collapse the code.

import "./styles.css";

// #region setup                              
document.getElementById("app").innerhtml = `
<h1>Hello Vanilla!</h1>
<div>
  We use Parcel to bundle this sandbox, you can find more info about Parcel
  <a href="https://parceljs.org" target="_blank" rel="noopener noreferrer">here</a>.
</div>
`;
// #endregion

 

技术分享图片

 

以上是关于[Tools] Region commands to collapse the code by group的主要内容,如果未能解决你的问题,请参考以下文章

sh 在OS X上安装GNU程序https://www.topbug.ne​​t/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-m

sh 在OS X上安装GNU程序https://www.topbug.ne​​t/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-m

sh 在OS X上安装GNU程序https://www.topbug.ne​​t/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-m

sh 在OS X上安装GNU程序https://www.topbug.ne​​t/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-m

sh 在OS X上安装GNU程序https://www.topbug.ne​​t/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-m

[Tools] Kali Linux 高清屏扩大系统字体软件字体