I am fairly new to programming and for my cs class i need to run individual programs. they don’t need to interact with anything else, so i am trying to just run the file I’m currently on but Kate just greys out the option. I really want to avoid using projects if i can because they’re just extra effort for no reason when I only need to run a single file. I did try using one, but Kate doesn’t have a new project button for some reason and i had some trouble with Cmake.

I’m aware that these are actually pretty basic things, but I can’t find anything online that actually explains how to use Kate at all. I would try using something else, but every IDE seems to have this same issue where by default it can’t run code and it has no documentation of any kind regarding actually running code, so i’ll just stick with the one that came with my distro.

also as a bonus question, why does every IDE seem to require you to configure every single option before it can run code and why do they all seem to discourage doing anything less than making an entire app?

  • moonpiedumplings@programming.dev
    link
    fedilink
    arrow-up
    18
    ·
    19 days ago

    also as a bonus question, why does every IDE seem to require you to configure every single option before it can run code

    What IDE’s have you tried?

    Kate (and vscode) aren’t really IDE’s, they’re more like extremely extensible text editors. You can make them IDE’s, but they dob’t come like that out of the box.

    On the other hands, actual IDE’s often have the inbuilt capability to install and manage the programming language related software.

    • unknown1234_5@kbin.earthOP
      link
      fedilink
      arrow-up
      3
      ·
      19 days ago

      I’ve tried Kate, vscode, some python one on windows (idk which one it was years ago), kdevelop, and I think a couple others but I forgot which ones.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      10
      ·
      19 days ago

      VSCode is absolutely an IDE. It is full of IDE features. The idea that it isn’t an IDE is one of those weird memes that won’t die, like people saying “an historic occasion”.

      • moonpiedumplings@programming.dev
        link
        fedilink
        arrow-up
        14
        ·
        19 days ago

        Vscode is an IDE, but only after I spent 15 minutes finding and selecting the appropriate java extensions and ensuring that my Linux system had Java installed.

        But what was a 15 minute process to me, could easily be a 2 hour struggle to someone who is setting up a development environment for the first time and “just wants autocomplete and debugging”.

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          3
          arrow-down
          2
          ·
          19 days ago

          Yes in some ways it is not a beginner friendly IDE. I would also point to launch.json as being a right arse.

          Still an IDE though.

      • tyler@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        18 days ago

        Vscode is a text editor, sorry…“code editor”. Like you so graciously called out in a later comment, MS even clarified that it’s not an IDE. If VSCode is an IDE then so is VIM or Sublime Text or Notepad++, which of course is nonsense. IDE doesn’t just mean integrated development environment, it means it was meant to be used that way. Just because I turned my lawnmower into something that looks like an F1 race car doesn’t mean it’s an F1 race car.

        You’re clearly aware of all of the arguments why VS code isn’t an IDE so it’s pointless to have this argument, but you seem to think that just because something looks like an IDE means it is, which is just categorically false.

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          18 days ago

          MS even clarified that it’s not an IDE

          Microsoft doesn’t get to define what an IDE is. Also… I actually reread what they said and the implicitly say it is an IDE (and a “code editor” which is a fairly meaningless term):

          Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.

          “to fuller featured IDEs”, not “to IDEs”.

          • tyler@programming.dev
            link
            fedilink
            arrow-up
            2
            arrow-down
            2
            ·
            18 days ago

            They didn’t have that originally, they added it because of people like you that are arguing that it’s an IDE when it clearly isn’t.

            Code editor makes perfect sense. It’s a text editor with code highlighting, fast search, and an understanding of different languages, oftentimes with command windows to make working with text easier. Clearly distinct from something like notepad, that only has the ability to edit text and nothing else.

            • FizzyOrange@programming.dev
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              18 days ago

              They didn’t have that originally

              They added it within 4 months of launch.

              they added it because of people like you that are arguing that it’s an IDE when it clearly isn’t.

              They added text saying it is an IDE because they didn’t want people to think it is an IDE? I think you’ve misunderstood.

              It’s a text editor with code highlighting, fast search, and an understanding of different languages…

              And integrated debugging, testing, refactoring, … Why exactly do you think it is not an IDE?

              • tyler@programming.dev
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                17 days ago

                They didn’t add text saying it’s an IDE. It clearly says it’s a code editor. They add a snippet about comparing it to actual IDEs to placate people like you, and no it wasn’t within 4 months of launch, it was years.

                lol it doesn’t have testing or debugging by default! You literally have to install extensions to do those things! It has panels where those things go, but they don’t do anything without an extension. Try running a js test from the gutter on a clean install. You literally can’t.

                • FizzyOrange@programming.dev
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  2
                  ·
                  17 days ago

                  They’re saying it’s a code editor and an IDE.

                  lol it doesn’t have testing or debugging by default!

                  So the fact that they’ve designed it with an extensible architecture somehow makes it not an IDE? That doesn’t make any sense at all.

                  I guess Eclipse isn’t an IDE either then?

        • tyler@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          18 days ago

          I would say that for something to be an IDE it has to be meant to be an IDE. Clearly Microsoft didn’t intend for it to be an IDE or they would have called it that. Just because you can build something that looks and performs like an F1 race car in your garage out of an old lawnmower or ford Taurus or whatever doesn’t make it an F1 car. Unless it’s racing at Monaco in an F1 race, it ain’t an F1 car. Same thing with VS Code. It’s a code editor, like Sublime or vim.

        • RustySharp@programming.dev
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          19 days ago

          Honestly interested what makes something not an IDE but can be one? The fact that it requires plugins to turn it into an IDE?

          Does that mean Eclipse is not an IDE either, since it requires either JDT or CDT to be anywhere near useful?

            • FizzyOrange@programming.dev
              link
              fedilink
              arrow-up
              2
              arrow-down
              2
              ·
              19 days ago

              There isn’t a hard line. IDE means Integrated Development Environment. It just means that tools that - in the stone ages - were used separately are integrated into your editor. Common tools that IDEs integrate that would be separate tools with a text editor like Notepad:

              • Debuggers
              • Code intelligence (auto-complete, refactoring, go-to-definition, find-references, etc.)
              • Compile/run/debug shortcuts
              • Test running and displaying results
              • Version control

              VSCode has all of those. The fact that it implements them in a pluggable way doesn’t mean it doesn’t.

              Even though “is it an IDE” is a blurry line, VSCode is very clearly far across that line.

              The only reasons people say it isn’t are a) as a put-down - it’s not a real IDE like <my favourite alternative> - or b) because Microsoft put some nonsense about it not being an IDE on their website in order to try and explain why they make two IDEs (VSCode and VS).

          • towerful@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            19 days ago

            To me, something like visual studio is an ide.
            Out of the box it can run and debug c# programs. I can step through line by line, I can add breakpoints, I can watch variables.
            It is a great experience for developing c#.

            To get vscode to do that requires a lot of configuration.
            Sometimes all that config is done by only 1 plugin.
            The fact that there are really well made plugins for so many different languages and frameworks is vscodes power. I don’t just get a js/ts/node/deno ide, but it can be super tailored to Vue/react/svelte/quasar/nuxt/next/whatever.
            All while in a familiar editor, and without having to install another program.

            That’s what I mean by vscode not being an IDE.
            Vscode has the ability to be an IDE, but it’s 3rd parties that actually do the work to achieve this.