Skip to content

Add formatting logic to the extension - #8

Open
ikripaka wants to merge 5 commits into
masterfrom
feat/formatter
Open

Add formatting logic to the extension#8
ikripaka wants to merge 5 commits into
masterfrom
feat/formatter

Conversation

@ikripaka

@ikripaka ikripaka commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

This pr continues the formatter implementation in a simplified way

  • Add needed settings for the formatter
  • Refactor a little bit to be general for both LSP and formatter
  • Update .gitignore and README

Closes #4

@ikripaka
ikripaka force-pushed the feat/formatter branch 2 times, most recently from 9f8ed1c to 97a9cdd Compare August 26, 2026 15:08
@ikripaka
ikripaka marked this pull request as ready for review August 26, 2026 15:26
@ikripaka
ikripaka requested review from KyrylR and gerau as code owners August 26, 2026 15:26

@gerau gerau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0400cb9; tested locally

* add promises for updating to reduce repeated actions
* add constants for binary discovery
* add update state hook in activation
Comment thread src/update/crates_io.test.ts Outdated
);
});

void test("rejects unsupported binaries without making a request", async () => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test is failing

we should probably figure out why tests are not running in CI...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed that test. By now, all our binaries are supported and statically verified because of strict types.

* all our binaries are supported
@gerau

gerau commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

ACK 9ff7d71; tested locally

@KyrylR

KyrylR commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Maybe better to wait for the simplex fmt and rely on that for the formatting

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.

3 participants