• 2 Posts
  • 514 Comments
Joined 1 year ago
cake
Cake day: September 24th, 2023

help-circle



  • 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?



  • 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”.


  • In that case I would recommend using an IDE that supports C well. On Windows Visual Studio will get you far and it is the easiest to set up with wizards to create projects etc.

    Alternatively you could use VSCode but it’s a bit harder to set up.

    1. Install VSCode
    2. Install the clangd extension from the marketplace. It’s better than the official Microsoft C++ one.
    3. Also install the CMake extension.
    4. Create a CMake project by hand (you need CMakelists.txt and main.c). In the CMake make sure you add
    set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
    

    That will give you perfect code intelligence (error squiggles etc).



  • 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).





  • It’s pretty easy to not notice what community you’re in. I’m subscribed to this because I use Linux and am interested in it, but like JokeDeity I am not under the illusion that many people here are that it is really a viable alternative to Windows for anyone but a small minority for whom fixing bugs is a hobby.

    I want my audio to work and my laptop to get more than 2 hours battery life and not hard reboot when it runs out of RAM.

    On that last point my most recent attempt to work around the issue was by massively increasing swap. I am a professional programmer with 30 years experience. I’ve been using Linux for 25 years. Increasing swap space was difficult for me.

    On Windows it’s a slider in a GUI. Just… stop pretending that Linux is on the same level, please.




  • I am a professional programmer and a user of AI.

    With current AI, it’s going to have absolutely no effect on “creativity of new programmers”. I would say it would even help with that since it greatly lowers the barrier to entry for programming. One of the things it is actually quite good at is explaining basic concepts, which can often be hard to google.

    The thing it isn’t good at - yet - is writing complete programs. Especially if they aren’t very common domains like CRUD or parsers. So you still need to know how to program.

    At the moment it’s kind of like you’ve got a friend who has read a ton of stuff but isn’t very clever or reliable. Amazing for finding things, looking things up, doing grunt auto-complete work, etc. But you can’t ask them to write an SPI driver for a radio module or whatever.

    Maybe in future they’ll get to the point where they can reliably do the kinds of complex tasks that most professional programmers do, but I think that will take a while (and probably be close to AGI by that point).