当前位置:首页 > 机动车 >

linux安装vscode教程(ubuntu安装vscode教程)

来源:原点资讯(www.yd166.com)时间:2023-10-31 05:29:59作者:YD166手机阅读>>

》》重启之后

linux安装vscode教程,ubuntu安装vscode教程(9)


4、自定义配置

打开文件->首选项->设置,就会进入到 settings.json 文件中,以下是自定义配置:

{ "git.confirmSync": false, "git.autofetch": true, "git.checkoutType": "remote", "git.enableSmartCommit": true, "files.autoSave": "onFocusChange", "files.associations": { "*.vue": "vue", "*.wpy": "vue", "*.wxml": "wxml", "*.wxss": "css", "*.js": "javascript", "*.html": "html", "*.cjson": "jsonc", "*.wxs": "javascript" }, "emmet.syntaxProfiles": { "vue-html": "html", "vue": "html" }, "emmet.includeLanguages": { "wxml": "html" }, "eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", { "language": "html", "autoFix": true }, { "language": "vue", "autoFix": true }, { "autoFix": true, "language": "javascript" }, { "autoFix": true, "language": "javascriptreact" }, { "autoFix": true, "language": "typescript" }, { "autoFix": true, "language": "typescriptreact" } ], "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe", "window.zoomLevel": 1, "explorer.confirmDelete": false, "vetur.experimental.templateInterpolationService": false, "editor.tabSize": 4, "editor.tabCompletion": "on", "editor.codeActionsOnSave": { "source.fixAll": true } }


5、设置>用户代码片段

{ // Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the // same ids are connected. // Example: "Print to console": { "prefix": "log", "body": [ "console.log('$1')", "$2" ], "description": "Log output to console" }, "Print to vue template": { "prefix": "vue", "body": [ "<template>", " <div class='page-view'>", " 1", " </div>", "</template>", " ", "<script lang='ts'>", "import Vue from 'vue'", "export default Vue.extend({", " data() {", " return{}", " },", " methods:{}", "});", "</script>", " ", "<style lang='scss' scoped>", ".page-view {", " min-height: 100%;", "}", "</style>" ], "description": "Log output to vue template" } }


后面会分享更多devops和DBA方面内容,感兴趣的朋友可以关注下~

linux安装vscode教程,ubuntu安装vscode教程(10)

,

栏目热文

linux上vscode怎么用(linux怎么查vscode的版本)

linux上vscode怎么用(linux怎么查vscode的版本)

1.安装VSCode我们在Windows下调试程序时,很多时候都需要进行断点调试,可以快速定位问题。但是在Linux环境...

2023-10-31 05:28:03查看全文 >>

道君结局是什么(道君所有角色结局)

道君结局是什么(道君所有角色结局)

九名元婴修士,联手统治世界数百年,并阻断了其余修士晋升元婴之路。被道爷离间后各个击破。恨他们的人称其为"九狗&...

2023-10-31 05:10:46查看全文 >>

道君中管芳仪被哪个皇帝喜欢(道君最后和管芳仪一起的人是谁)

道君中管芳仪被哪个皇帝喜欢(道君最后和管芳仪一起的人是谁)

我本人算是跃大的书迷吧,从很久之前的败类,到闲人,到飞天,再到道君,还有至今的无双,全都看过。虽然贡献不多,但是从飞天...

2023-10-31 05:21:48查看全文 >>

道君哪一章和唐仪和好(唐仪白子靖结局)

道君哪一章和唐仪和好(唐仪白子靖结局)

《道君》中,唐仪vs商清淑vs黑牡丹vs管芳仪,选一个测你福气多大《道君》这部小说可以说是一本很独特的小说,看起来十分的...

2023-10-31 05:07:49查看全文 >>

道君中皇后怎么了(道君最后几个元婴)

道君中皇后怎么了(道君最后几个元婴)

据讲述玉皇公远古时期“舍身堵北缺,代存万众生”故事的《玉皇经》所载,玉帝年龄应该为130多亿岁,这和今天所考证的宇宙的年...

2023-10-31 05:19:36查看全文 >>

vscode怎么开启远程连接虚拟机(vscode通过跳板机连接远程服务器)

vscode怎么开启远程连接虚拟机(vscode通过跳板机连接远程服务器)

直到 VSCode remote-ssh 插件出来和我买了一台 NUC 机器之前,我一直在维护两套开发环境,一套防在公司...

2023-10-31 05:44:44查看全文 >>

linux安装vscode安装包(在linux如何安装vscode)

linux安装vscode安装包(在linux如何安装vscode)

Visual Studio代码是由Microsoft开发的一个开源跨平台代码编辑器。它具有内置调试支持、嵌入式Git控件...

2023-10-31 05:34:04查看全文 >>

用vscode怎么连接linux(怎么在vscode运行linux)

用vscode怎么连接linux(怎么在vscode运行linux)

环境准备:本地设备使用系统:win10;远程主机linux系统:ubuntu 18.04 (64bit)。说明:该插件对...

2023-10-31 05:25:24查看全文 >>

vscode远程连接虚拟机linux(vscode远程连接linux服务器)

vscode远程连接虚拟机linux(vscode远程连接linux服务器)

整理 | 彭慧中 责编 | 屠敏出品 | CSDN(ID:CSDNnews)致力于为开发者提供更好工具的软件巨头微软,最...

2023-10-31 05:26:22查看全文 >>

vscode连接虚拟机(在虚拟机里边怎样装vscode)

vscode连接虚拟机(在虚拟机里边怎样装vscode)

前言在windows平台上搭建C语言编程环境有很多种方法,笔者用C语言主要是业余爱好,学习用。笔者没有安装重武器Visu...

2023-10-31 05:44:42查看全文 >>

文档排行