discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Better visibility for WARNING and ERROR?

S
Scalpel78
Sat, Dec 20, 2014 11:02 AM

Hi,
I keep thinking that whenever a Warning or an Error occurs iti s hard to
notice those in the Console window.

http://forum.openscad.org/file/n10657/Warning.png

Would it be a good idea to either highlight those in color, or use some
other way to attract the attention of the programmer?

http://forum.openscad.org/file/n10657/Colored.png

--
View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, I keep thinking that whenever a Warning or an Error occurs iti s hard to notice those in the Console window. <http://forum.openscad.org/file/n10657/Warning.png> Would it be a good idea to either highlight those in color, or use some other way to attract the attention of the programmer? <http://forum.openscad.org/file/n10657/Colored.png> -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sat, Dec 20, 2014 11:20 AM

Suggested https://github.com/openscad/openscad/issues/855


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10658.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Suggested <https://github.com/openscad/openscad/issues/855> ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10658.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
Bananapeel
Sat, Dec 20, 2014 11:31 AM

It is a bigger problem that errors often disappear and don't reappear until
the cache is flushed.

--
View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10659.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

It is a bigger problem that errors often disappear and don't reappear until the cache is flushed. -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10659.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Sat, Dec 20, 2014 2:50 PM

On Dec 20, 2014, at 06:31 AM, Bananapeel lunatica.xiaoyu@gmail.com wrote:

It is a bigger problem that errors often disappear and don't reappear until
the cache is flushed.

On Dec 20, 2014, at 06:31 AM, Bananapeel <lunatica.xiaoyu@gmail.com> wrote: > It is a bigger problem that errors often disappear and don't reappear until > the cache is flushed. > https://github.com/openscad/openscad/issues/454 -Marius
S
Scalpel78
Sun, Dec 21, 2014 12:46 PM

Torsten fixed it with  this commit
https://github.com/openscad/openscad/pull/1093  . Got to love it!

--
View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10688.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Torsten fixed it with this commit <https://github.com/openscad/openscad/pull/1093> . Got to love it! -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10688.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
Michele
Sun, Dec 28, 2014 8:50 PM

Hmm, I just downloaded the latest PC version, 2014-03,and while it no longer
highlights the entire line the error is on, it's still pure red over black
text which is very hard to read.  A lighter color would make it easier to
see for example if the problem is a } instead of a ].  Perhaps this could be
a choice in Preferences -> Editor?

--
View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10781.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hmm, I just downloaded the latest PC version, 2014-03,and while it no longer highlights the entire line the error is on, it's still pure red over black text which is very hard to read. A lighter color would make it easier to see for example if the problem is a } instead of a ]. Perhaps this could be a choice in Preferences -> Editor? -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10781.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Sun, Dec 28, 2014 8:56 PM

On Dec 28, 2014, at 15:50 PM, Michele denber@mindspring.com wrote:

Hmm, I just downloaded the latest PC version, 2014-03,

You should try the latest development snapshot; 2014.12.25 - it contains a lot of color fixes.

-Marius

On Dec 28, 2014, at 15:50 PM, Michele <denber@mindspring.com> wrote: > Hmm, I just downloaded the latest PC version, 2014-03, You should try the latest development snapshot; 2014.12.25 - it contains a lot of color fixes. -Marius
M
Michele
Sun, Dec 28, 2014 10:03 PM

kintel wrote

You should try the latest development snapshot; 2014.12.25 - it contains a
lot of color fixes.

Wow!  That is very cool indeed.  It looks like Matlab now - neat.  I guess
"snapshot" was the magic word.  It would not have occured to me to look
under that tab otherwise.  I'd say problem solved :-)  Thanks!

--
View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10783.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

kintel wrote > You should try the latest development snapshot; 2014.12.25 - it contains a > lot of color fixes. Wow! That is very cool indeed. It looks like Matlab now - neat. I guess "snapshot" was the magic word. It would not have occured to me to look under that tab otherwise. I'd say problem solved :-) Thanks! -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10783.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Mon, Dec 29, 2014 9:30 PM

Using the 2014.12.25 build I find myself in this situation after previewing
several times:

http://forum.openscad.org/file/n10798/Yellow.png

Seems like it treats everything as warnings.

Note, it worked fine in the beginning. I was moving my .scad files over to a
new folder. Moved the main one, opened it, previewed it, correctly got
yellow lines on the missing dependency-scad files, moved those over,
previewed again, got more correct yellow warnings. Moved more files, until
all problems where fixed. At that point it treated everything in the Console
as warnings.

--
View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10798.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Using the 2014.12.25 build I find myself in this situation after previewing several times: <http://forum.openscad.org/file/n10798/Yellow.png> Seems like it treats everything as warnings. Note, it worked fine in the beginning. I was moving my .scad files over to a new folder. Moved the main one, opened it, previewed it, correctly got yellow lines on the missing dependency-scad files, moved those over, previewed again, got more correct yellow warnings. Moved more files, until all problems where fixed. At that point it treated everything in the Console as warnings. -- View this message in context: http://forum.openscad.org/Better-visibility-for-WARNING-and-ERROR-tp10657p10798.html Sent from the OpenSCAD mailing list archive at Nabble.com.