mirror of
https://github.com/moyf/easy-copy.git
synced 2026-07-22 05:43:47 +00:00
- Fix false positive when cursor is between two code blocks: the old upward search couldn't distinguish closing fences from opening ones - Fix nested fence support: closing fence must be >= opening fence length per CommonMark spec; shorter inner fences are now treated as content lines - Extract detection logic to pure function detectCodeBlockFromLines in src/codeBlockDetect.ts for testability - Add 37 unit tests covering the bug scenario, nested fences, unclosed blocks, all CodeBlockBehavior modes, and fence-line edges
33 lines
451 B
Text
33 lines
451 B
Text
# vscode
|
|
.vscode
|
|
|
|
# Intellij
|
|
*.iml
|
|
.idea
|
|
|
|
# npm
|
|
node_modules
|
|
|
|
# Don't include the compiled main.js file in the repo.
|
|
# They should be uploaded to GitHub releases instead.
|
|
main.js
|
|
|
|
# Exclude sourcemaps
|
|
*.map
|
|
|
|
# obsidian
|
|
data.json
|
|
|
|
# Exclude macOS Finder (System Explorer) View States
|
|
.DS_Store
|
|
|
|
# Exclude Windows Explorer (Resource Manager) View States
|
|
Thumbs.db
|
|
|
|
# Exclude zip
|
|
*.zip
|
|
easy-copy/
|
|
|
|
# env
|
|
.env
|
|
/.sisyphus
|