0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VScode初期設定

Last updated at Posted at 2024-12-02

プラグイン

local

rainbowcsv
Makefiletools
git graph
を追加
スクリーンショット_20230222_101505.png
スクリーンショット_20230222_101526.png
スクリーンショット_20230222_101608.png
スクリーンショット_20230222_101621.png

wsl

スクリーンショット_20230222_101633.png
スクリーンショット_20230222_101647.png

setteings.json

{

    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook"
    },
    "python.defaultInterpreterPath": "C:\\Users\\kouga\\AppData\\Local\\Programs\\Python\\Python39\\python.exe",
    "security.workspace.trust.untrustedFiles": "open",
    "notebook.cellToolbarLocation": {
        "default": "right",
        "jupyter-notebook": "left"
    },
    "code-runner.runInTerminal": true,
    "code-runner.executorMap": {
        "javascript": "node",
        "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
        "c": "cd $dir && gcc -fexec-charset=CP932 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "php": "php",
        "python": "python -u",
        "perl": "perl",
        "perl6": "perl6",
        "ruby": "ruby",
        "go": "go run",
        "lua": "lua",
        "groovy": "groovy",
        "powershell": "powershell -ExecutionPolicy ByPass -File",
        "bat": "cmd /c",
        "shellscript": "bash",
        "fsharp": "fsi",
        "csharp": "scriptcs",
        "vbscript": "cscript //Nologo",
        "typescript": "ts-node",
        "coffeescript": "coffee",
        "scala": "scala",
        "swift": "swift",
        "julia": "julia",
        "crystal": "crystal",
        "ocaml": "ocaml",
        "r": "Rscript",
        "applescript": "osascript",
        "clojure": "lein exec",
        "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
        "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
        "racket": "racket",
        "scheme": "csi -script",
        "ahk": "autohotkey",
        "autoit": "autoit3",
        "dart": "dart",
        "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
        "haskell": "runhaskell",
        "nim": "nim compile --verbosity:0 --hints:off --run",
        "lisp": "sbcl --script",
        "kit": "kitc --run",
        "v": "v run",
        "sass": "sass --style expanded",
        "scss": "scss --style expanded",
        "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
        "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
    },
    "files.autoGuessEncoding": true,
    "C_Cpp.updateChannel": "Insiders",
    "files.eol": "\n",
    "editor.accessibilitySupport": "on",
    "editor.minimap.enabled": false,
    "security.workspace.trust.enabled": false,
    "editor.fontSize": 15,
    "latex-workshop.chktex.enabled": true,
    "latex-workshop.view.pdf.viewer": "tab",
    "latex-workshop.latex.autoClean.run": "onBuilt",
    "latex-workshop.latex.recipes": [
        {
            "name": "toolchain",
            "tools": [
                "pLaTeX",
                "pLaTeX",
                "dvipdfmx",
            ]
        }
    ],
    "latex-workshop.latex.tools": [
        {
            "command": "bibtex",
            "args": [
                "%DOCFILE%"
            ],
            "name": "bibtex"
        },
        {
            "command": "pbibtex",
            "args": [
                "-kanji=utf8",
                "%DOCFILE%"
            ],
            "name": "pbibtex",
        },
        {
            "name": "ptex2pdf",
            "command": "ptex2pdf",
            "args": [
                "-l",
                "-ot",
                "-kanji=utf8 -synctex=1",
                "%DOC%"
            ]
        },
        {
            "command": "platex",
            "args": [
                "-synctex=1",
                "-jobname=\"%DOCFILE%\"",
                "-kanji=utf8",
                "-guess-input-enc",
                "%DOCFILE%.tex"
            ],
            "name": "pLaTeX"
        },
        {
            "command": "dvipdfmx",
            "args": [
                "%DOCFILE%"
            ],
            "name": "dvipdfmx"
        }
    ],
    "latex-workshop.latex.clean.fileTypes": [
        "*.aux",
        "*.bbl",
        "*.blg",
        "*.idx",
        "*.ind",
        "*.lof",
        "*.lot",
        "*.out",
        "*.toc",
        "*.acn",
        "*.acr",
        "*.alg",
        "*.glg",
        "*.glo",
        "*.gls",
        "*.ist",
        "*.fls",
        "*.log",
        "*.fdb_latexmk",
        "*.log",
        "*.synctex(busy)",
        "*.dvi",
        "*.synctex.gz",
    ],
    "editor.codeActionsOnSave": {
    
    },
    "vim.insertModeKeyBindings": [
    
        {
            "before" : ["j","j"],
            "after" : ["<Esc>"]
        } 
    ],
    "vim.hlsearch": true,
    "json.schemas": [
        

    ],
    "vim.statusBarColors.insert": "#1b7107",
    "vim.statusBarColors.normal": "#386eb5",
    "vim.statusBarColors.visual": "#9b8f24",
    "vim.statusBarColorControl": true,
    "workbench.colorCustomizations": {
        "statusBar.background": "#386eb5",
        "statusBar.noFolderBackground": "#386eb5",
        "statusBar.debuggingBackground": "#386eb5"
    },
    "vim.handleKeys": {
        "<C-a>": false,
        "<C-c>": false,
        "<C-v>":false,
        "<C-d>": true,
        "<C-s>": false,
        "<C-z>": false
    },
    "vim.whichwrap": "b,s,h,l,<,>,[,]",
    "[python]": {
        "editor.formatOnType": true
    },
    "vim.commandLineModeKeyBindings": [],
    "vim.normalModeKeyBindings": [
        {
            "before" : [";",";"],
            "after" : [":"]
        }
    ]


}

cpp snipet

{
	// Place your snippets for cpp 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"
	// }

	"main_body" : {
		"prefix":"mainbody",
		"body":[
			"#include <bits/stdc++.h>",
			"using namespace std;",

			"int main (){",
				"	$1;",
			"}"
		]	
	},

	"for_loop" : {
		"prefix":"forloop",
		"body":[
			"for(int $1 = 0; $1<$2; $1++){",
			"	$3;",
			"}"
		]	
	},
	"cpp_in" : {
		"prefix": "cinin",
		"body":[
			"cin>>$1;",
		]
	},
	"cpp_out": {
		"prefix": "coutout",
		"body":[
			"cout<<$1 ;",
		]
	}
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?