Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
闇鍋VS Codeをプロファイル機能できれいにする / yami-nabe-vscode
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuhei FUJITA
January 30, 2024
Programming
1.9k
7
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
闇鍋VS Codeをプロファイル機能できれいにする / yami-nabe-vscode
Yuhei FUJITA
January 30, 2024
Transcript
15 slides
闇鍋VS Code を プロファイル機能で きれいにする Yuhei FUJITA 2024-01-30@VS Code Meetup
自己紹介 名前: Yuhei FUJITA (藤 ふじ田 た 悠 ゆう平 へい)
X(Twitter): @Yuhei_FUJITA GitHub: @YuheiFUJITA コミュニティ運営: Vue Fes / PWA Night / VS Code Meetup 趣味: キャンプ / フィルムカメラ
VS Code の闇鍋化
生まれたてのVS Code まだ汚れを知らない、とても美しい姿をしている
闇鍋化したVS Code きっと幾億もの開発を経験してきたんだろう、面構えが違う
闇鍋VS Code とは 無数の拡張機能がインストールされている フロントエンド用、サーバーサイド用、データベース用、etc… 実際使うのはそのうちの一部のみ 無数の設定が入り乱れている 拡張機能が増えれば自ずと設定も増える よく見るともう無効な設定まで残ってる おっっっもい
起動するだけで時間がかかる コーディングしててもなんかもっさりする
プロファイル機能で救おう
プロファイル機能とは VS Code のあれやこれやをプロファイル単位で管理できる機能 Chrome のプロファイル機能みたいなもの 任意のワークスペースで任意のプロファイルを利用可能 git 管理するものではないので他の共同開発者には影響しない ユーザー設定や拡張機能などを一括で切り替えられる
フロントエンド用、サーバーサイド用などを用意しておくと便利
プロファイルで切り替えられるもの 設定 settings.json の中身 キーボードショートカット keybindings.json の中身 スニペット 設定しているスニペット UI
の状態 globalState.json の中身 拡張機能 インストールしている拡張機能リスト ` ` ` ` ` `
プロファイルの新規作成 1. メニュー > プロファイル > プロファイルの作成… を選択 2. プロファイル名・コピー元・アイコン・
構成内容を指定 3. 作成する 4. 作成したプロファイルに切り替わる
プロファイルの切り替え 1. メニュー > プロファイル > 切り替えたいプロファイル名 を選択 2. 選択したプロファイルに切り替わる
プロファイルのエクスポート 1. 事前にエクスポートしたいプロファイルに 切り替えておく 2. メニュー > プロファイル > プロファイルをエクスポート…
を選択 3. 出力先を選択する 4. JSON フォーマットとして出力される gist に直接エクスポートすることも可能
プロファイルのインポート 1. メニュー > プロファイル > プロファイルをインポート… を選択 2. インポート元を選択する
3. インポートしたプロファイルに切り替わる gist のURL からインポートすることも可能
まとめ 1 つのプロファイルにすべてを詰め込むとVS Code が闇鍋化する プロファイル機能を使うことでVS Code を用途ごとの最小構成にできる 言語やフレームワークごとなどでプロファイルを用意しておくと便利
関連情報 Visual Studio Code January 2023 Profiles in Visual Studio
Code
More Decks by Yuhei FUJITA
See All by Yuhei FUJITA
GitHubとVitePressによる 開発ドキュメント運用 / escape-document-death
yuhei_fujita
3
570
進化したWeb技術でPWAをネイティブアプリに近づける / frontend-conf-2023
yuhei_fujita
6
5k
ChatGPTの機能を フル活用してChatGPTを 理想の彼女Botにする / nyanju-1st
yuhei_fujita
4
5.4k
GitHub ActionsとDeployGateで始めるAndroidアプリのCICD
yuhei_fujita
2
1.6k
手動テストの運用を GASで自動化した話 / gas-manage-test-operation
yuhei_fujita
1
790
開発ドキュメントの管理・閲覧に VitePress を使ってみて感じた良かった点と注意点 / document-with-vitepress
yuhei_fujita
1
1.8k
PWAで共有機能を実装する / pwa-web-share-api
yuhei_fujita
1
970
Other Decks in Programming
See All in Programming
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
260
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
190
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
320
SODA - FACT BOOK(EN)
sodainc
1
270
Spec-driven Development with AI
simas
PRO
0
2.3k
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
500
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
360
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
200
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
230
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
220
Featured
See All Featured
Paper Plane
katiecoart
PRO
6
55k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
WCS-LA-2024
lcolladotor
0
1k
Test your architecture with Archunit
thirion
2
2.5k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Balancing Empowerment & Direction
lara
6
1.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Deep Space Network (abreviated)
tonyrice
0
420
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
550