Comments (4)
Thanks, I am not on windows. I get the same vscode values on about screen except for OS and same extension version. It is working in my setup. Did this recently stop working? Do you have any other extensions that may be conflicting?
from highlight-words.
Hello rsbondi,
Thanks for your reply. I can understand the difference in OS. For me, rsbondi.highlight-words is the best extension for highlight.
On my computer, "highlightwords.defaultMode" has not worked normally in the setting.json of vscode, but the other configuration options of "highlightwords.colors", "highlightwords.box", and "highlightwords.showSidebar" are all normal work.
For the problem of extensions conflicts, I made an attempt, deleted all the extensions of vscode, and only installed rsbondi.highlight-words, this configuration "highlightwords.defaultMode": {
"default": 1
}, still failed to take effect. So I think this problem is not a extensions conflict.
It is worth mentioning that although the "highlightwords.defaultMode" cannot take effect in the setting.json configuration of vscode, you can use the shortcut key Ctrl + Shift + P to set Set Highlight Mode = Whole Word, which works normally and meets expectations . The configuration of my rsbondi.highlight-words in setting.json is as follows:
"highlightwords.colors": [
{ "light": "#b3d9ff", "dark": "yellow" },
{ "light": "#b3d9ff", "dark": "cyan" },
{ "light": "#e6ffb3", "dark": "pink" },
{ "light": "#b3b3ff", "dark": "lightgreen" },
{ "light": "#ffd9b3", "dark": "magenta" },
{ "light": "#ffb3ff", "dark": "cornflowerblue" },
{ "light": "#b3ffb3", "dark": "orange" },
{ "light": "#ffff80", "dark": "green" },
{ "light": "#d1e0e0", "dark": "red" }
],
"highlightwords.box": {
"light": false,
"dark": false
},
"highlightwords.showSidebar": {
"default": true
},
"highlightwords.defaultMode": {
"default": 1
},
from highlight-words.
it should be"highlightwords.defaultMode": 1
, what is shown there is the contribution, the default
is the default value, or what is used if nothing is set, but the setting file does not include it, it is probably confusing in the documentation.
from highlight-words.
Using the configuration of ""highlightwords.defaultMode": 1", it works good on on both the windows platform and the linux platform. As you said, my understanding of the document is incorrect. Thank you very much for your support and help. I will close this issue. Thanks.
from highlight-words.
Related Issues (20)
- Random color HOT 1
- Select color when highlighting HOT 1
- defaultMode setting is ignored HOT 3
- Allow configuring the text colour when using a dark theme with box.dark: false HOT 1
- count how many occurrences HOT 4
- Could you please add a function that can auto detect a word is highlighting or not ! HOT 4
- Highlight on select HOT 3
- one issue on partial highlight HOT 2
- Continuous highlighting HOT 1
- is there a option to math the whole word but a part of word? HOT 1
- setting foreground color HOT 4
- Running the contributed command: 'highlightwords.addHighlight' failed. HOT 5
- How to highlight Russian words?
- Problem configuring colors? HOT 1
- [RFE] Make dark.color, borderWidth and borderStyle configurable
- regex highligt issue
- Error message when using shortcut keys with highlight-words extension
- Highlight whole word by default? HOT 3
- Add a toggle highlight to match vim plugin?
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 highlight-words.