disq / highlightwhitespaces Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sublimetext/trailingspaces
Highlight whitespaces in code. Separate colors for tabs and spaces.
License: MIT License
This project forked from sublimetext/trailingspaces
Highlight whitespaces in code. Separate colors for tabs and spaces.
License: MIT License
On one machine I use I get this where the highlighting shows at the start of the line:
On another machine I use I only get highlighting after code and on empty lines (the latter being how I'd like it).
Any ideas what's going on here please?
I noticed #11 but not sure if these are the defaults, or if you need to override them. Also it's weird that it does it one way on one machine, but different on another and afaik they both have the latest build.
After installing HighlightWhitespaces and restarting ST3, I cannot toggle HighlightWhitespaces with Ctrl+Alt+W
Hello,
I use this plugin extensively in ST3.
Earlier, I customized it to show the pink background with white text (- or .) but then I reinstalled the ST3 and lost how was that done.
Any pointer with that?
Thanks.
Hi,
I need to disable when ST3 starts up.
I read this part: Disable highlighting when Sublime Text starts up
I need help.
I need good reply.
Best.
Is it possible to highlight trailing space only? For example:
class Me
def initialize
something
end
end
The spaces between the line start and def
, something
, and end
are highlighted. But I'm only interested in trailing whitespace, or orphaned whitespace (whitespace on a blank line with no code).
Is there a way to do this?
Hi,
Seems that in order to adjust the settings for this plugin, one needs to edit the highlight_whitespaces.sublime-settings
file. Therefore, would be nice to have an entry in the Package Settings menu for this file to make adjusting the settings easier.
Is there a way to toggle off the display of whitespace to start? I only use this to check files at certain times, so I'm always toggling off at launch.
I need to change the highlight color, but don´t understand how you should do. I try two ways.
{
"highlight_whitespaces_space_highlight_scope_name": "#dedede",
"highlight_whitespaces_tab_highlight_scope_name": "#dedede",
"highlight_whitespaces_eol_highlight_scope_name": "#dedede",
"highlight_whitespaces_mixed_highlight_scope_name": "#dedede"
}
{
"highlight_whitespaces_space_highlight_scope_name": "comment",
"highlight_whitespaces_tab_highlight_scope_name": "comment",
"highlight_whitespaces_eol_highlight_scope_name": "comment",
"highlight_whitespaces_mixed_highlight_scope_name": "comment"
}
please help me, thanks
I installed this plugin on Sublime3, I configured to stay off by default and I turned it on with a custom key combination
[
{ "keys": ["ctrl+e"], "command": "hws_toggle_whitespaces" },
]
it worked.
Then, after a while, it stopped working: it just didn't turn on neither with my custom combination, nor with the default alt+ctrl+w
.
I reinstalled Sublime3 (without uninstalling it first) and it started working again, but again it stopped working after a while.
I'm pretty clueless about what's happening, any advice?
(if you want more details, please tell me what you need to know)
I left a comment in a closed issue regarding custom scope. I'd like to see whitespaces as dimly colored against a black or dark background and cannot make that happen.
Here's what I wrote in the already-closed issue:
I've tried using other scopes and also specifying this Whitespaces.tab.highlight/Whitespaces.space.highlight in my color scheme. I use Made of Code, which is a dark scheme with a black (well, almost black: #040509) background.No matter what variation I try, for my tabs and spaces I get either a white background or a background whose color is the foreground color of the scope I specify.
Well, actually that's not true. For the "invalid" scope, I use an off-white on dull-red (fg: #CED2CF, bg: #DF5F5F) and when that was the scope, that's how the tabs/spaces looked.
How do I get tabs and spaces to be a dim color against a black (or #040509) background?
Roger
Not working on Sublime Text 3
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 395, in run_
return self.run()
File "/Users/dan2552/Library/Application Support/Sublime Text 3/Packages/Highlight Whitespaces/highlight_whitespaces.py", line 83, in run
highlight_whitespaces(self.window.active_view())
File "/Users/dan2552/Library/Application Support/Sublime Text 3/Packages/Highlight Whitespaces/highlight_whitespaces.py", line 60, in highlight_whitespaces
sublime.DRAW_EMPTY)
File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 718, in add_regions
raise ValueError("icon must be a string")
Hi,
After some googling I'm still unable to change the foreground/background color of the highlighted whitespace characters.
"If you'd like to use a custom color, it should be defined as a color scope in your theme file. Feel free to ask me how to do it."
I'd really appreciate an example!
Thanks,
Reed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.