Comments (8)
You can just run the following command from the command palette: Color Helper: Override View's Scanning
. I'm not sure if I documented it though....
from colorhelper.
For clarity, the above command will temporarily enable basic previews and such in a text file. Personally, I would not just enable generic scanning in all text files. I like to enable it only when I need it.
from colorhelper.
I'm not specifically sure what the request is asking, but I don't think we'll encourage people to generically enable previews everywhere. With that said, I will double-check the documentation and see if we specifically talk about view overrides, and if not, or if it doesn't appear clear, I will update the docs accordingly.
from colorhelper.
Well, not all users are in html/xml/css things.
I just want a convenience way to pickup/choose colors in some setting files, and there was like no quick tooltips to do that on the home page. Like quickly enable it, use it, done, disable it :D
Anyway, thank you for your great project! When it's enable the right way, it's really help me to do the job faster and easier.
from colorhelper.
Well, not all users are in html/xml/cssthings.
I understand this, my point is more that enabling everywhere can potentially cause false positives and noise where color previews are not desired. I work in other things than HTML/XML/CSS as well, but I don't like color previews popping up everywhere, but if I do want them, I like that I can bring them up on demand.
I just want a convenience way to pickup/choose colors in some setting files, and there was like no quick tooltips to do that on the home page. Like quickly enable it, use it, done, disable it :D
Everybody is different, and I'm not trying to discourage you from doing what you want, but just mentioning that is probably not the recommendation path I want to send people down by default. You may like having them enabled everywhere now, but find that it can get annoying in the future, or maybe you'll always like it, but I think in the docs, we will recommend a more conservative approach.
from colorhelper.
Agreed!! I understand your point.
The thing is as a new user I dont know what I can do and can not do with your package.
I have to read through the document: https://facelessuser.github.io/ColorHelper/usage/
Even then, there was no mention about command palette to enable color helper in some random files Color Helper: Override View's Scanning
Hence this topic was created to help some random guys save some time facing the same issue.
Cheers!
from colorhelper.
Hi.
Is there any way to turn on Override View's Scanning
for all files by default in config?
Thx
from colorhelper.
Override View's Scanning
is view specific command that overrides a view on demand, so it cannot be applied globally.
Currently, there is no global way to force all views to show color previews except what is suggested in the OP. When doing what is done in the opening post, you don't get too much language-specific control, so it'll just show previews everywhere that are not found in strings or comments, but you can remove that requirement, or come up with a better generic rule if desired as well.
If there is a file type I prefer to have colors in all (or most of) the time, I simply add a new rule for that file type. If you truly want colors in all files, regardless of the language, then enabling scanning in generic via override is what you want. Then you can disable via Override View's Scanning
only when you want.
from colorhelper.
Related Issues (20)
- ValueError: A plugin with the name of 'hsluv' already exists or is not allowed HOT 3
- Not replacing colors in Sublime color scheme files, but works in CSS HOT 3
- Sliders in picker no longer available HOT 2
- Version 6.0.0 fails to show previews/swatches HOT 11
- For fun, maybe expose the spline interpolation methods
- Picker fails to "select" colours in okhsl and okhsv spaces HOT 3
- Tools such as Edit and Mix are broken HOT 6
- Restrict version in package_control_channel. HOT 6
- hint not working HOT 7
- ColorHelper fails if no syntax is assigned to output panels. HOT 1
- CSS Indentions HOT 4
- Support Relative Color Syntax HOT 1
- Issue with HTML in JS syntax HOT 3
- Speed up first render for color previews HOT 9
- AttributeError when running `color_helper_preview` command HOT 3
- Messed up origin/end hotkeys HOT 4
- Very long lines bring ColorHelper (and Sublime) to a halt HOT 6
- Add support for colors in quotes, like in .sublime-color-theme files HOT 2
- Very dark colors exception on Sliders tool HOT 4
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 colorhelper.