ユーザ用ツール

サイト用ツール


サイドバー

アプリ:エディタ:vscode

文書の過去の版を表示しています。


文字入力・編集

スニペット

設定ファイルの保存先

NOTE: %   ls ./.config/Code/User/snippets    
makefile.json  markdown.json  plaintext.json

GhostTextで編集するdokuwikiのために作成したスニペット

~/.config/Code/User/snippets/plaintext.json

{
	// Place your snippets for plaintext 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"
	// }
	"m1": {
		"prefix": "m1",
		"body":  [
		"====== ${1:見出し1} ======\n",
		"$2"
		]
	},
	"m2": {
		"prefix": "m2",
		"body":  [
		"====== ${1:見出し2} ======\n",
		"$2"
		]
	},
	"m3": {
		"prefix": "m3",
		"body":  [
		"====== ${1:見出し3} ======\n",
		"$2"
		]
	},
	"m4": {
		"prefix": "m4",
		"body":  [
		"===== ${1:見出し4} =====\n",
		"$2"
		]
	},
	"ll": {
		"prefix": "ll",
		"body":  [
		"  - ${1:記号付きリスト}$2"
		]
	},
	"ln": {
		"prefix": "ln",
		"body":  [
		"  * ${1:記号付きリスト}$2"
		]
	},
	"m1": {
		"prefix": "m1",
		"body":  [
		"====== ${1:見出し1} ======\n",
		"$2"
		]
	},
	"m2": {
		"prefix": "m2",
		"body":  [
		"====== ${1:見出し2} ======\n",
		"$2"
		]
	},
	"m3": {
		"prefix": "m3",
		"body":  [
		"====== ${1:見出し3} ======\n",
		"$2"
		]
	},
	"m4": {
		"prefix": "m4",
		"body":  [
		"===== ${1:見出し4} =====\n",
		"$2"
		]
	},
	"っl": {
		"prefix": "っl",
		"body":  [
		"  - ${1:記号付きリスト}$2"
		]
	},
	"っl": {
		"prefix": "っl",
		"body":  [
		"  * ${1:記号付きリスト}$2"
		]
	}
}

拡張機能の開発

Linux

VSCodeの拡張機能の開発のためインストールしたもの

 大きな手違いがあったので不要なものをインストールしているかと思います。直接関係のないものも作業の流れとして記載しています。

  848  11/23/2021 16:25  sudo npm install -g yo generator-code vsce
  858  11/23/2021 16:43  sudo npm install -g vsce
  861  11/23/2021 16:45  sudo npm install -g generator-code
  868  11/23/2021 16:49  sudo npm install yo generator-code --save-dev
  883  11/23/2021 17:01  npm install vsce --save-dev
  891  11/23/2021 17:14  sudo apt install -y nodejs npm
  892  11/23/2021 17:14  sudo apt install nodejs npm --no-install-recommends
  894  11/23/2021 17:15  sudo npm install n -g
  901  11/23/2021 17:20  sudo npm install -g yarn
  905  11/23/2021 17:23  sudo npm install -g npm@8.1.4
  907  11/23/2021 17:24  npm install twitter
  911  11/23/2021 17:40  sudo npm install -g typings
  913  11/23/2021 17:41  sudo npm install -g test-electron
  914  11/23/2021 17:43  npm install -g npm-install-missing
  915  11/23/2021 17:43  sudo npm install -g npm-install-missing
  929  11/23/2021 17:51  sudo npm install -g '@vscode/test-electron'
  932  11/23/2021 17:53  npm install -g '@vscode/test-electron'
  933  11/23/2021 17:54  npm install '@vscode/test-electron'
  983  11/23/2021 21:04  sudo npm install -g twitter
  993  11/23/2021 21:08  node install twitter
  994  11/23/2021 21:09  node install
  995  11/23/2021 21:10  npm install --save twitter
 1000  11/23/2021 21:12  code --install-extension kk-extension-0.0.1.vsix
 1035  11/24/2021 10:41  sudo apt install ./code_1.62.3-1637137107_amd64.deb
アプリ/エディタ/vscode.1637725898.txt.gz · 最終更新: 2021/11/24 12:51 by hirono2021