Page 1 of 1
auto goto file/lineno on compile worning/notice/error
Posted: 13 January 2009, 2:02 AM
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
Re: auto goto file/lineno on compile worning/notice/error
Posted: 13 January 2009, 8:55 AM
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.
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.
Posted: 16 January 2009, 10:17 AM
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 ?
Posted: 16 January 2009, 10:59 AM
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.
Posted: 16 January 2009, 11:59 AM
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