Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 17 18:01
    jcbritobr opened #761
  • Nov 16 20:43
    tingspain commented #743
  • Nov 11 12:52
    tousei-seiso opened #760
  • Nov 08 23:20
    jcbritobr commented #758
  • Nov 07 05:36
    jcbritobr commented #748
  • Oct 25 10:23
    qrai opened #759
  • Oct 11 16:21
    FlaviusHouk commented #758
  • Oct 11 16:11
    Jedi-Mind-Tricks commented #758
  • Oct 11 16:11
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:58
    FlaviusHouk commented #758
  • Oct 11 15:40
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:40
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:38
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:38
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:36
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:31
    FlaviusHouk commented #758
  • Oct 11 15:15
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:11
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:11
    Jedi-Mind-Tricks commented #758
  • Oct 11 15:09
    Jedi-Mind-Tricks edited #758
Darnell Williams
@Seeker1437
epic :O
Darnell Williams
@Seeker1437
for the popups are those supposed to be colored?
Dan Walmsley
@danwalmsley
which ones?
Darnell Williams
@Seeker1437
the intellisense ones
like if you over over a class and it shows the fully qualified namespace and such
Dan Walmsley
@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
Dan Walmsley
@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
Dan Walmsley
@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)
Dan Walmsley
@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
Dan Walmsley
@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
Dan Walmsley
@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