birbilisbirbilis

My feedback

  1. 1 vote
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
      birbilisbirbilis shared this idea  · 
    • 1 vote
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        3 comments  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
        birbilisbirbilis commented  · 

        btw, my related suggestion (for toggling breakpoints on all methods via the class name line) that I had mentioned below is here: https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/30948964-toggle-breakpoint-for-class-toggle-breakpoints-fo

        birbilisbirbilis commented  · 

        OOPS, something fishy is happening here on VS2017. At constructor it does allow you to place the breakpoint on the method signature so that when collapsed you can still see it has breakpoint set, but at methods it doesn't, it moves the breakpoint to the starting {

        btw, showing a ghost breakpoint symbol (maybe like a hollow pale-red circle that can show arround a method-signature breakpoint would be nice to signify that a method has some breakpoint in its body (in case it is collapsed). It still isn't alternative for allowing to add on the method signature a breakpoint (you need to know when it is collapsed that it will break immediately upon entry)

        birbilisbirbilis commented  · 

        looks like it is working as you expected in VS2017 - btw, I'm posting a new suggestion on toggling breakpoints for all methods (including property accessors) from the class name line

      • 0 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          1 comment  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
          birbilisbirbilis commented  · 

          actually, an older related suggestion says GDB has similar feature (set breakpoints for all functions). So for non-class files (say VB modules) it would be nice to have too (and also for files that don't have some grouping node at the top the action could be done via some popup menu)

          https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/5075429-enter-breakpoints-on-all-functions

          birbilisbirbilis shared this idea  · 
        • 1 vote
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
            birbilisbirbilis shared this idea  · 
          • 7,559 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              under review  ·  332 comments  ·  Visual Studio IDE » .NET  ·  Flag idea as inappropriate…  ·  Admin →
              birbilisbirbilis commented  · 

              speaking of NativeScript, a C#/XAML to NativeScript (uses TypeScript for the code if I remember well and XML-based declarative UI) converter would be interesting

              birbilisbirbilis commented  · 

              See windows insider announcement about wrong version of os pushed and what to do

              birbilisbirbilis commented  · 

              Microsoft could enhance the desktop bridge to allow publishing Silverlight OOB (out of browser) apps to the desktop Store. Would just pass the OOB-marked (in the manifest) XAP to the tool and it should just work

              Could also allow Hosted Web Apps that use Silverlight at the desktop store via an IE instance running inside the desktop bridge's redirected registry+filesystem

              Would be an extra push for going to win10 clients / store for business

              birbilisbirbilis commented  · 

              XAML Standard 1.0 just announced!

              birbilisbirbilis commented  · 

              Not in a browser process, only in the Electron process, side-by-side with the browser stuff, with two-way communication so that the browser API is exposed to .NET too.

              However they write there that their work on the strongly-typed Typescript-based DOM (W3C) API would be helpful for the work they're doing or planning (no code published yet I guess on that one) on running Mono in the browser via WebAssembly.

              Mostly interesting is that they plan to reuse some code from Moonlight for the Browser API. However, Moonlight was NPAPI-based I think (like Silverlight) and browsers are phasing-off NPAPI plugins in favor of PPAPI etc., so maybe they haven't though of that very well (unless NPAPI has lot of similarity on how it models the browser with PPAPI that is [haven't checked])

              birbilisbirbilis commented  · 

              these parts are interesting though:

              "Xamarin.W3C.dll API bindings that will provide access to the browser APIs, built on top of Xamarin.PepperSharp.dll
              System.Windows.Browser this API surfaces the DOM tree to C# as a strongly typed set of objects. An MIT licensed implementation of this is part of Moonlight that could be refactored.
              For the Xamarin.W3C APIs, we intend to use the TypeScript type definitions to generate a strongly typed .NET API."

              "We hope that the Xamarin.W3C API would be used in the future when we compile .NET code to WebAssembly."

              birbilisbirbilis commented  · 

              Not exactly, Electron is for desktop apps. This is a plugin for it for binding two-ways to .net

              birbilisbirbilis commented  · 

              @Anonee

              > MS should give us clear plan/roadmap for .Net/XAMl, but they don't.

              they do have .NET Standard coming which is very useful, seem to be gradually waking up about the value of more standard / portable XAML with markup extensions etc. like in WPF

              > Microsoft abandon lots of technologies, Foxbase, J++, Windows Mobile, Windows Phone 7/8/8.1, Window RT, Silverlight, BizTalk....

              J++ had issues with Sun's policy on Java (see long time battle with Google on Android for example). I liked the J# concept (.NET managed language - was even Microsoft MVP for it for several years), pity they didn't opensource it. Needed work to keep up with newer .NET releases, although the Dynamic Language Runtime (DLR) could help to reimplement it. Would be useful for people wanting to reuse Java libraries in .NET without porting them to C# or using interfacing technology and two different IDEs (say VS and Eclipse or NetBeans).

              Windows Phone Silverlight layer still exists in Windows Phone 10 and one can keep on using it in their app (with some timing glitches that I've seen in my small game [Amnesia of Who], though they may be caused though by specific hardware, not by the SL layer)

              Windows Mobile was Windows CE (Microsoft's official realtime OS offering), still used along with Windows Embedded. Concepts from it (modularization) have gone into recent Windows I think (there's even a Nano server for example)

              WinRT is the ancestor of UWP concept (and also see Windows on ARM where Win32 emulation is coming to next gen Qualcomm processors)

              Abandoning Silverlight was quite a silly move - Probably they were afraid of another silly EU action that was being prepared at that time against them for trying to kill HTML via XAML (yep, those EU sillies that also forced us to click those "cookie consent" dialogs all the time, especially if we use cookie cleaning [since sites don't remember we consent #LOL])
              They kept Flash in Edge and so does Mozilla now - if only they had kept Silverlight as embedded engine too in Edge (after all it doesn't have the bad record of Flash in security issues).
              Also they still haven't released from what I know Desktop Bridge support for wrapping up Silverlight OOB (out of browser) apps and publishing them to Windows Store, although it should be easy for them to do (could even make the Store accept upload of Silverlight XAPs marked with OOB flag and rewrap them online as Bridge-based apps for the desktop store)

              btw, according to https://en.wikipedia.org/wiki/Microsoft_BizTalk_Server there's a BizTalk Server 2016

              > Bill Gates has an ambitious plan to write whole Windows with C# at the begging of year 2000.

              at some point they were writing UI parts in HTML/JavaScript, but now with UWP they probably write them in XAML (the UWP flavor) and C++ or even C# (note that UWP [at least as used in Windows Store] uses .NET native when you talk to it from C#/VB.net/etc., not the .NET Runtime) and they constantly update the UI via product-as-a-service concept via the store. Or at least most of the UI

              birbilisbirbilis commented  · 

              ...regarding Ammy and NoesisGUI integration see https://github.com/aienabled/noesisgui.ammyintegration

              birbilisbirbilis commented  · 

              Nice news about Noesis, hope they make it free for opensource apps too (please correct me if it is already so)

              btw, have seen they've been working with Ammy dev to support that too - hadn't heard about that one, it's something like SASS for XAML but with {...} style syntax and various goodies - http://www.ammyui.com/ - read some are using it to allow end-users to create skins (without messing with the lower-level XAML details)

              birbilisbirbilis commented  · 

              Next Firefox version also disables all NPAPI plugins except Flash. Yeah, keep Flash with its security exploits, but not Silverlight. After all the Edge team led this silly race

              birbilisbirbilis commented  · 

              btw, the native rendering approach of Xamarin.Forms is like that of Java's AWT which JMF/Swing tried to change (with a nicely designed but having bad [not natively feeling enough] native emulation L&Fs [Look and Feels / themes /skins] that gave it a bad name eventually).

              Another major issue was that you couldn't mix native and non-native (owner drawn in Swing) controls in the Z-order easily (you had to do various hacks with native code). Not sure what Xamarin.Forms does in that area

              Then later on came Eclipse with SWT to bring back the AWT approach. However, I don't see why I would need to do write-once-test-everywhere (and especially test with future platforms that aren't yet released) with the UI when I want to do write-once-run-anywhere (and especially release-once-run-anytime in the future).

              I'd like to control how my app shows and even define my app's visual identity to stand out. That's why there were libraries to do skinning for windows apps etc. It is nice to be able to use a native skin though without having to emulate it and I think that's what Xamarin tried to do with native renderers. One could probably have theme libs where all basic controls are rendered custom and the app and component authors could use just those controls (and define new via composition). Could also have some cross-platform theme(s) where those same controls are rendered via some cross-platform graphics primitives (XAML path etc.). So instead of having control authors provide native renderers for more speed, app authors could choose native (not emulated like Swing tried to do) themes for more speed. Don't know if SWT has such an approach, could be (haven't examined it much)

              birbilisbirbilis commented  · 

              From what I remember Xamarin.Forms doesn't require you to always build native renderers, think they also added a model later on where your control can render via the controls it combines (for composite controls), or draw via XAML-based primitives. Think Petzold had written some article showing that. Don't remember very well though

              As for Moonlight, think there was a beta or better version for Winter Olympics back then that had Silverlight 4 feature parity. A problem with Moonlight back then (according to Miguel that is now at Microsoft after Xamarin acquisition) was if I remember well that Microsoft had licensed them the use of the native codecs that SL included but only for usage within the browser (not for OOB [out-of-browser] style apps that the Windows Silverlight had I guess that meant) and obviously this model (of needing a closed source part and special licensing) didn't go well with opensource spirit. That was one of the good things with Silverlight btw, it came with cross-platform codecs in it (MP4/WMV video, MP3/WMA audio) so you didn't have to worry about what codec-**** the client had installed

              birbilisbirbilis commented  · 

              Btw WPF also had 3D in XAML. It's not impossible to envision 3D scene graphs in XML, see VRML97 format's evolution as X3D for example

              birbilisbirbilis commented  · 

              See VSTU (Visual Studio Tools for Unity), acquired by MS and made free

              birbilisbirbilis supported this idea  · 
            • 1 vote
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                birbilisbirbilis shared this idea  · 
              • 1 vote
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                  birbilisbirbilis shared this idea  · 
                • 2 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                    birbilisbirbilis supported this idea  · 
                    birbilisbirbilis commented  · 

                    I was just going to propose a similar syntax:

                    for (SomeType repeaterVariable

                    in SomeEnumerable

                    where someBooleanExpressionOfRepeaterVariable)

                    doSomethingUsingRepeaterVariable;

                    see
                    https://zoomicon.wordpress.com/2016/05/16/suggestion-add-optional-where-clause-to-foreach-statement-in-c/

                  • 1,660 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      201 comments  ·  Visual Studio IDE » Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                      birbilisbirbilis commented  · 

                      He didn't bother to suggest a Silverlight to HTML5 (many efforts by third parties are in development), but revive the mummy?

                      What is needed is BETTER DESIGNER panes for Visual Studio and more focus on GUI first design, not code first one.

                      Or to let user choose the focus and hide the ugly details

                      Btw at http://zoomicon.com/tranxform you can find older contribution of mine in VB6 to ASP.net conversion. Was used in real big project with 17000 users and combined with ADO Recordset emulation over ADO.net that I haven't yet published

                    • 952 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        17 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        birbilisbirbilis commented  · 

                        it would be nice if C# supported syntax like:

                        public static DependencyProperty Register(static DependencyProperty x, string name, Type propertyType, Type ownerType, FrameworkPropertyMetadata typeMetadata)

                        that is static extension methods for classes, that can be invoked without a class instance (just with the class type), apart from normal extension methods that can be invoked on a class instance.

                        Then for example I could use it in Silverlight to add to its DependencyProperty class some extra WPF syntax that it currently misses, in order to increase code portability. It would wrap Dr.WPF's implementation of value coercion for Silverlight’s DependencyProperty. I have the related code at my Compatibility library (http://Compatibility.codeplex.com) and respective NuGet package (http://nuget.org/packages/Compatibility), but the syntactic sugar is missing to achieve source code portability (via WPF and Silverlight projects that include common files via file links) without changes.

                        Note the "static DependencyProperty" parameter instead of the "this DependencyProperty" one that is used in C# extension methods (or else instead of static maybe they could use other keyword like type or typeof there, but I feel static is more appropriate).

                        Related discussion:

                        http://stackoverflow.com/questions/866921/static-extension-methods

                        http://stackoverflow.com/questions/249222/can-i-add-extension-methods-to-an-existing-static-class

                        Also I see somebody mentions in a comment below "static extension properties" apart from "extension properties". Indeed it is natural that if static extension methods are to be allowed in the future, together with extension properties, then static extension properties should be added too (to extend a type with [attached] static properties)

                      • 1,606 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          14 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                          birbilisbirbilis commented  · 

                          also see https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/2060313-c-support-static-extension-methods-like-f where somebody mentions "static extension properties" apart from "extension properties". Indeed it is natural that if static extension methods are to be allowed in the future, static extension properties should be added too (to extend a type with [attached] static properties)

                          birbilisbirbilis commented  · 

                          static extension methods would be nice to have too

                          birbilisbirbilis commented  · 

                          from Unity's blog "Hopefully one day C# gets extension properties. Should those have existed, we would have been able to keep source-level compatibility and still move the rigidBody code out into its own module." http://blogs.unity3d.com/2014/06/23/unity5-api-changes-automatic-script-updating/

                          I've also come across this need trying to make compatibility API layers eg. for WPF in Silverlight etc.

                          of course security implications have to be taken in mind, but since there are extension methods out there, don't see why extension properties couldn't be implemented too

                        • 0 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            birbilisbirbilis commented  · 

                            It came to me while I was trying to implement Silverlight’s CompositeTransform for WPF:

                            public static readonly DependencyProperty CenterXProperty =
                            DependencyProperty.Register("CenterX", typeof(double), typeof(CompositeTransform),
                            new PropertyMetadata(OnCenterXPropertyChanged));

                            for the Compatibility library I maintain at http://github.com/zoomicon/Compatibility.

                            I have used that library a lot in ClipFlair to maintain a common C# source and XAML between Silverlight and WPF projects (I do code sharing between projects via linked files).

                            birbilisbirbilis shared this idea  · 
                          • 0 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                              birbilisbirbilis commented  · 

                              It is rather unfortunate that C# doesn’t support constants in interfaces, whereas Java does.

                              If IL (intermediate language) that C# usually compiles to (when not using AOT that is like in .NET Native or Xamarin iOS) doesn’t support this, then the compiler could create a special sealed class to carry the constants.

                              Then, wherever they’re used via the interface it could get them via that class. This would happen internally without the programmer noticing. The programmer should be able to access the constants using:

                              ISomeInterface.SomeConstant

                              SomeClass.SomeConstant, where SomeClass implements ISomeInterface

                              just SomeConstant when the code is inside the body of SomeClass that implements the ISomeInterface

                              just SomeConstant when there is a “using static” statement (that newer C# has introduced) like “using static ISomeInteface” or “using static ISomeClass”

                              see a screenshot at the above URL, like in Java I'd like to use an interface instead of a separate static class to provide constants related to the interface

                              birbilisbirbilis shared this idea  · 
                            • 0 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                birbilisbirbilis commented  · 

                                It would be nice if one could write in C# (and maybe in other .NET languages too):

                                s = s.SomeMethodOfS(…)…

                                as

                                s .= SomeMethodOfS(…)…

                                that is to have a .= operator, similar to += and other shorthand experession operators

                                see screenshot for an example usecase from the opensource project FoscamController at the URL mentioned above


                                Ideally, usage of such operators should lead to compiling – whether is is via JIT (Just in Time) or AOT (Ahead of Time) compilation – into more optimized native code, but I’m not sure if C# compilers are exploting that optimization opportunity.

                                birbilisbirbilis shared this idea  · 
                              • 1 vote
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  3 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                  birbilisbirbilis commented  · 

                                  thanks for the pointer Bertrand, having worked with Object Pascal / Delphi for many years too I like its cleaner syntax on this one

                                  birbilisbirbilis commented  · 

                                  In the screenshot that you can see at the end of
                                  https://zoomicon.wordpress.com/2015/09/05/suggestion-allow-local-nested-methods-inside-any-code-block/
                                  I'd like the methos InitSpeechRecognition to only be callable from inside the method LoadSpeechRecognitionPlugin. I use two methods there to split a bigger method, but I don't want the 2nd one to be accidentally called from elsewhere in my code.

                                  birbilisbirbilis shared this idea  · 
                                • 132 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    birbilisbirbilis commented  · 

                                    and maybe also add a designer (or at least preview) pane as one would have for other document/UI markup languages (say HTML, XAML)

                                  • 3 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                      birbilisbirbilis commented  · 

                                      (also published at https://zoomicon.wordpress.com/2015/09/01/suggestion-define-scoped-variable-at-c-switch-conditional-statement/ formatted a bit better there in case you don't see the point check the bold text at that post)

                                      birbilisbirbilis shared this idea  · 
                                    • 1 vote
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                        birbilisbirbilis shared this idea  · 
                                      • 0 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                          birbilisbirbilis shared this idea  · 
                                        • 113 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            6 comments  ·  Visual Studio IDE » .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                            birbilisbirbilis commented  · 

                                            MSHTML isn't going away. Desktop apps need to keep on working, can't break them with Spartan. The limited WebView control could use the Edge engine of Spartan and made available apart from WinRT to desktop apps too. Most however desktop apps I think will prefer the classic control

                                          ← Previous 1

                                          Feedback and Knowledge Base