GitShow/antfu/vscode-smart-clicks
antfu

vscode-smart-clicks

Smart selection with double clicks for VS Code.

by antfu
vscodevscode-extension
Star on GitHubForkWebsitenpm

TypeScript

692 stars15 forks11 contributorsQuiet · 1y agoSince 2022v0.2.2MIT

Meet the team

See all 11 on GitHub →
antfu
antfu93 contributions
Dlouxgit
Dlouxgit2 contributions
sxzz
sxzz1 contribution
kvoon3
kvoon31 contribution
Daydreamer-riri
Daydreamer-riri1 contribution
HenryTSZ
HenryTSZ1 contribution
aki77
aki771 contribution
duowb
duowb1 contribution

Languages

View on GitHub →
TypeScript95.4%
Vue4%
JavaScript0.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 2 in progress · Last activity 1y ago
See all on GitHub →
A81N9
Add quotation marks ruleOpenIssue

Clear and concise description of the problem Double-clicking the quotation mark cannot select the corresponding content. Suggested solution Add rule support for Single Quotes / Double Quotes / Template literals. e.g. ` `` Just like this Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

A81N9 · 6mo ago
KARANsinghBISHTT
feat: smart Double-Click on URLs/PathsOpenPR

Add a Smart Clicks rule that selects complete URLs and file paths. HTTP/HTTPS URLs with query parameters and fragments Relative paths with ./ and ../ prefixes Absolute Unix paths Windows paths Home directory paths with ~/ Export handler object from src/rules/url-path.ts named urlPathHandler following existing handler patterns.

KARANsinghBISHTT · 7mo ago
kallal79
HTML <script> parser crash due to unsafe child node accessOpenIssue

Describe the bug Description The HTML parser () assumes that any `childNodes[0]rangescript.range[0]applyParsertrigger.htmlvuesmartClicks.triggernode --versionpocs/*pocs/html-empty-script.htmlpocs/html-comment-only-script.htmlpocs/html-malformed-script.htmlpocs/js-invalid.jstest/poc-html-files.test.tstest/poc-js-invalid.test.tstest/html-script.test.tstest/parser-error.test.tsapplyParsertest/poc-html-files.test.tstest/ast-cache.test.tshtmlParsernode.childNodes[0]script.range[0]scriptscript.rangeapplyParserparser.handletriggerscriptscript.rangesrc/parsers/html.tsnode.range[0]applyParsersrc/parsers/index.tstry/catchastCachesrc/index.tsworkspace.onDidCloseTextDocumenttest/html-script.test.tshtmlParser.handleparseJStest/parser-error.test.tsapplyParsertest/poc-html-files.test.tstest/poc-js-invalid.test.tstest/ast-cache.test.tsapplyParsertriggerparserssrc/rules/bracket-pair.tsnew Position(Infinity, Infinity)doc.lineCount` and line lengths instead. Reproduction A minimal reproduction is required to verify the bug's existence, ensure reproducibility, and allow maintainers to debug/fix it efficiently, provided via clear steps, code snippets, or a minimal test repo. System Info Used Package Manager npm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [ ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [x] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

kallal79 · 8mo ago

Recent fixes

View closed PRs →
KARANsinghBISHTT
Add Color Code Selection SupportMergedPR

When the cursor is positioned within a color value, select the entire color. All matching is case-insensitive. Supported formats:** Hex colors: , , , RGB/RGBA: , HSL/HSLA: , Named colors: CSS keywords including , , , , Agent Instructions Create exporting with set to .

KARANsinghBISHTT · 7mo ago
kurtextrem
Incompatible with CursorClosedIssue

Hi, https://github.com/antfu/vscode-smart-clicks/blob/main/package.json#L31 sets the minimum VSCode version to 1.103, but the latest Cursor is on might be worth downgrading the version so that Cursor users can install it - unless you're using APIs that were introduced after 1.99.3 :)

kurtextrem · 8mo ago
jipika
可以考虑在webstrom制作一个吗ClosedIssue

Clear and concise description of the problem 可以考虑在webstrom制作一个吗 Suggested solution 可以考虑在webstrom制作一个吗 Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

jipika · 11mo ago
Structured data for AI agents

Repository: antfu/vscode-smart-clicks. Description: Smart selection with double clicks for VS Code. Stars: 692, Forks: 15. Primary language: TypeScript. Languages: TypeScript (95.4%), Vue (4%), JavaScript (0.6%). License: MIT. Homepage: https://marketplace.visualstudio.com/items?itemName=antfu.smart-clicks Topics: vscode, vscode-extension. Latest release: v0.2.2 (1y ago). Open PRs: 2, open issues: 16. Last activity: 1y ago. Community health: 85%. Top contributors: antfu, Dlouxgit, sxzz, kvoon3, Daydreamer-riri, HenryTSZ, aki77, duowb, jinghaihan, Gehbt.

·@ofershap

Replace github.com with gitshow.dev