Commit graph

26 commits

Author SHA1 Message Date
Jonathan Kelley
851abe82d5
Fix non-brace delimeters in nested macro formatting (#2831) 2024-08-13 22:47:43 -07:00
Jonathan Kelley
828cc502f1
Fix: #2604, Fix: #2240, Fix: #2341, Fix #1355 - Better error handling and and spaces handling in autofmt (#2736)
* add new autofmt sample
* Feat: implement rustfmt::skip support for rsx
* generally improve error handling with better expect messages
* wip: nested rsx formatting and expression formatting
* nested rsx formatting works
* collapse autofmt crate
* cast indent through macros
* use proper whitespace
* no more eating comments!
* Use proper error handling
2024-07-30 18:36:13 -07:00
Jonathan Kelley
1404d26455
Switch to using refs instead of owned for autofmt write block out (#2573) 2024-07-02 12:27:11 -07:00
dependabot[bot]
a1cbd32031
Bump braces from 3.0.2 to 3.0.3 in /packages/extension (#2503)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 07:05:39 -05:00
Jonathan Kelley
790b984e61
bump extension version 2024-04-24 22:41:31 -04:00
Evan Almloff
36f67bd5e2 update 0.4 doc links to 0.5 2024-03-27 20:42:07 -05:00
Jonathan Kelley
30bc7ae63f
Bump extension and relase it 2024-03-26 21:01:46 -07:00
dependabot[bot]
711f812b47
Bump follow-redirects from 1.15.4 to 1.15.6 in /packages/extension
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 02:00:43 +00:00
toxicvipa
664c9c37cc removed scheme check for formatter and fixed indent bug 2024-03-09 19:32:15 +01:00
toxicvipa
f5a57c7693 implemented formatter for selection 2024-03-09 15:06:31 +01:00
Jonathan Kelley
8f70f8936f
wip: consolidate release 2024-02-21 19:36:33 -08:00
Jonathan Kelley
be29c1fdaa
chore: move all packages onto workspace versions 2024-02-21 14:30:13 -08:00
Jonathan Kelley
d8af9b7ed1
Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Jonathan Kelley
2876a7deb2
Merge branch 'master' into feat/inline-attributes-fmt 2024-01-08 20:00:14 -08:00
dependabot[bot]
485bb6585e
Bump follow-redirects from 1.15.1 to 1.15.4 in /packages/extension
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.1 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.1...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 23:20:22 +00:00
marc2332
52cb5ff951
feat: --inline-attributes option for autofmt 2023-12-09 11:16:26 +01:00
Evan Almloff
0f2923a385 fix extension types 2023-11-02 13:17:21 -05:00
Alex Parrill
52fb080193 Use indentation settings in dx fmt and vscode extension
Adds the ability to specify an indent string to public autofmt methods - either
a sequence of spaces or a tab character.

Get the indentation style and size from rustfmt for dx fmt, or from the editor
settings for the vscode extension.

Closes #1595
2023-11-01 17:24:18 -04:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
dependabot[bot]
7a518f540f
Bump word-wrap from 1.2.3 to 1.2.4 in /packages/extension
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 01:07:27 +00:00
Jonathan Kelley
e235683242 Bump version and make clippy happy 2023-07-08 19:44:33 -07:00
Jonathan Kelley
c6a5061615 bump version 2023-07-08 19:36:54 -07:00
Jonathan Kelley
d1697642bc Update docs on extension 2023-07-08 19:36:02 -07:00
Jonathan Kelley
e96fd1ce57 Add a little bit of docs and change activation event 2023-07-08 19:27:25 -07:00
Jonathan Kelley
b5312732ba Get wasm loading in extension 2023-07-08 18:53:43 -07:00
Jonathan Kelley
f59cacb2a0 Get wasm bundling working 2023-07-08 14:24:01 -07:00