GithubHelp home page GithubHelp logo

begyourpardon's People

Watchers

 avatar  avatar

begyourpardon's Issues

Don't override Base to implement collapse type display

Currently collapsetypes.jl overrides Base methods to support display of collapsed long nested types. Find a way to do that without overriding.

For example by not calling Base.showerror for tickets but calling method to print error and stacktrace ourself

Implement collapsing long types

The basics are already implemented in src/collapsetypes.jl but need finish (see other ticket) and especially inclusion in module.

Emphasize only variable parts in stacktrace

Currently in the stack trace displayed by shownew in stacktraces.jl the line of the stack trace is displayed like

which in line 118 in file REPL.jl in package REPL

a better Version would only emphasize the line, file and package itself:

which in line 118 in file REPL.jl in package REPL

Implement style based display of error

Since there are different scenarios where different styles on how to display errors are better or worse (e.g. first time user vs. long time user) a style based dispatch on showing errors sound practicable.

The methods for showing error messages and stack traces would take a first style argument that decided how they are printed.

For example a style that would print verbose explanation of the stack trace and another that shows a very condensed stack trace.

There could be a default or fallback style that uses the Base methods to show errors.

The Styles should be only used internally for now, the end user would only use different methods to display the errors in different styles (for now).

Missing line break in showerror output

For some reason the newline is ignored when the line

For more information on this error see 'help(ticker)'

is displayed so that it is printed in the same line as the last stack trace line.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.