久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='fXMuj'></bdo><ul id='fXMuj'></ul>

<i id='fXMuj'><tr id='fXMuj'><dt id='fXMuj'><q id='fXMuj'><span id='fXMuj'><b id='fXMuj'><form id='fXMuj'><ins id='fXMuj'></ins><ul id='fXMuj'></ul><sub id='fXMuj'></sub></form><legend id='fXMuj'></legend><bdo id='fXMuj'><pre id='fXMuj'><center id='fXMuj'></center></pre></bdo></b><th id='fXMuj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fXMuj'><tfoot id='fXMuj'></tfoot><dl id='fXMuj'><fieldset id='fXMuj'></fieldset></dl></div>

      <tfoot id='fXMuj'></tfoot>

      <small id='fXMuj'></small><noframes id='fXMuj'>

      <legend id='fXMuj'><style id='fXMuj'><dir id='fXMuj'><q id='fXMuj'></q></dir></style></legend>
    1. 如何設置 VSCode 以將花括號放在新行上?

      How do I set up VSCode to put curly braces on a new line?(如何設置 VSCode 以將花括號放在新行上?)
        <i id='7AS4N'><tr id='7AS4N'><dt id='7AS4N'><q id='7AS4N'><span id='7AS4N'><b id='7AS4N'><form id='7AS4N'><ins id='7AS4N'></ins><ul id='7AS4N'></ul><sub id='7AS4N'></sub></form><legend id='7AS4N'></legend><bdo id='7AS4N'><pre id='7AS4N'><center id='7AS4N'></center></pre></bdo></b><th id='7AS4N'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7AS4N'><tfoot id='7AS4N'></tfoot><dl id='7AS4N'><fieldset id='7AS4N'></fieldset></dl></div>
      • <small id='7AS4N'></small><noframes id='7AS4N'>

          <tfoot id='7AS4N'></tfoot>
            <tbody id='7AS4N'></tbody>

              • <bdo id='7AS4N'></bdo><ul id='7AS4N'></ul>
              • <legend id='7AS4N'><style id='7AS4N'><dir id='7AS4N'><q id='7AS4N'></q></dir></style></legend>
                本文介紹了如何設置 VSCode 以將花括號放在新行上?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                假設我輸入以下代碼并對其進行格式化.

                Let's say I type in the following code and format it.

                if (condition) { /* Hello! */ }
                

                如果這是 C# 代碼,格式如下:

                If this is C# code, it is formatted like this:

                if (condition)
                {
                    // Hello!
                }
                

                如果是 JavaScript,VSCode 的格式是這樣的:

                If it is JavaScript, VSCode formats it like this:

                if (condition) {
                    // Hello!
                }
                

                那么我怎樣才能為所有語言使用第一種格式樣式(新行上的花括號)?我找不到設置或類似的東西.有什么建議嗎?

                So how can I use the first formatting style (curly braces on new lines) for all languages? I can't find a setting or something similar. Suggestions?

                推薦答案

                按照以下步驟使 Visual Studio Code 格式在 Java Script 的新行上打開花括號> 和 鍵入腳本.

                Follow the steps below to make Visual Studio Code format opening curly braces on a new line for Java Script and Type Script.

                Visual Studio 代碼 (v1.20.0)

                1. 轉到文件首選項設置
                2. 用戶設置"(在右側窗格中)中添加以下行

                1. Go to FilePreferencesSettings
                2. Add the following lines in 'User Settings' (in the right side pane)

                "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true, 
                "javascript.format.placeOpenBraceOnNewLineForFunctions": true,
                
                "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
                "typescript.format.placeOpenBraceOnNewLineForFunctions": true,
                

              • 保存用戶設置"即可完成!

                這篇關于如何設置 VSCode 以將花括號放在新行上?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!
              • 相關文檔推薦

                Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                Detect FLASH plugin crashes(檢測 FLASH 插件崩潰)
                1. <legend id='C68sF'><style id='C68sF'><dir id='C68sF'><q id='C68sF'></q></dir></style></legend>
                  <tfoot id='C68sF'></tfoot>
                      <tbody id='C68sF'></tbody>
                        <bdo id='C68sF'></bdo><ul id='C68sF'></ul>

                          <small id='C68sF'></small><noframes id='C68sF'>

                          <i id='C68sF'><tr id='C68sF'><dt id='C68sF'><q id='C68sF'><span id='C68sF'><b id='C68sF'><form id='C68sF'><ins id='C68sF'></ins><ul id='C68sF'></ul><sub id='C68sF'></sub></form><legend id='C68sF'></legend><bdo id='C68sF'><pre id='C68sF'><center id='C68sF'></center></pre></bdo></b><th id='C68sF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='C68sF'><tfoot id='C68sF'></tfoot><dl id='C68sF'><fieldset id='C68sF'></fieldset></dl></div>
                        • 主站蜘蛛池模板: 手机av在线| 超碰在线免费公开 | 日韩精品无码一区二区三区 | 欧美久久免费观看 | 中文字幕久久久 | 亚洲视频一区在线观看 | 第四色狠狠 | 国产97碰免费视频 | 激情av网站 | a网站在线观看 | 久久激情五月丁香伊人 | 欧美日韩高清一区 | 永久看片 | 久久久青草婷婷精品综合日韩 | 国产精品亚洲综合 | 亚洲www啪成人一区二区麻豆 | 色综合av | 亚洲欧美综合精品久久成人 | 日本精品一区二区 | 国产一级在线视频 | 精品日韩一区二区三区av动图 | 亚洲精品v日韩精品 | 国产精品99久| 一区二区三区精品视频 | 激情六月丁香婷婷 | 国产成人精品一区二区 | 成人高清视频在线观看 | 亚洲第一福利网 | 91视频免费黄 | 欧洲精品在线观看 | 成人黄色电影在线播放 | 久久久久久久久中文字幕 | 欧美天堂 | 红桃视频一区二区三区免费 | 亚洲视频一区在线 | 欧美成年网站 | 91九色porny首页最多播放 | 欧美日韩高清免费 | 日韩精品一区二区三区四区视频 | 天堂中文字幕av | 综合久久久 |