Bug fixes [v0.5.1.3]

Hi everyone,

Luckily, there were couple of issue reports during the last few days (and there still are several ;) ) so I had quite a lot of things to fix:

  • Catch-variables were not properly highlighted in the ref search
  • Worked around the __ completion issue. #213 (Sent bug report to Xamarin anyway)
  • Re-Established a kinda hacky workaround that may enables non-forced code insertion. This option can be enabled in the global D settings.
  • Foreach iterator variables were not handled correctly when looking up references
  • Improved code context resolution.
  • Don’t show completion when typing string suffixes.
  • Corrected parsing if() headers; Variables defined in the header will be found by completion/reference finding now
  • Opt-in’ed mixin analysis to prevent perma-loading of the CPU after launching Mono-D
  • Made replacement of alignment spaces with tabs opt-in. #214
  • Issue with param insight in nested block statements.
  • Corrected completion behaviour in catch() headers
  • Reduced analysis time for ufcs from 10 to 2 seconds for each thread.
  • [Internal] Reorganized completion options: Made them singleton
  • deadlock when typing ( after a foreach token
  • Fixed parameter insight in variable initializers.
  • Instances returned by functions/ctors were not treated correctly in the completion in the completion. (new Object).toString can be completed again.
  • Completion was triggered when typing double/triple dots.
  • Member completion was triggered when no dot was typed but e.g. a space on this.fileName <space>

5 Comments

  • Zhao Puming
    February 27, 2013 - 11:34 am | Permalink

    In Ubuntu with monodevelop-latest (4.0), when I open a .d file, I will get an error (see below), but in XamarinStudio I have no problem.

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.TypeLoadException: Could not load type ‘Mono.TextEditor.Highlighting.ResourceXmlProvider’ from assembly…

    • alex
      February 27, 2013 - 2:32 pm | Permalink

      This is because monodevelop-latest is not supported anymore. There are huge differences (e.g. the ResourceXMLProvider) between the stable and the master (= github) version of MonoDevelop, and I don’t want to rebuild the addin for randomly changing features (like the renaming from ResourceXMLProvider to ResourceStreamProvider) on every release.
      If you’re using Linux, please consider using the stable Xamarin Studio package I’ve linked on the Installation page in this blog.

      • Raga
        February 27, 2013 - 9:41 pm | Permalink

        So hopefully if we wait long enough, the PPA will update to a more recent version where Mono-D should be supported out of the box :) . The only reason I’d want to use the PPA-version is because it easily integrates as an installed app and updates itself but most importantly because for some reason the toolbar is missing in your custom build on Unity (and the search field works once and then it freezes the IDE here >.>).

        But apart from that, nice that you release often, I like new shiny things ;) .

        • alex
          February 27, 2013 - 9:49 pm | Permalink

          Thanks :) , well in the next couple of days a new stable version shall come up – and then I can finally (after ~9 days) catch up with monodevelop-latest .. for a more or less long time span – until they break the entire backward-compatibility chain again.. but yeah, let’s hope that the guys from Xamarin will publish stable versions more and more often..

          • Zhao Puming
            February 28, 2013 - 2:41 am | Permalink

            Thanks for the clarification :-) Then I’ll wait for the stable releases.

            I was using monodevelop-stable because it updates automatically, while XamarinStudio doesn’t support linux officially at this moment.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *


    × 8 = thirty two

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>