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(agent): add experimental option: scope of indentation filter. #652

Merged

Conversation

icycodes
Copy link
Member

Complete TAB-268

Add this config to enable experimental feature:

[postprocess.limitScopeByIndentation]
keepBlockScopeWhenCompletingLine = true

When completion is continuing the current line, limit the scope to:

  • false(default): the line scope, meaning use the next indent level as the limit.
  • true: the block scope, meaning use the current indent level as the limit.

Example:
off:
Screenshot from 2023-10-27 19-30-49

on:
Screenshot from 2023-10-27 19-30-17

@icycodes icycodes marked this pull request as draft October 27, 2023 11:38
@wsxiaoys
Copy link
Member

Please add experimental prefix

@icycodes icycodes force-pushed the feat-agent-add-option-postprocess-limit-scope branch from 39ddc92 to 8a1d870 Compare October 30, 2023 02:54
@icycodes icycodes marked this pull request as ready for review October 30, 2023 02:55
@wsxiaoys wsxiaoys merged commit c51e00e into TabbyML:main Oct 30, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants