Opened 5 years ago

Last modified 2 years ago

#507 new enhancement

Enable Padre to track logs

Reported by: JoshuaW Owned by:
Priority: major Milestone:
Component: editor Version: 0.45
Keywords: Cc:

Description

We can open a lo file using padre but log files are updated by other aplications running in the backgroung. another issue to address is to make it easy to find importnat info in a log.

Requirments:
Have a mode of automatic update and automatic scroll for a file so that the log file will always display the most relevant info.

Have the ability to define key words and to define actions like color a row or beep or make the representation in the title bar flash (if minimized or not in focus).

Change History (5)

comment:1 Changed 5 years ago by Sewi

Padre now checks for changes of the file on disk in a configurable time.

comment:2 Changed 5 years ago by szabgab

  • Summary changed from Enable PAdre to track logs to Enable Padre to track logs

I think what the OP wanted is basically a "tail -f" command with custom colouring of the lines and making sure we don't run out of memmory as the file grows.

comment:3 Changed 5 years ago by waxhead

Isn't that the job of tail to do this?

Do we really want an editor that provides functionality like this?

I can see the convenience of such a thing, but even some of the more "advanced" text editors simply ask you if you want to update the document when the file has changed.

Maybe this could be considered functionality that is provided by a plugin to add the capability to the bottom of the IDE as a new tab along with the Output and Syntax views?

comment:4 Changed 5 years ago by Sewi

I still think that this is a good idea - better than switching between Padre and a shell window all the time.

Windows doesn't even have tail.

Think about run from Padre/debugger combined with split screen with one source and one log trace window.

comment:5 Changed 2 years ago by azawawi

I agree windows does not have a tail :)

+1 for having this one

Note: See TracTickets for help on using tickets.