• PenisWenisGenius@lemmynsfw.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    5 个月前

    I’m a die hard Microsoft hater. I haven’t had windows installed on a pc in years. With that being said I use visual studio code because it’s kind of the only text editor that does code completion in the capacity that it does. I can take a class name, type a “.” after it and a scroll view opens up shows every accessible member of that class along with comments and information about all the variables. The amount of time this saves is so huge I don’t even know how you would quantify it. Nothing else has code completion that even comes close to being that good.

    Do non visual studio code users just have to memorize every single function, parameter and return type in their code base? Yeah you can always read the documentation, sure you can always dig through the source code to figure it out every time you forget what data type a parameter is but that takes valuable time.

    If they ever put visual studio code behind a paywall or stop making it for Linux, I’m going to be forced to either switch to windows (which I never will under any circumstances) or make a custom made ripoff clone of that entire intellisense code completion system and hack it into whichever open source text editor I deem is the next best thing.

    • CookieOfFortune@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      5 个月前

      Huh? Every IDE has had this feature for decades. Eclipse, all of JetBrains products, even NetBeans. This is like the most basic feature provided by IDEs.

      Also with the development of first party language servers it’s relatively easy for new IDEs to integrate.

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      5 个月前

      Any editor that support LSP has the same (or better) auto complete. All IDEs also have the same (or better) auto complete, don’t even need LSP.

      • PenisWenisGenius@lemmynsfw.com
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        5 个月前

        Well I’m glad I made that comment because now I know there’s ways to do this that aren’t Microsoft related. Looks like I have some text editor experimentation to do.

    • qaz@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      5 个月前

      Code completion isn’t that special. Do you have experience with other IDE’s?

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      5 个月前

      Nothing else has code completion that even comes close to being that good.

      Well, except Visual Studio (for C++), Qt Creator, and every Java IDE in existence.