Avalonia: Autocomplete doesn't work in Visual Studio

Created on 24 Sep 2018  路  13Comments  路  Source: AvaloniaUI/Avalonia

bug designer

All 13 comments

Microsoft Visual Studio Enterprise 2017
Version 15.8.5
VisualStudio.15.Release/15.8.5+28010.2036

Microsoft .NET Framework Version: 4.7.03056

AvaloniaPackage Extension version: 1.0

Did you build your project first?

Yes
"Restart" and "Reload solution info" don't fix anything

Hmmm, perhaps @kekekeks might have an idea

Also the XAML editor from AvaloniaUI projects has this tab, but UWP and WPF editor don't
image
Does VS recognize Avalonia XAML as XML?

I have same issue. MS VS Community 2017 15.8.7.
I have installed Avalonia for Visual Studio.

Same issue on VS Community 2017 and avalonia for vs 0.7

same issue here i think it has started week or 2 ago, may be when 0.7 was released

I have been playing with Avalonia UI in VS 15.9.4. The completion is rather painful compared to the WPF one at least. Some examples:

  • If you use Space to complete a tag name it doesn't insert the space.
  • If you use Space to complete a property name the carot ends up after the last double quote.
  • If you use = to complete a property: it doesn't complete the name it just has whatever you have typed so far; it doesn't close the completion window and the only suggestions is the property name you just selected.
  • If you type / to complete a self-closing tag it doesn't insert />.

Hello. I'm having this problem in new machines, but my computer from home has auto-complete working fine. Is there any way I can help?

Hi @lock9 I'm currently working on improving the intellisense completion in a new version of the designer. I'll let you know when I have something you can try out!

Intellisense should now be greatly improved with more improvements coming. Closing this: if there are any more problems please file them in our VS extension repo: https://github.com/AvaloniaUI/AvaloniaVS

Was this page helpful?
1 / 5 - 1 ratings

Related issues

stdcall picture stdcall  路  4Comments

Suriman picture Suriman  路  3Comments

akunchev picture akunchev  路  3Comments

TheColonel2688 picture TheColonel2688  路  3Comments

kekekeks picture kekekeks  路  4Comments