GithubHelp home page GithubHelp logo

Comments (2)

AmrDeveloper avatar AmrDeveloper commented on July 17, 2024

Hello @Chandra-Sekhar-Bala,

Thanks for your suggestion, but there are some reasons that I didn't add patterns by default for example

  • What pattern should be included by default?
    If we add patterns for numbers by default for example [0-9]{1,} this pattern will convert regular integers but in most languages, integer tokens are not just digits you may include the type formal such as 100i32 or 100l so if you want to config CodeView for java, for example, should remove our default pattern then add a new one, or add a new one with the same color of default one

  • What color (theme) will we use for the default patterns?
    Everyone has his own theme depending on his UI colors, what color should we use? and the user will again try to remove old patterns and then add new patterns with the color he wants

The easy solution If you want to have a predefined pattern you can create a default config in your app that declares them, and then you can add/remove extra patterns, also in the sample app you can find many different patterns and can easily inspire from them

from codeview.

Chandra-Sekhar-Bala avatar Chandra-Sekhar-Bala commented on July 17, 2024

You are right, there will be many issues giving so many things out of the box. Also if a developer gonna use this, we might assume that he/she is able to do this much setup work for themselves. Thanks :)

from codeview.

Related Issues (20)

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.