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

Support "Application" Intellisense/Autocomplete #39

Open
vindicatorr opened this issue Apr 21, 2021 · 0 comments
Open

Support "Application" Intellisense/Autocomplete #39

vindicatorr opened this issue Apr 21, 2021 · 0 comments

Comments

@vindicatorr
Copy link

I was just starting out with Avalonia and while there is intellisense, it just seems to be for controls, and nothing relating to Application.

Take the default template (App.axaml) for example:

<Application xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             x:Class="app.App">
    <Application.Styles>
        <FluentTheme Mode="Light" />
    </Application.Styles>
</Application>

If I CTRL+SPACE in there (or even in the MainWindow.axaml), I get nothing but strings found in the list (eg. "blend").
If I type '<', then CTRL+SPACE, I get a full list for Avalonia controls, from AccessText to WrapPanel.
But there's nothing relating to "Application".

Two things that I think "could" relate to adding this feature "may" be found in:
~/.nuget/packages/avalonia/0.10.0/lib/netcoreapp2.0/Avalonia.Styling.xml
~/.nuget/packages/avalonia/0.10.0/lib/netcoreapp2.0/Avalonia.Themes.Fluent.xml

I don't know how your "test" xs for Avalonia is generated, but I saw "Avalonia.Controls.xml" in the nuget directory as well, making me think it was selectively picked, making me also think those others could be added as well.

While I'm here, looking at https://avaloniaui.net/docs/advanced-tutorial/create-a-modern-window where it talks of "TransparencyLevelHint" (which is part of intellisense), I see "AcrylicBlur" doesn't come up as an intellisense option (nothing does for quoted stuff in general).
That is something found in ~/.nuget/packages/avalonia/0.10.0/lib/netstandard2.0/Avalonia.Controls.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant