Skip to content

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Jun 26, 2020

This completes the formatting work for #785 to hook up the = expression to format.

Currently, we rely on a range formatter and/or a document formatter to be available in order to process formats. This adds a basic default strategy, using the language configuration (increaseIndentExpression / decreaseIndentExpression) to apply formatting edits, if there is no extension available.

Fixes #785

Todo:

  • Get correct language configuration for buffer
  • Hook up format logic
  • Hook up range evaluations

@bryphe bryphe added the WIP label Jun 26, 2020
@bryphe bryphe removed the WIP label Jun 27, 2020
@bryphe bryphe merged commit 59c3513 into master Jun 30, 2020
@bryphe bryphe deleted the feat/formatting/785/default-formatter branch June 30, 2020 14:18
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.

Bug: = deletes instead of reformatting

1 participant