question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content assist, Outline view and hovering doesn't work. Wrong settings or bug?

See original GitHub issue

Content assist works only once on every Eclipse restart. Outline view and hovering never work. Is it possible to use Eclipse IDE for Rust with Debian version of rust?

I start Eclipse, write io:: <Ctrl+Space> => io::stdin() <.> => io::stdin().read_line(); Completion works. If I try to do it once again on the next line after io:: It doesn’t work and shows only unimplemented, println, for and some other global common variants. Also hovering on foo doesn’t mark occurences.

Here is the test code I found somewhere here on issues.

use std::io;

fn main() {
    io::stdin().read_line(buf); // Content assist worked well here.
    io::stdin(). // Here didn't.
    let foo = 1; // Howering here does nothing.
    {
        let foo = 2;
        println!("{}", foo);
    }
    println!("{}", foo);
}

Commands outputs below rustc --version rustc 1.24.1

rustup toolchain list

stable-x86_64-unknown-linux-gnu
1.24.1-x86_64-unknown-linux-gnu (default)

pgrep -l rls

13743 rls

cat /proc/13743/cmdline /home/***/.rustup/toolchains/1.24.1-x86_64-unknown-linux-gnu/bin/rls

IDE Settings: rust_prefs

IDE Error log: errorlog

RLS Log

IDE download from official website with built-in Corrosion, EGit, etc… default eclipse.ini wasn’t changed.

** Info** Eclipse IDE for Rust Developers Version: 2018-12 (4.10.0) Build id: 20181214-0600 Corrosion: Rust edition in Eclipse IDE 0.3.0.201812040953 OS: Debian 9.6 rustup installed via Eclipse but I want to use 1.24.1 toolchain installed from Debian repo. Installed packages: rustc, rust-src, rust-gdb

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:24 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
IMMZcommented, Jan 22, 2019

Ok. With latest snapshots the problem disappeared.

1reaction
IMMZcommented, Jan 14, 2019

@norru I’ve installed lsp4e and Corrosion from the snapshots and now the problem with event loop exception disappeared but completion still doesn’t work and shows ‘no proposals’. On hovering on ‘ex’ I see ‘no field ex on type std::result::Result<usize, std::io::Error>’ and now on every completion list shown (for example after dot . operator) there is new warning P.S. This is a new org.eclipse.corrosion.rls.log from snapshot version of lsp4e. Corrosion: Rust edition in Eclipse IDE 0.4.0.201901091242 Language Server Protocol client for Eclipse IDE (Incubation) 0.9.0.201901110651

Read more comments on GitHub >

github_iconTop Results From Across the Web

rust - How can I confirm that Eclipse content assist works in ...
I've made sure to install RLS, and autocomplete seems to work without any problems in IntelliJ IDEA so I assume the install was...
Read more >
A Guide To Hover And Pointer Media Queries
In this article, we'll talk about how to adapt our sites to the different scenarios of a device pointer: whether it has a...
Read more >
177220 – Some patches for the specfile editor - Bugs - Eclipse
It seems my Eclipse never actually applied the patch. I have tried deleting my project and checking out again from trunk but it...
Read more >
10 Most Common Bootstrap Mistakes That Developers Make
The reasoning behind this specific issue is that making things to work on hover does not help users that have touch devices. On...
Read more >
Reformatting a Document with Messed-Up Styles
In the Style pane, hover the mouse pointer over one of the styles you want to remove from the document. A downward-pointing arrow...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found