Skip to content

⬆️ rust-analyzer #100303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 58 commits into from
Aug 9, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
a63b5d3
feat: Only flycheck workspace that belongs to saved file
Veykril Jul 18, 2022
25391e6
Only clear diagnostics of workspaces who have been flychecked
Veykril Jul 20, 2022
d73b0d5
Don't filter flychecks by package member status
Veykril Jul 20, 2022
a969481
Add syntax fixup for while loops
palango Jul 26, 2022
c16e4f2
Add syntax fixup for `loop`
palango Jul 27, 2022
d40ab66
fix: remove whitespaces from doctest names
lowr Aug 1, 2022
5edbdd1
Auto merge of #12918 - lowr:fix/doctest-names, r=Veykril
bors Aug 1, 2022
bd7dfac
Fix r-a spelling in some places
Aug 1, 2022
9c96073
Publish extension for 32-bit ARM systems
Aug 1, 2022
caf8a64
Set linker
Aug 1, 2022
64090ee
Fix target check
Aug 1, 2022
b72ff95
Fix linker env var name
lnicola Aug 1, 2022
cfbada4
Upload arm-unknown-linux-gnueabihf build artifact
lnicola Aug 1, 2022
c71f1e7
Don't run on PRs
Aug 1, 2022
8e38833
Auto merge of #12920 - jonas-schievink:arm-release, r=jonas-schievink
bors Aug 1, 2022
c6c0ac2
Auto merge of #12919 - jonas-schievink:speling, r=jonas-schievink
bors Aug 2, 2022
113f1db
Auto merge of #12880 - palango:while-fixup, r=Veykril
bors Aug 2, 2022
405dd77
Support adding variants via structural editing
DorianListens Jul 20, 2022
bea1fec
convert generate_enum_variant to use add_variant
DorianListens Jul 20, 2022
15d8049
Support tuple fields in generate_enum_variant
DorianListens Jul 20, 2022
e4638de
Support record fields in generate_enum_variant
DorianListens Jul 20, 2022
111694d
Be more strict about supported Paths in generate_enum_variant
DorianListens Aug 2, 2022
1980c11
Support PathPat paths in generate_enum_variant
DorianListens Aug 2, 2022
1c03f45
Auto merge of #12837 - DorianListens:dscheidt/generate-enum-data, r=V…
bors Aug 2, 2022
9a447c0
Use the release branch in xtask promote
lnicola Aug 3, 2022
a02b042
Auto merge of #12930 - lnicola:subtree-branch, r=lnicola
bors Aug 3, 2022
c203ac2
Add more constructors for la-arena
oxalica Aug 3, 2022
10f870e
Impl entry-API for la_arena::ArenaMap
oxalica Aug 3, 2022
a8a6c16
Use an empty expander for ignored non-attribute proc-macros
Veykril Aug 3, 2022
2bc9a2d
Auto merge of #12933 - Veykril:proc-ignored, r=Veykril
bors Aug 3, 2022
46d6357
Add a setting to disable comment continuation in VSCode
Veykril Aug 3, 2022
4904b2b
Auto merge of #12934 - Veykril:typing, r=Veykril
bors Aug 3, 2022
49dac40
on hover fallback error, adds ast::type as possible node
jean-santos Aug 3, 2022
df9d3db
Trigger flycheck on all transitive dependencies as well
Veykril Aug 4, 2022
5698e51
tidy formatting
jean-santos Aug 4, 2022
c6a9fbf
Auto merge of #12939 - jean-santos:errors-ide-hover-wrong-place, r=Ve…
bors Aug 4, 2022
df7f755
Don't flycheck while the workspace is being loaded
Veykril Aug 4, 2022
0fe3bcf
Auto merge of #12808 - Veykril:check-workspace, r=Veykril
bors Aug 4, 2022
30c4f9f
Update bug_report.md
Veykril Aug 5, 2022
d94a42d
Update bug_report.md
Veykril Aug 5, 2022
cb52271
Auto merge of #12946 - rust-lang:issue-template, r=lnicola
bors Aug 5, 2022
6a17372
Don't switch workspace on vfs file changes from libraries
Veykril Aug 5, 2022
d6e78b0
feat: Handle operators like their trait functions in the IDE
Veykril Aug 5, 2022
352d3c6
Fix visibilities
Veykril Aug 5, 2022
8aa50e0
Simplify
Veykril Aug 5, 2022
2364788
Auto merge of #12948 - Veykril:classify-ops, r=Veykril
bors Aug 5, 2022
6bf674c
fix: Fix incorrect token pick rankings
Veykril Aug 5, 2022
97038e5
Auto merge of #12949 - Veykril:token-pick, r=Veykril
bors Aug 5, 2022
3792720
Auto merge of #12947 - Veykril:switch-workspace, r=Veykril
bors Aug 5, 2022
5170569
Auto merge of #12931 - oxalica:feat/la-arena-apis, r=lnicola
bors Aug 6, 2022
e8a9bc0
run stable fmt through rustup
stanciuadrian Aug 6, 2022
d9e462f
Auto merge of #12953 - stanciuadrian:fmt, r=lnicola
bors Aug 6, 2022
1a94193
Impl more methods and traits for la_arena::ArenaMap
oxalica Aug 6, 2022
326ffee
Returns the old value for la_arena::ArenaMap::insert
oxalica Aug 6, 2022
eca6f2e
Fix test_rainbow_highlighting gate
lnicola Aug 7, 2022
6ec9125
Auto merge of #12959 - lnicola:rainbows-again, r=lnicola
bors Aug 7, 2022
634cfe3
Auto merge of #12956 - oxalica:feat/la-arena-apis, r=lnicola
bors Aug 7, 2022
f1e801b
:arrow_up: rust-analyzer
lnicola Aug 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/ide/src/call_hierarchy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use ide_db::{
search::FileReference,
FxIndexMap, RootDatabase,
};
use syntax::{ast, AstNode, SyntaxKind::NAME, TextRange};
use syntax::{ast, AstNode, SyntaxKind::IDENT, TextRange};

use crate::{goto_definition, FilePosition, NavigationTarget, RangeInfo, TryToNav};

Expand Down Expand Up @@ -79,7 +79,7 @@ pub(crate) fn outgoing_calls(db: &RootDatabase, position: FilePosition) -> Optio
let file = sema.parse(file_id);
let file = file.syntax();
let token = pick_best_token(file.token_at_offset(position.offset), |kind| match kind {
NAME => 1,
IDENT => 1,
_ => 0,
})?;
let mut calls = CallLocations::default();
Expand Down
2 changes: 1 addition & 1 deletion crates/ide/src/goto_implementation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub(crate) fn goto_implementation(

let original_token =
pick_best_token(syntax.token_at_offset(position.offset), |kind| match kind {
IDENT | T![self] => 1,
IDENT | T![self] | INT_NUMBER => 1,
_ => 0,
})?;
let range = original_token.text_range();
Expand Down