M
M
Morgalava2019-05-10 21:33:48
Arduino
Morgalava, 2019-05-10 21:33:48

SublimeText 3, Deviot - how to jump to the line with an error after compilation?

After compiling, I get a text message in the console with the file name and error position.
Is there some way to go to this error on click and highlight this error like the Arduino IDE does?
I installed SublimeLinter. A very muddy thing - you have to include all the libraries used in each project:

"settings": {
    "SublimeLinter.linters.avrgcc.executable": "s:/avr8-gnu-toolchain-win32_x86/bin/avr-gcc.exe",
    "SublimeLinter.linters.avrgcc.extra_cflags": "-std=gnu99",
    "SublimeLinter.linters.avrgcc.extra_cxxflags": "-std=gnu++14",
    "SublimeLinter.linters.avrgcc.extra_flags": "-mmcu=atmega328p -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO_AVR_PRO",
    "SublimeLinter.linters.avrgcc.include_dirs": [
        "${project_path}/RTC",
        "${project_path}/src",
        "s:/electro/Arduino/hardware/arduino/avr/cores/arduino",
        "S:/electro/Arduino/hardware/arduino/avr/variants/eightanaloginputs",
        "C:/Users/User/Documents/Arduino/libraries/Time",
        "C:/Users/User/Documents/Arduino/libraries/OneWire",
        "s:/electro/Arduino/hardware/arduino/avr/libraries/Wire/src",
        "s:/electro/Arduino/hardware/arduino/avr/libraries/SoftwareSerial/src",
        "s:/electro/Arduino/hardware/arduino/avr/libraries/Wire/src/utility"
    ]

Could this be done in a more convenient way? But in general, it is enough to simply jump to the error position after compilation.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question