Skip to content

Conversation

fda-odoo
Copy link
Collaborator

No description provided.

@fda-odoo fda-odoo added this to the 1.1.0 milestone Oct 14, 2025
@fda-odoo fda-odoo requested a review from mmahrouss October 14, 2025 15:34
@fda-odoo fda-odoo self-assigned this Oct 14, 2025
@fda-odoo fda-odoo added the enhancement New feature or request label Oct 14, 2025
if alias.range().contains(TextSize::new(offset)) {
let mut is_last = false;
let (to_analyze, range) = if alias.name.range().contains(TextSize::new(offset)) {
let next_dot_offset = alias.name.id.as_str()[offset as usize - alias.range().start().to_usize()..].find(".");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we get the range of the name, not the whole alias? They probably have the same start, it is probably okay either way. Maybe for readability?

alias.name.range().start().to_usize()

@fda-odoo fda-odoo force-pushed the alpha-imports-hover-fda branch from 1985f04 to 59a0e45 Compare October 16, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants