Open MaulingMonkey opened 7 years ago
Some work done to fix this in https://github.com/MaulingMonkey/VisualRust/commit/7b9f314a6db4d54a2afff6942cdb3d758fb5a552#diff-d34d4bfb25c66e3dbd8f55cc2c8e38d5R90
I still want to look at other cases where intellisense triggers to compare them to the C# implementation...
My changes introduced regressions: .
and ::
structural tokens generally shouldn't inhibit intellisense, even though (
and <
should.
Edit: some of this was just from bugs: https://github.com/PistonDevelopers/VisualRust/issues/293
This is a good problem to have ;). I'd like to gather some cases where intellisense should perhaps not trigger, or trigger with less information, partially by comparing against e.g. C#'s intellisense. I'm hopeful many of these can be solved with simple lexer checks. My partial list of differences I've discovered so far follows:
Differences
let f
var f
mut
would still be sane?pub fn f
public static void f
func(
func(
let a = (
var a = (
foo.
foo.
Equivalent
let◄◄◄
var◄◄◄
Work list
# ...
headings..
,::
)# Arguments
sections, and# Panics
or# Failure
sections.