HN 표시: Code Jump Tracker – 다시 "정의로 이동" 후에 길을 잃지 마세요.
hackernews
|
|
🔬 연구
#review
#vs code
#개발 도구
#생산성
#코드 탐색
#확장 프로그램
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
개발자는 코드 리뷰 중 큰 코드베이스에서 방향을 잃지 않도록 돕는 VS Code 확장 프로그램 'Code Jump Tracker'를 공개했습니다. 이 도구는 '정의로 이동(Go to Definition)' 등의 이동 경로를 자동으로 기록하고 사이드바에 표하여, 기본 기능과 달리 사용자가 스택 히스토리를 시각적으로 확인하고 특정 파일로 쉽게 되돌아갈 수 있게 해줍니다. 또한 핵심 함수를 고정(Pinning)하거나 중복을 제거한 위치 목록을 유지하는 등의 기능을 제공하며, 워크스페이스별로 상태를 저장해 편집기를 재시작해도 기록을 유지합니다.
본문
A VS Code extension that visually manages your code jump history. It provides intuitive history management in the sidebar -- similar to pushd / popd in the shell -- so you never get lost in complex codebases. - Auto-tracking -- Automatically records cross-file navigations and large line jumps (10+ lines) within the same file. Small cursor movements and keyboard selections are excluded - Manual bookmarking -- Bookmark any location via the editor/gutter context menu or a keyboard shortcut - Two sidebar views -- Switch between "History Log" (deduplicated visit history) and "File Group" (entries grouped by file) - Gutter pin icon -- Displays a pin 📌 icon on manually bookmarked lines for quick visual identification - Keyboard navigation -- Navigate back and forward through history with shortcuts - Persistence -- History is saved per workspace and fully restored after restart - Sort toggle -- Switch between newest-first and oldest-first ordering - Active file highlight -- Highlights entries for the currently open file in the sidebar Displays a deduplicated list of visited locations. - Symbol-type icons (function, class, etc.) - Pin icon for manually bookmarked entries - Click any item to jump to that location - Delete individual entries via the context menu - Toggle sort order (newest / oldest first) Displays history entries grouped by file in a tree view. - Root node: file name and entry count - Child nodes: entries within the file (sorted by line number) - Duplicate entries for the same file and line are automatically removed | Command | ID | Description | |---|---|---| | Push to Tracker | codeJumpTracker.pushManual | Manually add the current location to history | | Go Back | codeJumpTracker.goBack | Navigate to the previous history entry | | Go Forward | codeJumpTracker.goForward | Navigate to the next history entry | | Clear All History | codeJumpTracker.clearAll | Delete all history entries | | Delete | codeJumpTracker.deleteItem | Delete the selected item | | Navigate to Entry | codeJumpTracker.navigateToEntry | Jump to a history entry | | Sort: Newest First | codeJumpTracker.sortOrderDesc | Sort by newest first | | Sort: Oldest First | codeJumpTracker.sortOrderAsc | Sort by oldest first | | Action | Windows / Linux | macOS | |---|---|---| | Go back | Alt+Shift+Left | Ctrl+Shift+- | | Go forward | Alt+Shift+Right | Ctrl+Shift+= | | Push to Tracker | Alt+Shift+P | Ctrl+Shift+P | The following settings are available in settings.json . | Setting | Type | Default | Range | Description | |---|---|---|---|---| codeJumpTracker.maxHistorySize | number | 50 | 1 -- 500 | Maximum number of history entries. Oldest entries are automatically removed when the limit is exceeded | - Node.js - npm npm install npm run build Press F5 in VS Code to launch the Extension Development Host. | Script | Description | |---|---| npm run build | Bundle build with esbuild | npm run watch | Watch mode build | npm run package | Generate VSIX package | Common tasks can also be run with make . | Target | Description | |---|---| make install | npm install | make build | Production build | make watch | Watch mode build | make clean | Remove dist/ and *.vsix | make package | Generate VSIX package | make local-install | Build and locally install in one step | make dev | install + build (ready for F5 launch) |
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유