Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 20:31
    pikachuk edited #735
  • 20:30
    pikachuk opened #735
  • Dec 13 15:04

    danwalmsley on develop

    update to 0.9.0 release (compare)

  • Dec 12 19:50

    danwalmsley on develop

    update shell and avalonia (compare)

  • Dec 11 20:54

    danwalmsley on repro-osx-exception-issue

    repro eception swallow (compare)

  • Dec 04 13:43

    danwalmsley on develop

    update to rc.1 (compare)

  • Dec 03 13:26
    Epacik opened #734
  • Dec 01 10:44

    danwalmsley on develop

    update avalonia (compare)

  • Nov 25 20:02

    danwalmsley on develop

    update to avalonia preview 7 update to avalonia preview 8 (compare)

  • Nov 11 13:41
    Gaojianli commented #704
  • Nov 04 19:50

    danwalmsley on develop

    update avalonia and avalonia.ide (compare)

  • Oct 31 00:39
    scout208 opened #733
  • Oct 25 14:13

    danwalmsley on v0.9.0

    (compare)

  • Oct 25 12:28

    danwalmsley on develop

    fix build (compare)

  • Oct 25 12:14

    danwalmsley on develop

    fix yml syntax (compare)

  • Oct 25 12:07

    danwalmsley on develop

    fix linux build (compare)

  • Oct 25 11:56

    danwalmsley on develop

    update avalonbuild to .net core… (compare)

  • Oct 25 11:34

    danwalmsley on develop

    fix wix installer build (compare)

  • Oct 25 11:06

    danwalmsley on develop

    fix debugger libs (compare)

  • Oct 25 10:28

    danwalmsley on develop

    update osx and linux build imag… (compare)

danwalmsley
@danwalmsley
send screenshot
ah code tooltips
yes they are
there is loads of info that can be shown there
Darnell Williams
@Seeker1437
ah okay in my builds they are not being colored
tested on windows and linux
another nice thing would be if the tooltips also respect the zoom of the editor.
Like they would also be bigger or smaller
danwalmsley
@danwalmsley
@Seeker1437 that was because it was getting too complex to do it
but im sure it should be possible
Darnell Williams
@Seeker1437
YeaYeah I was looking at ti and it would be a bit of work to get it working
Darnell Williams
@Seeker1437

I tried opening the AvalonStudio project in AvalonStudio hehe got this partially while it was loading:

The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
Reached Max INotify Limit, to use AvalonStudio on Unix increase the INotify Limit
often it is set here: '/proc/sys/fs/inotify/max_user_watches'

AH oky this is actually AS telling me what to do on the second line whoops
danwalmsley
@danwalmsley
vscode also has this issue
Nikita Tsukanov
@kekekeks

Add

fs.inotify.max_user_watches = 524288
fs.inotify.max_user_instances = 1638400

to your /etc/sysctl.conf

and run sudo sysctl -p
It's a common problem faced by basically any IDE that even tries to run on Linux
because for some weird reason the default file watching limit is 128 files for the user
Darnell Williams
@Seeker1437
Thanklls :O
Darnell Williams
@Seeker1437
Hmm I seemed to figure out how to crash the IDE on linux:
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unexpected Null))
 ---> System.AggregateException: One or more errors occurred. (Unexpected Null)
 ---> System.InvalidOperationException: Unexpected Null
   at Roslyn.Utilities.Contract.Fail(String message)
   at Microsoft.CodeAnalysis.RecoverableTextAndVersion.RecoverableText.RecoverAsync(CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.CodeAnalysis.Host.RecoverableWeakValueSource`1.GetValueAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.RecoverableTextAndVersion.GetValueAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.DocumentState.FullyParseTreeAsync(ValueSource`1 newTextSource, ProjectId cacheKey, String filePath, ParseOptions options, ValueSource`1 analyzerConfigSetValueSource, HostLanguageServices languageServices, SolutionServices solutionServices, PreservationMode mode, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.CodeAnalysis.DocumentState.GetSyntaxTreeAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildDeclarationCompilationFromScratchAsync(SolutionState solution, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildCompilationInfoFromScratchAsync(SolutionState solution, State state, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetOrBuildCompilationInfoAsync(SolutionState solution, Boolean lockGate, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationSlowAsync(SolutionState solution, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetMetadataReferenceAsync(SolutionState solution, ProjectState fromProject, ProjectReference projectReference, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.FinalizeCompilationAsync(SolutionState solution, Compilation compilation, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.BuildFinalStateFromInProgressStateAsync(SolutionState solution, InProgressState state, Compilation inProgressCompilation, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetOrBuildCompilationInfoAsync(SolutionState solution, Boolean lockGate, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.GetCompilationSlowAsync(SolutionState solution, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Document.GetSemanticModelAsync(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.GetSemanticModelForSpanAsync(Document document, TextSpan span, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Classification.Classifier.GetClassifiedSpansAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken)
   at AvalonStudio.Languages.CSharp.CSharpLanguageService.RunCodeAnalysisAsync(IEnumerable`1 unsavedFiles, Func`1 interruptRequested) in /home/darnell/Documents/GitHub/AvalonStudio/AvalonStudio/AvalonStudio.Languages.CSharp/CSharpLanguageService.cs:line 806
   at AvalonStudio.Extensibility.Editor.CodeEditorViewModel.<>c__DisplayClass49_0.<<DoCodeAnalysisAsync>b__2>d.MoveNext() in /home/darnell/Documents/GitHub/AvalonStudio/AvalonStudio/AvalonStudio.Extensibility.Editor/CodeEditorViewModel.cs:line 264
...
Remainder:
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Repro:

Open AvalonStudio.aln in AvalonStudio, wait for it to say Ready. Attempt to open Program.cs.

Testing on linux
Darnell Williams
@Seeker1437
@danwalmsley also it seems like packages aren't really working (like the packages view doesnt even show so I am unable to install the toolchains)
danwalmsley
@danwalmsley
@Seeker1437 package view doesnt show anything
its schedule to be removed
you dont install toolchains anymore
they get installed automatically
Darnell Williams
@Seeker1437
Oh epic :O
Screenshot from 2019-10-26 09-33-14.png
Is this normal?
Darnell Williams
@Seeker1437
Also where shoild I set my compiler flags and such?
I basically set up clang as the toolchain and I loose all highlighting and additionally I get an error about the toolchain not being found
danwalmsley
@danwalmsley
@Seeker1437 only used the PublishToolchain option
those local ones are for advanced cases
compiler flags and linker flags are under compiler and linker tabs
Darnell Williams
@Seeker1437
epic got it
danwalmsley
@danwalmsley
you have a choice of clang or gcc
Darnell Williams
@Seeker1437
basically I am using it and getting a feel for it so maybe I can help with UX things and ofc features
Man Im super excited to get serious with this again
But actually help this time
Hank G
@HankG
I'm trying to use the latest release deb on Linux Mint running in a VM with software emulated graphics card (that's just as good as it gets right now) and it's performance is really laggy.
is there an equivalent to Electron's --no-gpu or something I should be using to correct that
Nikita Tsukanov
@kekekeks
We are skipping llvmpipe
Use proper accelerated graphics
Or do you mean that you want to switch to sw-rendering?
Hank G
@HankG
VirtualBox doesn't play well with passing through the hardware accelerated graphics to a Linux Guest OS
perhaps compounded by being on a Linux Host
I'm not having a problem with the apps I'm building but they also are nowhere near as big as AvalonStudio
good news is IntelliSense in Rider is so solid at this point I'm mostly needing VS (or AvalonStudio if it wasn't having this problem) for doing live preview as I'm editing