Author Topic: Is it possible to redirect output to "Message List"  (Read 1577 times)

jmfrouin

  • Senior Community Member
  • Posts: 103
  • Hero Points: 2
Is it possible to redirect output to "Message List"
« on: November 12, 2018, 12:16:56 PM »
Hi,
I recently add cppcheck in slickedit to check my source code.
Everything works fine and I got this kind of output in "Build" Windows :
Code: [Select]
/usr/bin/cppcheck --enable=all /home/jmfrouin/dev/JTReader/src/main.cxx
Checking /home/jmfrouin/dev/JTReader/src/main.cxx ...
[/home/jmfrouin/dev/JTReader/src/main.cxx:26]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
Is there a way to add /home/jmfrouin/dev/JTReader/src/main.cxx line 26 in "Message List" Windows ? To be able to click on it and directly go to it ?
Thanks,

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: Is it possible to redirect output to "Message List"
« Reply #1 on: November 12, 2018, 02:37:11 PM »
You can add your own error parsing regular expressions. As a test, I added a regex for this to the "default" category and it worked.

Build>Configure Error Parsing

^\[{#0:p}\:{#1:i}\]\: {#3?*$}


jmfrouin

  • Senior Community Member
  • Posts: 103
  • Hero Points: 2
Re: Is it possible to redirect output to "Message List"
« Reply #2 on: November 12, 2018, 02:41:11 PM »
WOW as always Slickedit impress me !!
You really think about everything !
THANKS this works perfect !