Giter Club home page Giter Club logo

highlightwhitespaces's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

highlightwhitespaces's Issues

Remove start of line tabbing highlighting

On one machine I use I get this where the highlighting shows at the start of the line:
screen shot 2015-08-11 at 22 01 55

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.

Highlight the text

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.

Highlight trailing space only

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?

Add a Package Settings entry to Preferences menu

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.

Way to disable to start?

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.

Change color

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

Toggle only works on first run

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)

Black background for whitespaces?

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

Sublime Text 3

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")

Info request

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

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.