Closed
Description
Environment
- Intellij-Rust plugin version:
Version: 0.2.0.2492-182-nightly
(87)
- Rust toolchain version:
rustc 1.32.0-nightly (14997d56a 2018-12-05)
- IDE name and version:
PhpStorm 2018.2.4
- Operating system:
macOS Mojave 10.14
Problem description
There is no auto complete for the web-sys
crate.
Steps to reproduce
- Add
web-sys
as a dependency
[dependencies.web-sys]
version = "=0.3.6"
features = [
'Document',
'Element',
'HtmlCanvasElement',
'HtmlElement',
'Node',
'WebGlBuffer',
'WebGlProgram',
'WebGlRenderingContext',
'WebGlShader',
'WebGlVertexArrayObject',
'WebGlUniformLocation',
'Window',
'console',
]
- Type
web_sys::
and the only autocomplete suggestion will beweb_sys::window()
web_sys
uses a ton of code generation and extern
blocks, not sure if that's related here.