🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@rchl
Copy link
Member

@rchl rchl commented Oct 30, 2025

Make a workspace/configuration request asking for file-specific formatting options (tabSize, indentSpaces) before actions that create text edits. This is required to create edits with indentation matching the document.

The client/editor should have a custom code that handles this request and returns relevant options based on provided scopeUri. If not provided, server might generate text edits that won't match current indentation settings.

@github-actions github-actions bot added the feat label Oct 30, 2025
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
lib/cli.mjs 842.86 KB (+0.11% 🔺)

@rchl rchl changed the title feat: ask for file-specific formatting options feat: request file-specific formatting options Oct 30, 2025
@rchl rchl merged commit de89dd3 into master Oct 31, 2025
14 checks passed
@rchl rchl deleted the feat/formatting-options branch October 31, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants