aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions/attribute.rs
Commit message (Collapse)AuthorAgeFilesLines
* Improve completion of cfg attributesJamie Cunliffe2021-06-211-0/+15
| | | | | | | | | | | | The completion of cfg will look at the enabled cfg keys when performing completion. It will also look crate features when completing a feature cfg option. A fixed list of known values for some cfg options are provided. For unknown keys it will look at the enabled values for that cfg key, which means that completion will only show enabled options for those.
* Merge #9313bors[bot]2021-06-171-2/+1
|\ | | | | | | | | | | | | | | 9313: fix: Don't complete keywords in attributes inside expressions r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * Don't complete keywords in attributes inside expressionsLukas Wirth2021-06-171-2/+1
| |
* | Complete `repr` attribute parametersLukas Wirth2021-06-171-0/+2
|/
* Less filtering in completion testsLukas Wirth2021-06-171-2/+4
|
* Move test_utils into tests moduleLukas Wirth2021-06-161-2/+2
|
* tree-wide: make rustdoc links spiky so they are clickableJade2021-06-141-1/+1
|
* Don't complete values in type positionLukas Wirth2021-06-081-2/+2
|
* Complete third-party attributesLukas Wirth2021-06-041-0/+19
|
* Generate default lint completionsLukas Wirth2021-06-041-3/+2
|
* Don't take the parent kind of trailing attributes in attr completionLukas Wirth2021-05-311-3/+53
|
* Fix incorrect prefer_inner calls on some attribute completionsLukas Wirth2021-05-301-6/+31
|
* Add some lint completion testsLukas Wirth2021-05-291-14/+12
|
* simplifyLukas Wirth2021-05-291-83/+90
|
* Add another attribute completion testLukas Wirth2021-05-281-5/+20
|
* Add attribute completion testsLukas Wirth2021-05-281-8/+399
|
* tt muncher timeLukas Wirth2021-05-271-27/+55
|
* Split attribute completion module into attribute, derive and lint modulesLukas Wirth2021-05-271-366/+8
|
* Attribute completion is context awareLukas Wirth2021-05-271-28/+141
|
* Merge hir::MacroDef::is_* into hir::MacroDef::kindLukas Wirth2021-03-231-1/+2
|
* Unify namingAleksey Kladov2021-03-121-9/+9
|
* use references in CompletionItem's builderyonip232021-03-111-16/+19
|
* Don't complete `super` unless its valid in pathsLukas Wirth2021-03-031-1/+2
|
* feat(completion): add doc(hidden) completion for attributesBenjamin Coenen2021-02-201-0/+3
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* rename completion -> ide_completionAleksey Kladov2021-02-171-0/+557
We don't have completion-related PRs in flight, so lets do it