Skip to content
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

Update Rust ML ranking provider to 0.2.2 #7237

Merged
merged 1 commit into from May 20, 2021

Conversation

artemmukhin
Copy link
Member

Part of #6411.

This PR updates the Rust ML ranking provider version to 0.2.2. The new model takes into account Rust-specific features introduced in #6419, and so is more precise than the previous one.

In addition, this PR adds support for decorating the most relevant item with a star icon.

Screenshot 2021-05-19 at 16 22 48

This feature can be enabled via Mark the most relevant item in the completion popup option in Preferences | Editor | General | Code Completion settings.

changelog: Update experimental code completion ranking for Rust based on machine learning. The ranking model is disabled by default for now. You can enable it via Editor | General | Code Completion | Machine Learning-Assisted Completion settings.

@artemmukhin artemmukhin force-pushed the ortem/ml-completion-update-0.2.2 branch from 8c8f79d to 4c75cb0 Compare May 20, 2021 09:49
Copy link
Member

@Undin Undin left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request May 20, 2021
7237: Update Rust ML ranking provider to 0.2.2 r=Undin a=ortem

Part of #6411.

This PR updates the Rust ML ranking provider version to 0.2.2. The new model takes into account Rust-specific features introduced in #6419, and so is more precise than the previous one.

In addition, this PR adds support for decorating the most relevant item with a star icon.

<img width="725" alt="Screenshot 2021-05-19 at 16 22 48" src="https://user-images.githubusercontent.com/4854600/118829579-83d4f200-b8be-11eb-9eff-0a6e303fcd35.png">

This feature can be enabled via `Mark the most relevant item in the completion popup` option in `Preferences | Editor | General | Code Completion` settings.


changelog: Update experimental code completion ranking for Rust based on machine learning. The ranking model is disabled by default for now. You can enable it via `Editor | General | Code Completion | Machine Learning-Assisted Completion` [settings](https://www.jetbrains.com/help/idea/auto-completing-code.html#ml_completion).

Co-authored-by: ortem <ortem00@gmail.com>
@bors
Copy link
Contributor

bors bot commented May 20, 2021

Build failed:

@Undin
Copy link
Member

Undin commented May 20, 2021

bors retry

@bors
Copy link
Contributor

bors bot commented May 20, 2021

Build succeeded:

@bors bors bot merged commit 0bc66f0 into master May 20, 2021
@bors bors bot deleted the ortem/ml-completion-update-0.2.2 branch May 20, 2021 20:34
@github-actions github-actions bot added this to the v148 milestone May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants