Comments (2)
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 as100i32
or100l
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.
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)
- Suggestions dont work HOT 4
- Bring cursor at middle of pair auto complete characters HOT 2
- Feature request HOT 2
- Cannot remove line number and make it can't be edited HOT 1
- Isn't working properly! HOT 7
- wrap_content not working properly HOT 1
- Failed to inflate ColorStateList, leaving it to the framework HOT 6
- Bug in RTL Languages HOT 7
- Indentation for html HOT 1
- The autocomplete and The keyboard HOT 10
- App crash on searching for word containing special characters HOT 1
- How does this library handle large text?🤔 HOT 8
- Implement Pinch to zoom HOT 1
- Nice Project HOT 1
- Keyboard not opening HOT 2
- Feature request HOT 5
- Line numbers bug HOT 7
- CodeViewAdapter.updateCodes() is not available HOT 7
- Issue with AutoIndentation (in the context of Javascript)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeview.