gregorni
|
53534d08b0
|
formatter.py: Use prev_line_type more often
|
2023-09-18 16:43:24 +02:00 |
|
gregorni
|
1e0251fcce
|
formatter.py: Improve imports
|
2023-09-17 14:46:14 +02:00 |
|
gregorni
|
91e00ee6ac
|
Formatter: No newline between comments and opening tokens
|
2023-09-17 14:43:11 +02:00 |
|
gregorni
|
2851dffe06
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-09-17 12:38:15 +02:00 |
|
gregorni
|
aac03a02d9
|
formatter.py: stuff more logic into variables
|
2023-09-17 12:18:22 +02:00 |
|
gregorni
|
025f2d4dae
|
Formatter: Better handle nested lists
|
2023-09-17 11:46:15 +02:00 |
|
gregorni
|
f777c531e4
|
Apply some of @jwestman's suggestions
|
2023-09-17 10:10:25 +02:00 |
|
James Westman
|
455924e22f
|
tests: Add another formatter test
|
2023-09-16 14:01:18 -05:00 |
|
Marco Capypara Köpcke
|
80cb57cb88
|
batch-compile: Fix mixing relative+absolute paths
|
2023-09-16 16:41:43 +00:00 |
|
gregorni
|
8d7103dbe5
|
Formatter: Handle item (a, b, c) syntax
|
2023-09-16 15:52:23 +02:00 |
|
gregorni
|
8dc0abd0ca
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-09-16 15:32:48 +02:00 |
|
gregorni
|
e37e5180cf
|
Formatter: Handle properties after child
|
2023-09-16 15:29:45 +02:00 |
|
James Westman
|
057c767fbb
|
typelib: Fix byte order issue
|
2023-09-14 10:19:49 -05:00 |
|
Jerry James
|
0c02195510
|
Handle big endian bitfields correctly
|
2023-09-13 08:43:54 -06:00 |
|
gregorni
|
ffff63da41
|
Formatter: Handle lists with only 1 item correctly
|
2023-09-09 17:50:13 +02:00 |
|
gregorni
|
41042b0a78
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-09-08 10:40:24 +02:00 |
|
gregorni
|
825f6e3b15
|
Formatter: adapt to unittest
|
2023-09-08 09:56:52 +02:00 |
|
gregorni
|
13b66e2875
|
Formatter: LSP: Return TextEdit as JSON
|
2023-09-07 21:59:20 +02:00 |
|
James Westman
|
19d0410ea0
|
tests: Add formatter test
|
2023-09-07 13:00:15 -05:00 |
|
James Westman
|
3cd5daf025
|
Fix a crash found by the fuzzer
|
2023-09-07 12:13:05 -05:00 |
|
gregorni
|
461ef19a46
|
Run black
|
2023-09-03 18:44:58 +02:00 |
|
gregorni
|
1dc913c5c1
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-09-03 18:42:24 +02:00 |
|
James Westman
|
0f5be1b051
|
docs: Use correct lexer name for code blocks
|
2023-08-31 14:58:29 -05:00 |
|
gregorni
|
949ee638f6
|
Run isort
|
2023-08-30 17:57:45 +02:00 |
|
gregorni
|
ae363ed60b
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-08-30 17:57:31 +02:00 |
|
Sonny Piers
|
a8512d83f3
|
doc: Cleanup the Flatpak module
|
2023-08-30 13:49:18 +02:00 |
|
gregorni
|
4f5c1537dd
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-08-29 22:55:14 +02:00 |
|
gregorni
|
bce4fb77d9
|
Formatter: Attempt at implementing into LSP (untested)
|
2023-08-29 22:50:55 +02:00 |
|
gregorni
|
bf3917099a
|
Implement setting tabs and spaces for indents
|
2023-08-27 16:45:11 +02:00 |
|
gregorni
|
afba576da0
|
Formatter: Insert newline before some child types
|
2023-08-24 17:05:25 +02:00 |
|
gregorni
|
35e96964da
|
Formatter: Default to printing diff & add --fix option
|
2023-08-24 14:01:08 +02:00 |
|
gregorni
|
d9fac2897f
|
Formatter: String default to single quotes
|
2023-08-23 23:53:51 +02:00 |
|
gregorni
|
aa4f23e08b
|
Merge branch 'formatter-lists-vs-childtypes' into 'formatter'
Formatter: Distinguish child types and lists
See merge request gregorni/blueprint-compiler!2
|
2023-08-23 20:56:26 +00:00 |
|
gregorni
|
1012867391
|
Formatter: Distinguish child types and lists
|
2023-08-23 20:56:26 +00:00 |
|
z00000000z
|
bcac788456
|
completions: property_completer improvements
|
2023-08-23 16:21:37 +00:00 |
|
gregorni
|
c094e863f7
|
formatter.py: put more code into commit_current_line
|
2023-08-23 00:02:22 +02:00 |
|
gregorni
|
aee36ca48b
|
Revert "formatter.py: bundle adding to end string into function"
This reverts commit d53e027610 .
|
2023-08-23 00:01:02 +02:00 |
|
gregorni
|
c9ba06b4a4
|
formatter.py: Rename variable for clarity
|
2023-08-22 16:52:24 +02:00 |
|
gregorni
|
d53e027610
|
formatter.py: bundle adding to end string into function
|
2023-08-22 16:32:09 +02:00 |
|
gregorni
|
f539aeb93d
|
Formatter: Improve inserting whitespace
|
2023-08-21 23:44:58 +02:00 |
|
gregorni
|
23d1f77b25
|
Formatter: Remove whitespace-line remover
Removing lines only containing whitespace is superflous, such lines never get added to `tokenized_str`
|
2023-08-21 23:25:18 +02:00 |
|
gregorni
|
babcc42ea2
|
Formatter: Fix newlines missing sometimes
|
2023-08-21 23:14:11 +02:00 |
|
gregorni
|
e165ea5594
|
Merge branch 'formatter-different-approach' into 'formatter'
Formatter: Try different approach
See merge request gregorni/blueprint-compiler!1
|
2023-08-21 21:04:25 +00:00 |
|
gregorni
|
317de07d41
|
Formatter: Try different approach
|
2023-08-21 21:04:25 +00:00 |
|
gregorni
|
b0d6d7a31b
|
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
|
2023-08-15 18:46:59 +02:00 |
|
gregorni
|
441a7a38bd
|
Formatter: Insert newline after comments
|
2023-08-15 17:48:56 +02:00 |
|
Ivan Kalinin
|
582502c1b4
|
completions: fix property value completion
|
2023-08-13 10:42:03 +03:00 |
|
gregorni
|
8c4eebba08
|
Formatter: Distinguish child types and lists
|
2023-08-08 18:05:41 +02:00 |
|
gregorni
|
01f67c3f47
|
Formatter.py: run black
|
2023-08-08 17:04:29 +02:00 |
|
gregorni
|
af956e9aab
|
Formatter: Improve indents at closing tokens
|
2023-08-08 17:02:08 +02:00 |
|