Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use Deno to format parts of a document #1122

Open
KnorpelSenf opened this issue Jun 3, 2024 · 0 comments
Open

feat: use Deno to format parts of a document #1122

KnorpelSenf opened this issue Jun 3, 2024 · 0 comments

Comments

@KnorpelSenf
Copy link

Problem

I use the vim emulation in VS Code and I would like to indent the current line correctly by typing == in normal mode. However, this would require Deno to be able to format the current line only, rather than formatting the entire document.

image

Solution

I would like the Deno extension to be able to format selections/parts of a document so that it can fix indenting for the current line.

This might require prior adjustments to the LSP/dprint, but I felt like this is the best place to report it.

@nayeemrmn nayeemrmn assigned nayeemrmn and unassigned nayeemrmn Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants