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

API Request: Getting the correct indentation level of a line #25874

Closed
Chillee opened this issue May 4, 2017 · 2 comments
Closed

API Request: Getting the correct indentation level of a line #25874

Chillee opened this issue May 4, 2017 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality VIM VIM issue
Milestone

Comments

@Chillee
Copy link

Chillee commented May 4, 2017

For VSCodeVim/Vim#1017, we need to be able to move the cursor to the correct indentation level.

We can't just insert a tab, because when the cursor is at the beginning of the line, there's no way to know whether we should insert a tab or not.

Alternatively, an API call that indents the current line to the correct level would also be suitable for our purposes.

@rebornix rebornix added the VIM VIM issue label May 6, 2017
@rebornix rebornix added the feature-request Request for new features or functionality label May 26, 2017
@rebornix rebornix added this to the Backlog milestone May 26, 2017
@Chillee
Copy link
Author

Chillee commented Jun 15, 2017

For our purposes, this issue being implemented also fixes this issue:

#19847 (comment)

@Chillee
Copy link
Author

Chillee commented Nov 4, 2017

I think this is not as necessary with the other issue linked, so I'm going to close this issue for now. In addition, neovim integration also solves this issue for us.

@Chillee Chillee closed this as completed Nov 4, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality VIM VIM issue
Projects
None yet
Development

No branches or pull requests

2 participants