Lukas Wirth
|
ab21cf2f4f
|
internal: Re-arrange ide_db modules
|
2022-03-06 19:04:04 +01:00 |
|
Lukas Wirth
|
97076c074d
|
internal: Simplify and optimize syntax_highlighting
|
2022-03-06 03:49:54 +01:00 |
|
Lukas Wirth
|
e8edbb5d6f
|
Add a macro case for the keyword highlighting test fixture
|
2022-03-06 00:26:15 +01:00 |
|
Lukas Wirth
|
d460b7c9d1
|
Fix extern crate self having self unresolved
|
2022-03-06 00:17:40 +01:00 |
|
Lukas Wirth
|
e5bb661b7a
|
Highlight Self as a keyword by default
|
2022-03-06 00:13:45 +01:00 |
|
Lukas Wirth
|
5c0aee013e
|
Fix highlighting of Self
|
2022-03-05 23:34:37 +01:00 |
|
Lukas Wirth
|
c0d6471143
|
fix: Recognize Self as a proper keyword
|
2022-03-05 23:20:06 +01:00 |
|
hkalbasi
|
4fa8749c44
|
Preserve order of generic args
|
2022-03-04 11:46:14 +03:30 |
|
Lukas Wirth
|
464dd814ca
|
slightly improve highlighting performance for derive annotated items
|
2022-03-03 22:59:34 +01:00 |
|
Lukas Wirth
|
8ded3ec9cf
|
fix: Fix semantic highlighting breaking for lifetimes in macros
|
2022-03-03 22:53:03 +01:00 |
|
Lukas Wirth
|
47ce4436e4
|
Make hir::Local::name infallible
|
2022-02-26 16:36:44 +01:00 |
|
Lukas Wirth
|
36603e0478
|
Rename test highlighting output files
|
2022-02-26 14:52:42 +01:00 |
|
Lukas Wirth
|
c99fb4b1ac
|
Split up highlighting tests a bit more
|
2022-02-26 14:45:09 +01:00 |
|
Lukas Wirth
|
48189bc1b4
|
Re-order and cleanup highlighting tests
|
2022-02-26 14:29:03 +01:00 |
|
Lukas Wirth
|
7b89d5ede2
|
internal: Expand the derive attribute into a pseudo expansion
|
2022-02-22 10:20:40 +01:00 |
|
Lukas Wirth
|
f6def3ccdf
|
fix: Fix proc-macro server not using the supplied span in Ident::new
|
2022-01-31 17:02:57 +01:00 |
|
Lukas Wirth
|
91279db2b4
|
Move format specifier lexing from syntax to ide_db
|
2022-01-15 13:14:59 +01:00 |
|
Lukas Wirth
|
82fccb971e
|
feat: Add very simplistic ident completion for format_args! macro input
|
2022-01-15 12:23:26 +01:00 |
|
Lukas Wirth
|
b32f611b6e
|
fix: Fix outline modules spilling inner doc injections into their parent
|
2022-01-08 14:54:31 +01:00 |
|
Lukas Wirth
|
ca4baa6e55
|
Use FileAstId<ast::Adt> in nameres where appropriate instead
|
2022-01-07 14:20:27 +01:00 |
|
bors[bot]
|
68bc12c3b8
|
Merge #11157
11157: internal: Remove `SemanticScope::speculative_resolve_as_mac` r=Veykril a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/11132
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2022-01-04 16:49:47 +00:00 |
|
Lukas Wirth
|
19f1ff5c70
|
give resolve_derive_ident a more robust api
|
2022-01-03 16:00:45 +01:00 |
|
Lukas Wirth
|
087122ad1a
|
fix: Fix highlighting hack for self-params
|
2022-01-03 01:32:03 +01:00 |
|
Lukas Wirth
|
6b7b09d329
|
internal: Record unresolved derive invocations in hir
|
2022-01-02 23:44:23 +01:00 |
|
Lukas Wirth
|
762a3b3030
|
Fix tool module classification not working correctly
|
2022-01-02 23:14:18 +01:00 |
|
Lukas Wirth
|
19d894cdec
|
minor: Cleanup syntax highlighting
|
2022-01-02 22:23:05 +01:00 |
|
Lukas Wirth
|
22160c418b
|
fix NameRefClass misclassifying proc-macros
|
2022-01-02 19:20:10 +01:00 |
|
Lukas Wirth
|
9eed85b171
|
fix syntactic highlighting for macros
|
2022-01-02 19:10:23 +01:00 |
|
Lukas Wirth
|
3a525c831f
|
internal: Handle macro calls better in highlighting
|
2022-01-02 19:10:10 +01:00 |
|
Lukas Wirth
|
e09d410dcd
|
Simplify
|
2021-12-07 15:06:56 +01:00 |
|
Lukas Wirth
|
9b4ca77572
|
fix: Add highlighting hack back for unresolved attributes
|
2021-12-05 11:59:07 +01:00 |
|
Lukas Wirth
|
b35a50cb10
|
fix: Fix self keyword not being tagged as such in highlighting properly
|
2021-12-04 19:07:18 +01:00 |
|
Lukas Wirth
|
e4f2d0e3a8
|
Introduce SymbolKind::Derive
|
2021-12-04 18:18:09 +01:00 |
|
Lukas Wirth
|
642c1eb720
|
Introduce SymbolKind::Attribute
|
2021-12-04 18:01:22 +01:00 |
|
Lukas Wirth
|
d174158abc
|
Rename things: Tool -> ToolModule
|
2021-12-03 17:15:19 +01:00 |
|
Lukas Wirth
|
db559e5049
|
Simplify
|
2021-12-03 17:07:06 +01:00 |
|
Lukas Wirth
|
d1677f3286
|
Remove syntax highlighting hack for builtin attrs
|
2021-12-03 16:54:34 +01:00 |
|
Lukas Wirth
|
e58af219a4
|
feat: Resolve builtin-attr and tools in ide layer
|
2021-12-03 16:32:17 +01:00 |
|
Jake Heinz
|
30b0464ed8
|
add a fixme:
|
2021-12-01 12:26:27 +00:00 |
|
Jake Heinz
|
ba92bb1ed9
|
simplify
|
2021-12-01 12:25:08 +00:00 |
|
Jake Heinz
|
d2480ecb9f
|
ide: hack to make self not unresolved reference in async trait wrapped impl's
|
2021-12-01 12:17:20 +00:00 |
|
Jake Heinz
|
b357569d0f
|
add test
|
2021-12-01 10:28:18 +00:00 |
|
Lukas Wirth
|
f3b25a6fc8
|
Disable string highlight injection for macros changing string literals
|
2021-11-23 22:13:10 +01:00 |
|
Lukas Wirth
|
77f08d0fc3
|
Split parts of ide_db::call_info off into ide
|
2021-11-22 13:23:34 +01:00 |
|
Lukas Wirth
|
7776aad166
|
internal: Flatten Definition::ModuleDef variant
|
2021-11-11 00:05:53 +01:00 |
|
Lukas Wirth
|
26419c0379
|
Fix proc-macro attributes being shadowed by their functions in IDE layer
|
2021-11-08 14:49:50 +01:00 |
|
Lukas Wirth
|
7fdbdc4ab2
|
Enable auto-import and qualify-path in derive attributes
|
2021-10-28 18:40:38 +02:00 |
|
Lukas Wirth
|
3018ffd85e
|
Refactor ide handling for paths in derive inputs
|
2021-10-28 16:47:19 +02:00 |
|
Milo
|
35e5daacc3
|
more clippy fixes
|
2021-10-16 12:32:55 +01:00 |
|
Milo
|
35de195c41
|
a few clippy fixes
|
2021-10-14 19:57:21 +01:00 |
|