This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using VScode as editor

Hi,
I want to know how to use VScode as a replacement for the keil editor? Is there any way or tutorials?

I have found some ways for STM32 using make files,

But I want to use c++14, and I do want to use keil RL libraries and also I'm not using STM32, Is it possible? how about debugging using j-link?

why Keil does not replace it's old editor with a free modern editor like VScode?

Parents
  • First of all, if you want to use any programming languages, my advice would be to use the Visual Studio Code. It is free and open-source plus it gives an autocompletion. It is the best code editor out there with lots of improvement for Python programming language.

    The core developer team of VSCode is very active and gives us an essential update from time to time. 

    Now, let's move to your question.

    Please add the following code runner in settings.json. It seems to work for me.

    "code-runner.executorMap": {
        "cpp": "cd $dir && g++ -std=c++17 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    },

    I hope it helps.
Reply
  • First of all, if you want to use any programming languages, my advice would be to use the Visual Studio Code. It is free and open-source plus it gives an autocompletion. It is the best code editor out there with lots of improvement for Python programming language.

    The core developer team of VSCode is very active and gives us an essential update from time to time. 

    Now, let's move to your question.

    Please add the following code runner in settings.json. It seems to work for me.

    "code-runner.executorMap": {
        "cpp": "cd $dir && g++ -std=c++17 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    },

    I hope it helps.
Children
No data