首页 > 其他分享 >vscode settings.json

vscode settings.json

时间:2023-12-12 21:11:36浏览次数:31  
标签:workbench false settings vscode eslintcache json editor true

{
  "workbench.startupEditor": "none",
  "workbench.iconTheme": "vscode-icons",
  "workbench.colorTheme": "Dracula",
  "window.title": "${rootName}${separator}${profileName}",
  "editor.fontFamily": "'Droid Sans Mono', 'PingFang SC'",
  "editor.tabSize": 2,
  "editor.fontSize": 14,
  "editor.fontWeight": 400,
  "editor.fontLigatures": true,
  "editor.cursorBlinking": "solid",
  "editor.cursorStyle": "block",
  "files.autoGuessEncoding": false,
  "editor.scrollBeyondLastLine": false,
  "editor.rulers": [100],
  "editor.letterSpacing": 0.1,
  "editor.lineHeight": 1.3,
  // 代码提示延迟 1s
  "editor.quickSuggestionsDelay": 1000,
  // 显示所有空格
  "editor.renderWhitespace": "all",
  // hover 提示延迟500ms
  "editor.hover.delay": 500,
  // "window.menuBarVisibility": "hidden",
  // "workbench.editor.untitled.hint": "hidden",

  "files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true,
    "**/Thumbs.db": true,
    "**/node_modules": true,
    ".eslintcache": true,
  },

  "search.exclude": {
    "**/node_modules": true,
    "**/bower_components": true,
    "**/*.code-search": true,
    "**/.git": true,
    "**/pnpm-lock.yaml": true,
    "**/Cargo.lock": true,
    ".eslintcache": true,
  },

  "editor.tokenColorCustomizations": {
    // 注释字体颜色
    "comments": "#b388ff",
  },
  "workbench.colorCustomizations": {
    "editorCursor.foreground": "#F72E96",
    // 高亮当前行背景色
    // 浅色背景
    // "editor.lineHighlightBackground": "#E3F2FD",
    // "editor.lineHighlightBorder": "#E3F2FD",
    // 深色背景
    "editor.lineHighlightBackground": "#094771",
    "editor.lineHighlightBorder": "#094771",
    // 行数区域字体颜色
    "editorLineNumber.foreground": "#43a047",
  },
  "editor.linkedEditing": true,
  "explorer.confirmDelete": false,
  "nxConsole.showNodeVersionOnStartup": false,
}

标签:workbench,false,settings,vscode,eslintcache,json,editor,true
From: https://www.cnblogs.com/h5lianfu/p/17897824.html

相关文章

  • json to dart插件的使用
    先说一种andriodstudio中的一个插件,就叫jsonto dart,你把json文件粘贴过去,然后他可以直接生成dart对象文件,但是通常需要自定义一些配置,否则代码很难读。下面是命令的形式在Flutter开发中,你可以使用一些插件来将JSON转换为Dart类。其中一个常用的插件是dart:convert包提供的......
  • vscode配置项
    因为vscode的默认配置,导致现在用的不是很舒服。总结了以下配置能让你的vscode用着更舒服。1:问题:输入log按tab快速生成代码后,提示居然没了?解决方案:"editor.suggest.snippetsPreventQuickSuggestions":false,2:问题:鼠标双击PHP变量的时候,总是只能选中一部分,漏掉$符号解......
  • Python——第五章:json模块
    什么是json:json模块是用于处理JSON(JavaScriptObjectNotation)数据的模块,翻译过来叫js对象简谱。JSON是一种轻量级的数据交换格式,常用于将数据在不同语言之间进行传递。我们先来看一段json代码:wf={"name":"汪峰","age":18,"hobby":"上头条","wife"......
  • Python中json.load()和json.loads()的区别
    一、图解json.loads():解析一个有效的JSON字符串并将其转换为Python字典json.load():从一个文件读取JSON类型的数据,然后转转换成Python字典二、json.loads()用法1、例子importjsondata={"name":"Satyamkumar","place":"patna","skills":["Raspber......
  • vscode ssh 一直需要输入密码且最后显示连接失败
    参照这一篇执行就成功了,大佬很强很强。但是有几个点要注意的,我总结成下面几个步骤:先在本地用ssh连接,直到失败,查看日志上加锁的文件。日志在下面vscode这个界面找到。找到一条:[09:14:20.176]>Acquiringlockon/home/zhangyasheng/.vscode-server/bin/c3f126316369cd610563......
  • ElasticSearch之Node query cache settings
    对于filter查询,ElasticSearch提供了缓存查询结果的特性,当缓存中存在满足查询条件要求的数据时,直接从缓存中提取查询结果。对于ElasticSearch节点,该节点上的所有shard共享同一个缓存区域。ElasticSearch基于LRU算法来管理缓存中的数据,当空间不足以承载最新的查询操作的结果时,使用......
  • 高效的 Json 解析框架 kotlinx.serialization
    一、引出问题你是否有在使用Gson序列化对象时,见到如下异常:Abstractclassescan'tbeinstantiated!RegisteranInstanceCreatororaTypeAdapterforthistype.什么时候会出现如此异常。下面举个栗子:importcom.google.gson.Gsonimportcom.google.gson.reflect.Type......
  • JSON .NET SERIALIZE exploitation
    exploitingjsonserializationin.NETcore当使用特定的配置的时候,将在NewtonSoftJSON中会有json的反序列化漏洞。更加具体化一些就是当jsonserializationsettings中的typenamehandling这个属性不是None的时候。因为默认来说typenamehandling是设置成none的。当配置文......
  • mysql存json数据时的查询办法
    很多时候mysql的一列当中存的是json格式的数据,这时候如果要查询某个key对应的值的时候要如何查询呢,这里记录一种查询方法:json列的值:{“InventoryMainTypeCode”:1,“InventoryMainTypeName”:“GOOD”}现在要查询InventoryMainTypeCode为xxx或者InventoryMainTypeName为xxx的数......
  • Chrome 浏览器开启 Json 数据格式化显示
    Chrome浏览器开启Json数据格式化显示默认格式安装扩展程序JSONView......