Lukas Wirth
|
5264f86242
|
Encode edition within FileId in the hir layer
|
2024-07-18 08:49:10 +02:00 |
|
Lukas Wirth
|
df5f1777b8
|
More symbol usage
|
2024-07-16 12:05:16 +02:00 |
|
Lukas Wirth
|
f2d51073d2
|
Use statics + clone instead of const until const can access statics
|
2024-07-14 17:52:59 +02:00 |
|
Lukas Wirth
|
bfb187aacd
|
Fix expression scope calculation when within macro expansions
|
2024-06-30 13:26:17 +02:00 |
|
Lukas Wirth
|
1dcb11be5d
|
Simplify some config serialization stuff
|
2024-06-11 10:45:17 +02:00 |
|
Lukas Wirth
|
9349045e09
|
Use dyn cache for Semantics macro resolution
|
2024-06-04 16:25:38 +02:00 |
|
Lukas Wirth
|
7c6f31a45b
|
Allow hir::Param to refer to other entity params aside from functions
|
2024-05-18 12:35:55 +02:00 |
|
Lukas Wirth
|
aaa5426fec
|
internal: Add StaticLifetime to hir API
|
2024-05-16 08:02:51 +02:00 |
|
Lukas Wirth
|
a39c0493a1
|
Render literal escaping errors in hovers
|
2024-05-13 12:51:57 +02:00 |
|
Lukas Wirth
|
3b9a2af21f
|
Peek for panic message in test output
|
2024-04-21 08:50:25 +02:00 |
|
Lukas Wirth
|
597c293a69
|
Adjust package.json semantic highlighting items
|
2024-04-15 17:00:03 +02:00 |
|
Lukas Wirth
|
6b98e55dbb
|
Add Static and Const highlighting token types
|
2024-04-15 16:54:17 +02:00 |
|
bors
|
3691380c35
|
Auto merge of #16920 - Veykril:clippy-lints, r=Veykril
internal: Fix new nightly clippy lints
|
2024-04-01 16:00:18 +00:00 |
|
Lukas Wirth
|
2ae3e57c26
|
Fix new clippy lints
|
2024-04-01 17:55:56 +02:00 |
|
dfireBird
|
20b12c2bac
|
fix lifetime length are not added in count of params in highlight
|
2024-03-27 23:21:17 +05:30 |
|
Lukas Wirth
|
8e324e98a1
|
Rename ProcMacroKind::FuncLike to Bang
|
2024-03-22 11:20:56 +01:00 |
|
Lukas Wirth
|
20d521db74
|
Adjust benchmark_syntax_highlighting_parser for changes
|
2024-03-17 11:38:10 +01:00 |
|
Lukas Wirth
|
77607ab99a
|
More precise highlighting rules for constant modifier
|
2024-03-17 11:26:05 +01:00 |
|
Lukas Wirth
|
23fff55f0c
|
Split SymbolKind::Function into Function and Method
|
2024-03-17 11:07:22 +01:00 |
|
Lukas Wirth
|
c8f6655327
|
Don't emit modifiers depending on the symbol kind in lsp conversion layer
|
2024-03-17 10:40:32 +01:00 |
|
Lukas Wirth
|
66adc1cc94
|
Emit Const modifier in syntax highlighting for const-like things
|
2024-03-17 10:35:33 +01:00 |
|
Lukas Wirth
|
d2f8eae2ec
|
feat: Support macro calls in eager macros for IDE features
|
2024-03-14 15:40:35 +01:00 |
|
Shoyu Vanilla
|
fc11216ad5
|
feat: Add proc macro semantic token type
|
2024-03-11 22:14:59 +09:00 |
|
Lukas Wirth
|
91554e0ae7
|
fix: Fix modules in blocks not resolving in ide layer
|
2024-02-26 14:54:47 +01:00 |
|
Lukas Wirth
|
2ebf0c87c2
|
Deduplicate some code
|
2024-02-10 01:51:22 +01:00 |
|
Lukas Wirth
|
963568b46f
|
feat: IDE features for primitive tuple fields
|
2024-01-06 15:04:58 +01:00 |
|
Lukas Wirth
|
80dc20f7d8
|
fix: Don't print proc-macro panic backtraces in the logs
|
2023-12-06 17:49:48 +01:00 |
|
Lukas Wirth
|
634d588fd7
|
Simplify
|
2023-12-06 14:36:39 +01:00 |
|
Lukas Wirth
|
9b7ec5e31b
|
Ignore strings in token trees in syntax highlighting
|
2023-12-05 17:07:00 +01:00 |
|
Lukas Wirth
|
fe0a85ca29
|
Resolve implicit format args in syntax highlighting
|
2023-12-05 17:07:00 +01:00 |
|
Lukas Wirth
|
30093a6d81
|
spans always come from real file
|
2023-11-28 10:55:39 +01:00 |
|
Lukas Wirth
|
890eb17b4e
|
Replace ID based TokenMap with proper relative text-ranges / spans
|
2023-11-28 10:55:39 +01:00 |
|
Lukas Wirth
|
c0e402637e
|
Emit builtin#format_args in builtin format_args expander
|
2023-09-06 18:08:20 +02:00 |
|
Lukas Wirth
|
3431d586e5
|
Insert builtin#asm into asm! expansion
|
2023-09-05 14:00:49 +02:00 |
|
Lukas Wirth
|
9b8eb807a3
|
Parse builtin# syntax
|
2023-09-05 10:36:35 +02:00 |
|
Lukas Wirth
|
b1575528c0
|
Move doc comment handling into ide-db
|
2023-09-02 16:27:26 +02:00 |
|
Lukas Wirth
|
6e2c3f610b
|
Remove suspicious unwrap
|
2023-08-02 12:18:10 +02:00 |
|
Lukas Wirth
|
bcff166b3a
|
Add ExternCrateDecl to HIR
|
2023-08-02 11:52:55 +02:00 |
|
Lukas Wirth
|
a5059da57a
|
Update test fixture
|
2023-08-01 13:13:56 +02:00 |
|
Lukas Wirth
|
c7b34e4873
|
fix: Strip unused token ids from eager macro input token maps
|
2023-07-31 17:12:17 +02:00 |
|
oxalica
|
51b35ccb1b
|
Add comments for why skip highlighting for invalid char/byte literals
|
2023-07-23 04:24:35 +08:00 |
|
oxalica
|
1f35e4d3f1
|
Introduce invalidEscapeSequence semantic token type
|
2023-07-19 15:12:53 +08:00 |
|
oxalica
|
59a3e42ac9
|
Fix unescaping of C string literals
|
2023-07-18 18:52:34 +08:00 |
|
oxalica
|
de1f766820
|
Fix highlighting of byte escape sequences
Currently non-UTF8 escape sequences in byte strings and any escape
sequences in byte literals are ignored.
|
2023-07-17 22:52:58 +08:00 |
|
Lukas Wirth
|
6a7b905c86
|
Fix the eager token maps by re-mapping the textranges between the input and input expansion
|
2023-07-13 09:22:38 +02:00 |
|
Lukas Wirth
|
2366c16bf9
|
Fix eager token mapping panics
|
2023-07-11 13:54:28 +02:00 |
|
Lukas Wirth
|
a02b9b279e
|
internal: Lazy eager macros
|
2023-06-09 13:02:13 +02:00 |
|
Lukas Wirth
|
dc7c6d43c7
|
Slightly shrink DefMap
|
2023-06-01 14:46:36 +02:00 |
|
hkalbasi
|
51368793b4
|
MIR episode 6
|
2023-05-28 23:25:15 +03:30 |
|
bors
|
9ce95674e8
|
Auto merge of #14837 - Veykril:rustc-lexer, r=Veykril
Support c string literals
|
2023-05-18 11:55:38 +00:00 |
|