auto goto file/lineno on compile worning/notice/error

Questions and discussion about the ZBasic IDE.
Post Reply
ndudman
Posts: 79
Joined: 25 December 2008, 14:00 PM

auto goto file/lineno on compile worning/notice/error

Post by ndudman »

Hello

Is it possible to control the behaviour after compilation, where the file and lineno of first occuring #notice/#warning/#error occures. To either switch this behaviour off, or say only do it for errors ?

Thanks
Neil
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: auto goto file/lineno on compile worning/notice/error

Post by dkinzer »

ndudman wrote:Is it possible to control the behaviour after compilation, where the file and lineno of first occuring #notice/#warning/#error occures.
Warnings will be ignored if you add the line below to your User Options file (accessible via "Open User Options File" on the Options menu). If you've never opened the User Options file before, it will be empty. The added line can go anywhere in the file.

Code: Select all

next.message.ignore.warnings=1
If, at a later time, you want to revert to the default behavior, either comment out that line (using a # in column 1) or change the value to zero.
- Don Kinzer
ndudman
Posts: 79
Joined: 25 December 2008, 14:00 PM

Post by ndudman »

Thanks for that

I ended up, for the time being putting
  • next.message.ignore.errors=1
    next.message.ignore.notice=1
also as at least for now its annoying when the text editor jumps around, I.e auto going to an error/warning/notice. Id prefer to click myself...

A small thing... dont mean to be fussy... the zbasic IDE and development enviroment is great, Ive done so much in a short time compared to previous efforts using AtMega8 and straight c.

Neil

p.s Where can I find all these things defined or described ? Id like to make the font size of the filename in the tabs a little bigger. I found the tabbar item in global definitions... am I warm ?
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

ndudman wrote:Where can I find all these things defined or described ?
Such things fall into two general categories: those that are endemic to the SciTE editor and those that are specific to the ZBasic IDE. The next.message.ignore.warnings is an example of the latter while fonts, etc. are an example of the former. The items specific to the ZBasic IDE are described in the HTML file obtained by selecting "ZBasic IDE Help" on the Help menu. In that HTML file, near the top, you'll find a link to SciTE configuration information.
ndudman wrote:Id like to make the font size of the filename in the tabs a little bigger.
Offhand, I don't think that this is a configurable item. The tab control is a WC_TABCONTROL to which one can send a WM_SETFONT message so it might be possible to make it configurable.
- Don Kinzer
ndudman
Posts: 79
Joined: 25 December 2008, 14:00 PM

Post by ndudman »

Thanks

Ill look up the docs

Ive just removed the user options... as it seemed in the last few days since I added them that the IDE would freeze/lockup after compilation and as the warnings/errors/notices where being scrolled through automaticly and ignored... pausing on a warning... and locking up...

Ill see if I get the problem any more...

Not a major thing, just giving feed back incase its useful. Im happy with the IDE and development enviroment and not really so fussy.

Neil
Post Reply