次世代 Hugo

無駄を削ぎ、本質を研ぐ

我的 WebStorm 基本設定

Sam Xiao's Avatar 2025-12-05

本文記錄我的 WebStorm 基本設定。

Version

WebStorm 2025.2.5

Shell Script Name

ws04

  • Shell script namews

Appearance

ws01

  • ThemeDarcula
  • Use custom font
    • 13Dialog 16
    • 15Dialog 17
    • 16Dialog 18

Compact Mode

ws09

  • Compact modeOn

Editor Font

ws02

  • FontFira Code
  • Size
    • 1319.0
    • 1521.0
    • 1623.0
  • Line height1.2
  • Main weightMedium
  • Fallback fontMenlo

Backgroud Color

ws14

  • Background#2B2B2B

Console Font

ws03

  • Use console font instead of the defaultOn
  • FontMenlo
  • Size
    • 16"23
  • Line height1.0

Code Folding

ws16

  • General
    • File headerOn
    • ImportsOn
    • Documentation commentsOn
    • Method bodiesOff
    • Custom folding regionsOn

Appearance

ws12

  • Show line numbersRelative
  • Show method separatorsOn
  • Show whitespacesOn
    • LeadingOn
    • InnerOn
    • TrailingOn
    • SelectionOn
  • Show indent guidesOff
  • Show CSS color preview as backgroundOn

ws15

  • Show breadcrumbsOn
    • PlacementBottom
  • Languages
    • CSS
    • HTML
    • JavaScript
    • JSON
    • Sass
    • SCSS
    • YAML

Editor Tabs

ws05

  • Tab placementNone

Gutter Icons

ws13

  • Show gutter iconsOff

Sticky Lines

ws20

  • Show sticky lines while scrollingOff

Appearance

ws06

  • Compact ModeOn
  • ToolbarOff
  • Navigation BarTop
  • Tool Window BarsOff
  • Status BarOff

Active Editor

ws07

  • Show WhitespaceOn
  • Show Line NumbersOn
  • Show Import PopupsOn

Project Options

ws08

  • Behavior:
    • Enable Preview TabOn
    • Open Files with Single ClickOn
    • Open Directories with Single ClickOn
    • Always Select Openned FileOn

ws18

Appearance

  • Excluded FilesOff
  • Scratches and ConsolesOff

Inlay Hints

ws10

  • Code visionOff
  • Parameter namesOff
  • TypesOff
  • ValuesOff
  • Method chainsOff
  • OtherOff

Tool Windows

ws11

  • Project:⌘ 1
  • npm:⌘ 2
  • Structure:⌘ 3
  • Terminal:⌘ 4

Keymap

  • Go to File:⌘ P

Plugins

ws19

  • 安裝 GitHub Copilot

Custom Menu

ws21

  • 移除 Build、Refactor、Run、Tools、Git、Help
  • 剩下 File、Edit、View、Navigate、Code、Window